Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001314/0.001314, allocations: 80.83 kB / 20.51 MB, free: 1.273 MB / 14.72 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.00144/0.00144, allocations: 173.7 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2278/0.2278, allocations: 32.38 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003461/0.003461, allocations: 68.28 kB / 407.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1655, allocations: 61.04 MB / 468.9 MB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004031/0.1695, allocations: 1.672 MB / 470.5 MB, free: 6.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.1721, allocations: 1.482 MB / 472 MB, free: 5.074 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.1721, allocations: 0 / 472 MB, free: 5.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1725, allocations: 31.78 kB / 472 MB, free: 5.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1728, allocations: 71.67 kB / 472.1 MB, free: 4.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.173, allocations: 79.78 kB / 472.2 MB, free: 4.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1732, allocations: 99.67 kB / 472.3 MB, free: 4.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1734, allocations: 8.234 kB / 472.3 MB, free: 4.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.1734, allocations: 43.8 kB / 472.3 MB, free: 4.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1736, allocations: 35.83 kB / 472.4 MB, free: 4.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1736, allocations: 4 kB / 472.4 MB, free: 4.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1737, allocations: 67.91 kB / 472.4 MB, free: 4.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.1738, allocations: 19.86 kB / 472.5 MB, free: 4.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1739, allocations: 27.86 kB / 472.5 MB, free: 4.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1741, allocations: 119.5 kB / 472.6 MB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1741, allocations: 0 / 472.6 MB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1741, allocations: 0 / 472.6 MB, free: 4.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1741, allocations: 0 / 472.6 MB, free: 4.477 MB / 446.1 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.0006029/0.1747, allocations: 333.7 kB / 472.9 MB, free: 4.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1748, allocations: 11.97 kB / 472.9 MB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1748, allocations: 16.89 kB / 473 MB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1751, allocations: 146 kB / 473.1 MB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1751, allocations: 384 / 473.1 MB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1751, allocations: 8.125 kB / 473.1 MB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1753, allocations: 97.08 kB / 473.2 MB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1753, allocations: 0 / 473.2 MB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1753, allocations: 4 kB / 473.2 MB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1753, allocations: 0 / 473.2 MB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.1754, allocations: 27.92 kB / 473.2 MB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.1758, allocations: 228.5 kB / 473.5 MB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.176, allocations: 54.69 kB / 473.5 MB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.1761, allocations: 20.84 kB / 473.5 MB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1761, allocations: 0 / 473.5 MB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.1763, allocations: 71.33 kB / 473.6 MB, free: 3.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1763, allocations: 0 / 473.6 MB, free: 3.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006378/0.1769, allocations: 193.3 kB / 473.8 MB, free: 3.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.177, allocations: 81.11 kB / 473.9 MB, free: 3.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1772, allocations: 149.8 kB / 474 MB, free: 2.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1772, allocations: 29.7 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.1772, allocations: 96.12 kB / 474.1 MB, free: 2.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.1773, allocations: 31.77 kB / 474.2 MB, free: 2.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1773, allocations: 21.72 kB / 474.2 MB, free: 2.715 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1775, allocations: 322.8 kB / 474.5 MB, free: 2.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.1776, allocations: 23.98 kB / 474.5 MB, free: 2.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.1777, allocations: 68.27 kB / 474.6 MB, free: 2.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1778, allocations: 69.67 kB / 474.7 MB, free: 2.211 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1778, allocations: 0 / 474.7 MB, free: 2.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002036/0.178, allocations: 97.64 kB / 474.8 MB, free: 2.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.178, allocations: 4.188 kB / 474.8 MB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.178, allocations: 0 / 474.8 MB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.178, allocations: 7.875 kB / 474.8 MB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1781, allocations: 19.98 kB / 474.8 MB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1781, allocations: 0 / 474.8 MB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.1782, allocations: 4.375 kB / 474.8 MB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1782, allocations: 0 / 474.8 MB, free: 2.074 MB / 446.1 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 0.0001246/0.1783, allocations: 133.8 kB / 474.9 MB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1783, allocations: 11.91 kB / 474.9 MB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1786, allocations: 122.4 kB / 475.1 MB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1786, allocations: 0 / 475.1 MB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1786, allocations: 0 / 475.1 MB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1786, allocations: 0 / 475.1 MB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.1791, allocations: 342.9 kB / 475.4 MB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1791, allocations: 0 / 475.4 MB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.1791, allocations: 12 kB / 475.4 MB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1791, allocations: 11.97 kB / 475.4 MB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1792, allocations: 3.938 kB / 475.4 MB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1792, allocations: 0 / 475.4 MB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1792, allocations: 3.938 kB / 475.4 MB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1794, allocations: 212.3 kB / 475.6 MB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.1795, allocations: 11.91 kB / 475.6 MB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1795, allocations: 7.984 kB / 475.6 MB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.1796, allocations: 4 kB / 475.7 MB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1796, allocations: 11.92 kB / 475.7 MB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1796, allocations: 8 kB / 475.7 MB, free: 1.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1797, allocations: 119.9 kB / 475.8 MB, free: 1.004 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1797, allocations: 4 kB / 475.8 MB, free: 1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.18, allocations: 31.92 kB / 475.8 MB, free: 0.9688 MB / 446.1 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.002051/0.1821, allocations: 0.5298 MB / 476.4 MB, free: 460 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1823, allocations: 59.91 kB / 476.4 MB, free: 400 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1823, allocations: 0 / 476.4 MB, free: 400 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.1823, allocations: 31.92 kB / 476.4 MB, free: 368 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1827, allocations: 35.88 kB / 476.5 MB, free: 332 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.1832, allocations: 202.7 kB / 476.7 MB, free: 100 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2646/0.4477, allocations: 83.88 kB / 476.8 MB, free: 50.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.4479, allocations: 11.47 kB / 476.8 MB, free: 50.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.4479, allocations: 19.52 kB / 476.8 MB, free: 50.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4479, allocations: 0 / 476.8 MB, free: 50.21 MB / 446.1 MB Notification: Performance of Templates: time 0.005408/0.4534, allocations: 2.076 MB / 478.9 MB, free: 50.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.473621712066233]