Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001894/0.001894, allocations: 116.9 kB / 19.12 MB, free: 3.93 MB / 14.72 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.002038/0.002038, allocations: 210.6 kB / 22.08 MB, free: 0.9766 MB / 14.72 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 1.541/1.541, allocations: 227.4 MB / 252.3 MB, free: 92 kB / 190.1 MB " [Timeout remaining time 178] 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.2379/0.2379, allocations: 46.17 MB / 351.8 MB, free: 14.3 MB / 286.1 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.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 82.7 kB / 491 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1599, allocations: 62.45 MB / 0.5405 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00458/0.1646, allocations: 1.926 MB / 0.5423 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.167, allocations: 1.128 MB / 0.5434 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1672, allocations: 7.938 kB / 0.5434 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.1678, allocations: 219.4 kB / 0.5437 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005881/0.1684, allocations: 219.2 kB / 0.5439 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1688, allocations: 119.6 kB / 0.544 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.1692, allocations: 251.3 kB / 0.5442 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.1694, allocations: 33.56 kB / 0.5442 GB, free: 248 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.1696, allocations: 119.6 kB / 0.5444 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1699, allocations: 159.6 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.17, allocations: 8 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1701, allocations: 63.86 kB / 0.5446 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1703, allocations: 63.75 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1704, allocations: 91.23 kB / 0.5447 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.1708, allocations: 238.9 kB / 0.545 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1709, allocations: 3.984 kB / 0.545 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1709, allocations: 3.938 kB / 0.545 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1709, allocations: 0 / 0.545 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009697/0.1719, allocations: 0.5717 MB / 0.5455 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1719, allocations: 12.03 kB / 0.5455 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.086e-05/0.172, allocations: 28.75 kB / 0.5456 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.1725, allocations: 296.2 kB / 0.5458 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1725, allocations: 384 / 0.5458 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.1726, allocations: 16.31 kB / 0.5459 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1728, allocations: 111.7 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1729, allocations: 7.938 kB / 0.546 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1729, allocations: 0 / 0.546 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.1729, allocations: 4 kB / 0.546 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1731, allocations: 47.95 kB / 0.546 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.1737, allocations: 472.7 kB / 0.5465 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.1742, allocations: 129.2 kB / 0.5466 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1743, allocations: 49.77 kB / 0.5466 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1743, allocations: 0 / 0.5466 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.1746, allocations: 117.1 kB / 0.5468 GB, free: 13.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.123e-06/0.1746, allocations: 0 / 0.5468 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001421/0.176, allocations: 0.5125 MB / 0.5473 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.1761, allocations: 81.05 kB / 0.5473 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.1766, allocations: 448.5 kB / 0.5478 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1766, allocations: 37.7 kB / 0.5478 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1768, allocations: 160.5 kB / 0.548 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.1769, allocations: 67.42 kB / 0.548 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.1769, allocations: 41.7 kB / 0.5481 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1771, allocations: 346.8 kB / 0.5484 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1773, allocations: 55.97 kB / 0.5484 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1774, allocations: 95.34 kB / 0.5485 GB, free: 11.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.1778, allocations: 159.3 kB / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1778, allocations: 0 / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005298/0.1783, allocations: 233.4 kB / 0.5489 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1783, allocations: 8.062 kB / 0.5489 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1784, allocations: 7.984 kB / 0.5489 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1784, allocations: 3.938 kB / 0.5489 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1785, allocations: 39.98 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1785, allocations: 4 kB / 0.549 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.1787, allocations: 11.95 kB / 0.549 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1787, allocations: 7.984 kB / 0.549 GB, free: 11.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001881/0.1789, allocations: 173.6 kB / 0.5491 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.179, allocations: 35.8 kB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.1791, allocations: 46.75 kB / 0.5492 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1791, allocations: 7.938 kB / 0.5492 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1791, allocations: 0 / 0.5492 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1791, allocations: 0 / 0.5492 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1802, allocations: 0.739 MB / 0.55 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1802, allocations: 4 kB / 0.55 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.1803, allocations: 31.92 kB / 0.55 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.1803, allocations: 4 kB / 0.55 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1803, allocations: 4 kB / 0.55 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.1803, allocations: 7.984 kB / 0.55 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1803, allocations: 0 / 0.55 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.1809, allocations: 428.5 kB / 0.5504 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.181, allocations: 108.9 kB / 0.5505 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.181, allocations: 4 kB / 0.5505 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1812, allocations: 8 kB / 0.5505 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.1813, allocations: 27.91 kB / 0.5506 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.1813, allocations: 8 kB / 0.5506 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003676/0.1817, allocations: 335 kB / 0.5509 GB, free: 9.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1817, allocations: 0 / 0.5509 GB, free: 9.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.1821, allocations: 51.92 kB / 0.5509 GB, free: 8.969 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002365/0.1845, allocations: 0.5198 MB / 0.5514 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000453/0.1849, allocations: 155.8 kB / 0.5516 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.185, allocations: 4 kB / 0.5516 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.1852, allocations: 79.84 kB / 0.5517 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.1859, allocations: 63.94 kB / 0.5517 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.187, allocations: 0.5914 MB / 0.5523 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.1874, allocations: 0.7752 MB / 0.5531 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.1875, allocations: 35.42 kB / 0.5531 GB, free: 6.891 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1875, allocations: 4 kB / 0.5531 GB, free: 6.887 MB / 414.1 MB Notification: Performance of Templates: time 0.008098/0.1956, allocations: 3.766 MB / 0.5568 GB, free: 3.125 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.544993394054472]