Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003926/0.003926, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8964/0.8964, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2821/0.2821, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.166e-05, allocations: 6.219 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.189/0.189, allocations: 1.99 MB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1902, allocations: 1.091 MB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.1903, allocations: 6.938 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1906, allocations: 271.9 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1909, allocations: 271.2 kB / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.1916, allocations: 0.6455 MB / 447.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.1918, allocations: 367.5 kB / 448.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.192, allocations: 50.92 kB / 448.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1921, allocations: 178.3 kB / 448.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1922, allocations: 214.5 kB / 448.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1923, allocations: 11.34 kB / 448.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.1923, allocations: 76.44 kB / 448.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.1924, allocations: 100.1 kB / 448.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.1925, allocations: 58.45 kB / 448.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1927, allocations: 324.8 kB / 449.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1927, allocations: 4 kB / 449.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1927, allocations: 0 / 449.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1927, allocations: 0 / 449.1 MB, free: 42.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004358/0.1932, allocations: 0.5878 MB / 449.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1932, allocations: 8.562 kB / 449.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.1932, allocations: 44.47 kB / 449.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1934, allocations: 282.9 kB / 450 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1934, allocations: 10.06 kB / 450 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1935, allocations: 10.69 kB / 450 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1936, allocations: 126.6 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1936, allocations: 0.6875 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1937, allocations: 6.25 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1937, allocations: 2.781 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1938, allocations: 97.67 kB / 450.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1941, allocations: 423.3 kB / 450.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1942, allocations: 111.8 kB / 450.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.1943, allocations: 36.11 kB / 450.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1943, allocations: 2.688 kB / 450.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.1943, allocations: 33.28 kB / 450.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.81e-07/0.1943, allocations: 0 / 450.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005711/0.1949, allocations: 463.2 kB / 451.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.1949, allocations: 55.34 kB / 451.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.1952, allocations: 0.5708 MB / 451.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.1952, allocations: 32.55 kB / 451.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.1953, allocations: 209.7 kB / 452.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1953, allocations: 60.61 kB / 452.2 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.1954, allocations: 35.31 kB / 452.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.1954, allocations: 351.5 kB / 452.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.1955, allocations: 67.17 kB / 452.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.1956, allocations: 69.41 kB / 452.7 MB, free: 39.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1957, allocations: 159.5 kB / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1957, allocations: 0 / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001933/0.1959, allocations: 231.6 kB / 453.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1959, allocations: 12.7 kB / 453.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1959, allocations: 1.75 kB / 453.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1959, allocations: 2.375 kB / 453.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.196, allocations: 33.39 kB / 453.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.196, allocations: 0 / 453.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.196, allocations: 13.17 kB / 453.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.196, allocations: 2.969 kB / 453.2 MB, free: 39.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/0.1961, allocations: 183.4 kB / 453.3 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1962, allocations: 42.66 kB / 453.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1964, allocations: 284.1 kB / 453.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1964, allocations: 10.11 kB / 453.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1964, allocations: 0 / 453.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1964, allocations: 0 / 453.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.1968, allocations: 0.5894 MB / 454.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1968, allocations: 2.656 kB / 454.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1969, allocations: 34.95 kB / 454.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1969, allocations: 2.688 kB / 454.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1969, allocations: 6.234 kB / 454.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1969, allocations: 2.812 kB / 454.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1969, allocations: 0 / 454.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.1971, allocations: 344.9 kB / 454.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.1971, allocations: 32.61 kB / 454.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1971, allocations: 4 kB / 454.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.1972, allocations: 6.312 kB / 454.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1972, allocations: 12.81 kB / 454.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1972, allocations: 13.28 kB / 454.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.1974, allocations: 424.6 kB / 455.1 MB, free: 38.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1974, allocations: 0 / 455.1 MB, free: 38.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.1976, allocations: 48.47 kB / 455.2 MB, free: 38.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.1988, allocations: 0.7569 MB / 455.9 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.199, allocations: 162 kB / 456.1 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.199, allocations: 0 / 456.1 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.199, allocations: 84.84 kB / 456.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1994, allocations: 79.36 kB / 456.2 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.2002, allocations: 0.7526 MB / 457 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2003, allocations: 215.3 kB / 457.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.2003, allocations: 36.2 kB / 457.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2003, allocations: 4 kB / 457.2 MB, free: 37.6 MB / 410.7 MB Notification: Performance of Templates: time 0.004274/0.2046, allocations: 4.956 MB / 462.2 MB, free: 36.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.164575112052262]