Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001699/0.001699, allocations: 113.9 kB / 19.13 MB, free: 3.918 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.002051/0.002051, allocations: 208.9 kB / 22.08 MB, free: 0.9727 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.511/1.511, allocations: 227.4 MB / 252.3 MB, free: 88 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.238/0.238, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 79.78 kB / 491 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1514, allocations: 62.45 MB / 0.5404 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003662/0.1551, allocations: 1.926 MB / 0.5423 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1572, allocations: 1.116 MB / 0.5434 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1573, allocations: 4 kB / 0.5434 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.1579, allocations: 259.3 kB / 0.5437 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.1584, allocations: 239.1 kB / 0.5439 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1587, allocations: 119.6 kB / 0.544 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1591, allocations: 271.3 kB / 0.5443 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1592, allocations: 21.62 kB / 0.5443 GB, free: 180 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1594, allocations: 139.4 kB / 0.5444 GB, free: 40 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.1597, allocations: 187.5 kB / 0.5446 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.1598, allocations: 8 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.16, allocations: 63.98 kB / 0.5447 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1601, allocations: 63.75 kB / 0.5447 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1603, allocations: 103.2 kB / 0.5448 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.1608, allocations: 258.7 kB / 0.5451 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1608, allocations: 0 / 0.5451 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1609, allocations: 0 / 0.5451 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.1609, allocations: 4 kB / 0.5451 GB, free: 15.36 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.001202/0.1621, allocations: 0.5939 MB / 0.5457 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.1622, allocations: 12.03 kB / 0.5457 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.1623, allocations: 28.75 kB / 0.5457 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.1629, allocations: 298.7 kB / 0.546 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1629, allocations: 4.375 kB / 0.546 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.163, allocations: 12.36 kB / 0.546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.1634, allocations: 119.5 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1634, allocations: 0 / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.1634, allocations: 3.984 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1634, allocations: 4 kB / 0.5461 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.1637, allocations: 47.95 kB / 0.5462 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008917/0.1646, allocations: 480.7 kB / 0.5466 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.1652, allocations: 121.2 kB / 0.5467 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1654, allocations: 45.81 kB / 0.5468 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.1654, allocations: 4 kB / 0.5468 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.1658, allocations: 133.2 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.344e-06/0.1658, allocations: 0 / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.002104/0.1679, allocations: 0.5161 MB / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.168, allocations: 89.05 kB / 0.5475 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/0.1689, allocations: 0.4937 MB / 0.548 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.1689, allocations: 29.7 kB / 0.548 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.1692, allocations: 164.5 kB / 0.5482 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1693, allocations: 75.42 kB / 0.5482 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1694, allocations: 41.7 kB / 0.5483 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002897/0.1698, allocations: 350.8 kB / 0.5486 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.17, allocations: 51.98 kB / 0.5487 GB, free: 11.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.1702, allocations: 99.33 kB / 0.5488 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.1707, allocations: 147.4 kB / 0.5489 GB, free: 11.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.1707, allocations: 4 kB / 0.5489 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007097/0.1715, allocations: 249.5 kB / 0.5491 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.1715, allocations: 8 kB / 0.5492 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1715, allocations: 0 / 0.5492 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.1716, allocations: 3.938 kB / 0.5492 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.1718, allocations: 43.92 kB / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1719, allocations: 0 / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.172, allocations: 15.98 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.172, allocations: 4 kB / 0.5492 GB, free: 10.84 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.0002793/0.1723, allocations: 177.8 kB / 0.5494 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.1724, allocations: 39.7 kB / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.1726, allocations: 50.81 kB / 0.5495 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1726, allocations: 3.938 kB / 0.5495 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1726, allocations: 4 kB / 0.5495 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1726, allocations: 3.984 kB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1742, allocations: 0.739 MB / 0.5502 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1742, allocations: 0 / 0.5502 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1744, allocations: 31.92 kB / 0.5502 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.1744, allocations: 4 kB / 0.5502 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.1744, allocations: 11.98 kB / 0.5502 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.1744, allocations: 4 kB / 0.5503 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1744, allocations: 192 / 0.5503 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.1753, allocations: 433 kB / 0.5507 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1754, allocations: 112.9 kB / 0.5508 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.1755, allocations: 8 kB / 0.5508 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.1757, allocations: 12 kB / 0.5508 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.1758, allocations: 19.91 kB / 0.5508 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.1759, allocations: 16 kB / 0.5508 GB, free: 9.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.1765, allocations: 371.1 kB / 0.5512 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1765, allocations: 0 / 0.5512 GB, free: 8.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.177, allocations: 47.92 kB / 0.5512 GB, free: 8.652 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.002035/0.179, allocations: 0.5155 MB / 0.5517 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.1794, allocations: 151.8 kB / 0.5519 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1794, allocations: 0 / 0.5519 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1796, allocations: 87.78 kB / 0.552 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.1803, allocations: 62.78 kB / 0.552 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1813, allocations: 0.631 MB / 0.5526 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.1818, allocations: 0.7908 MB / 0.5534 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1819, allocations: 31.42 kB / 0.5534 GB, free: 6.512 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1819, allocations: 0 / 0.5534 GB, free: 6.512 MB / 414.1 MB Notification: Performance of Templates: time 0.006947/0.1889, allocations: 3.879 MB / 0.5572 GB, free: 2.645 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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: 8.17786114802584]