Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.0008206/0.0008206, 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.003421/0.003421, allocations: 160.5 kB / 24.7 MB, free: 9.426 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.9277/0.9277, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2677/0.2677, allocations: 32.79 MB / 294.2 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.827e-05, allocations: 2.281 kB / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002205/0.002233, allocations: 1.716 MB / 442.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.00361, allocations: 0.9742 MB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.222e-05/0.003682, allocations: 0 / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.003963, allocations: 43.7 kB / 443.7 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.004237, allocations: 99.47 kB / 443.8 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.0044, allocations: 83.61 kB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.004549, allocations: 107.6 kB / 444 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.004642, allocations: 8 kB / 444 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.00472, allocations: 55.83 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.004789, allocations: 27.91 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.004805, allocations: 4 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.004881, allocations: 47.86 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.004935, allocations: 23.91 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.00497, allocations: 15.94 kB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005144, allocations: 123.5 kB / 444.3 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005147, allocations: 3.938 kB / 444.3 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005149, allocations: 4 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005153, allocations: 0 / 444.3 MB, free: 324 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1711/0.1762, allocations: 348.4 kB / 444.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1763, allocations: 11.25 kB / 444.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1763, allocations: 7.859 kB / 444.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1766, allocations: 152.8 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1766, allocations: 4.688 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1766, allocations: 2.906 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1768, allocations: 59.97 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1768, allocations: 4 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1768, allocations: 1.312 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1768, allocations: 1.656 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.1769, allocations: 26.05 kB / 444.9 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.1772, allocations: 231.8 kB / 445.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1773, allocations: 56.58 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.1773, allocations: 24.28 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1773, allocations: 0.6875 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.1775, allocations: 70.81 kB / 445.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1775, allocations: 3.844 kB / 445.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000438/0.1779, allocations: 188.8 kB / 445.4 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1779, allocations: 51.41 kB / 445.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.178, allocations: 216.6 kB / 445.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.1781, allocations: 28.61 kB / 445.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.1781, allocations: 107.7 kB / 445.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1781, allocations: 25.48 kB / 445.9 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1781, allocations: 29.14 kB / 445.9 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.1782, allocations: 326.2 kB / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.1782, allocations: 23.59 kB / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.1783, allocations: 34.97 kB / 446.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.1783, allocations: 58.08 kB / 446.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1783, allocations: 0 / 446.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001067/0.1784, allocations: 119.3 kB / 446.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1784, allocations: 5.812 kB / 446.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1785, allocations: 0 / 446.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1785, allocations: 9.938 kB / 446.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.1785, allocations: 17.47 kB / 446.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1785, allocations: 0 / 446.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.1786, allocations: 6.094 kB / 446.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1786, allocations: 2.625 kB / 446.5 MB, free: 45.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.626e-05/0.1786, allocations: 137.3 kB / 446.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1787, allocations: 13.73 kB / 446.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.1788, allocations: 123.5 kB / 446.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1788, allocations: 2.781 kB / 446.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1788, allocations: 1.812 kB / 446.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1788, allocations: 0 / 446.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1791, allocations: 353.8 kB / 447.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1791, allocations: 3.031 kB / 447.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.1791, allocations: 13.11 kB / 447.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1791, allocations: 3 kB / 447.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1791, allocations: 0 / 447.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1791, allocations: 3.219 kB / 447.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1791, allocations: 0 / 447.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1793, allocations: 217.6 kB / 447.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.1793, allocations: 7.172 kB / 447.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1793, allocations: 6.812 kB / 447.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.1793, allocations: 5.969 kB / 447.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1794, allocations: 9.188 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1794, allocations: 10.19 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.931e-05/0.1794, allocations: 156.7 kB / 447.5 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1794, allocations: 1.688 kB / 447.5 MB, free: 44.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.1796, allocations: 26.67 kB / 447.5 MB, free: 44.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008266/0.1804, allocations: 493.8 kB / 448 MB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1806, allocations: 53.22 kB / 448.1 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1806, allocations: 6.844 kB / 448.1 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.1806, allocations: 40.62 kB / 448.1 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1809, allocations: 28.83 kB / 448.1 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.1813, allocations: 270.1 kB / 448.4 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.381e-05/0.1814, allocations: 98.23 kB / 448.5 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.1814, allocations: 20.39 kB / 448.5 MB, free: 44.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1814, allocations: 3.938 kB / 448.5 MB, free: 44.33 MB / 410.7 MB Notification: Performance of Templates: time 0.003024/0.1844, allocations: 2.043 MB / 450.6 MB, free: 44.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.076862546615303]