Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007945/0.0007945, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003054/0.003054, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8605/0.8605, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 34.25 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.946e-05, allocations: 5.094 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.1734/0.1734, allocations: 1.588 MB / 445 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1745, allocations: 1.244 MB / 446.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.1745, allocations: 2.844 kB / 446.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1747, allocations: 21.83 kB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1749, allocations: 87.92 kB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.175, allocations: 91.7 kB / 446.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1752, allocations: 81.59 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.1752, allocations: 5.562 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.1753, allocations: 34.48 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1754, allocations: 28.64 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1754, allocations: 3.094 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.1755, allocations: 89 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.1755, allocations: 13.75 kB / 446.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.1756, allocations: 12.69 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1757, allocations: 144.3 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1757, allocations: 3.812 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1757, allocations: 0 / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1757, allocations: 2.031 kB / 446.9 MB, free: 42.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003085/0.176, allocations: 331.4 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1761, allocations: 8.406 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.1761, allocations: 7.734 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1762, allocations: 133.1 kB / 447.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1762, allocations: 7.719 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1762, allocations: 4.375 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1763, allocations: 90.73 kB / 447.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1763, allocations: 4.141 kB / 447.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.1763, allocations: 3.938 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1764, allocations: 3.125 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.1764, allocations: 25.88 kB / 447.5 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1766, allocations: 216 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1767, allocations: 46.2 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.1767, allocations: 14.89 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1768, allocations: 6.281 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.1768, allocations: 33.38 kB / 447.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1768, allocations: 3.469 kB / 447.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003316/0.1771, allocations: 146.4 kB / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1771, allocations: 77.11 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.1772, allocations: 144.7 kB / 448.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.1772, allocations: 28.17 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.1773, allocations: 94.72 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.1773, allocations: 22.92 kB / 448.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.1773, allocations: 22.16 kB / 448.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.345e-05/0.1773, allocations: 316.8 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.1773, allocations: 21.38 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.1774, allocations: 56.97 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.1774, allocations: 53.31 kB / 448.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1774, allocations: 0 / 448.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.982e-05/0.1775, allocations: 82.31 kB / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1775, allocations: 5.125 kB / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1775, allocations: 0 / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.1775, allocations: 2.5 kB / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.253e-05/0.1776, allocations: 15.06 kB / 448.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.1776, allocations: 4 kB / 448.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1776, allocations: 12.83 kB / 448.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1776, allocations: 0 / 448.9 MB, free: 41.09 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 (5): * Single equations (assignments): 5 * 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 3.619e-05/0.1776, allocations: 115.2 kB / 449 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.1777, allocations: 10.52 kB / 449 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1778, allocations: 93.78 kB / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1778, allocations: 0 / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1778, allocations: 0 / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1778, allocations: 3.234 kB / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.178, allocations: 306.1 kB / 449.4 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.178, allocations: 0 / 449.4 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.178, allocations: 15.27 kB / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.178, allocations: 0 / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.178, allocations: 2.531 kB / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.178, allocations: 0 / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.178, allocations: 3.469 kB / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.681e-05/0.1781, allocations: 184.1 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.1781, allocations: 7.953 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1781, allocations: 2.969 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.483e-05/0.1781, allocations: 6.141 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.1781, allocations: 3.031 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1781, allocations: 0 / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.822e-05/0.1782, allocations: 116.5 kB / 449.7 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 0 / 449.7 MB, free: 40.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.1783, allocations: 37.53 kB / 449.8 MB, free: 40.39 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 (5): * Single equations (assignments): 5 * 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.0006729/0.179, allocations: 0.5147 MB / 450.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1791, allocations: 55.02 kB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1791, allocations: 0 / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.969e-05/0.1792, allocations: 20.48 kB / 450.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1794, allocations: 30.23 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.1796, allocations: 188.3 kB / 450.6 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.1797, allocations: 76.52 kB / 450.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1797, allocations: 20.41 kB / 450.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1797, allocations: 0 / 450.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of Templates: time 0.00203/0.1817, allocations: 1.974 MB / 452.6 MB, free: 39.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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: 4.720986584201455]