Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001887/0.001886, allocations: 117 kB / 19.13 MB, free: 3.922 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.002464/0.002464, 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.582/1.582, allocations: 227.4 MB / 252.3 MB, free: 68 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.2375/0.2375, allocations: 46.17 MB / 351.8 MB, free: 14.31 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 78.7 kB / 490.9 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1572, allocations: 62.45 MB / 0.5404 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003906/0.1612, allocations: 1.682 MB / 0.5421 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.163, allocations: 1.009 MB / 0.543 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.1631, allocations: 0 / 0.543 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.1635, allocations: 59.73 kB / 0.5431 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.1639, allocations: 107.6 kB / 0.5432 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1641, allocations: 79.66 kB / 0.5433 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1643, allocations: 103.7 kB / 0.5434 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.1644, allocations: 8.234 kB / 0.5434 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1645, allocations: 47.77 kB / 0.5434 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1646, allocations: 51.77 kB / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1646, allocations: 0 / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1647, allocations: 39.98 kB / 0.5435 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.1648, allocations: 15.92 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.398e-05/0.1649, allocations: 31.75 kB / 0.5436 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1651, allocations: 107.5 kB / 0.5437 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.945e-05/0.1652, allocations: 8 kB / 0.5437 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1652, allocations: 0 / 0.5437 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1652, allocations: 0 / 0.5437 GB, free: 0.8203 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008108/0.166, allocations: 414.7 kB / 0.5441 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1661, allocations: 8.031 kB / 0.5441 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.1661, allocations: 12.84 kB / 0.5441 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1665, allocations: 212.9 kB / 0.5443 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1665, allocations: 384 / 0.5443 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1665, allocations: 8.375 kB / 0.5443 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1667, allocations: 53.97 kB / 0.5444 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1667, allocations: 0 / 0.5444 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1667, allocations: 4 kB / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1668, allocations: 0 / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.1668, allocations: 15.98 kB / 0.5444 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.1671, allocations: 185.6 kB / 0.5445 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1673, allocations: 54.62 kB / 0.5446 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.1674, allocations: 20.84 kB / 0.5446 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.1674, allocations: 4 kB / 0.5446 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1676, allocations: 63.33 kB / 0.5447 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.1676, allocations: 0 / 0.5447 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003272/0.1679, allocations: 97.56 kB / 0.5448 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.168, allocations: 63.34 kB / 0.5448 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1682, allocations: 199.5 kB / 0.545 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1683, allocations: 25.7 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.1684, allocations: 100.1 kB / 0.5451 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1684, allocations: 15.91 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1685, allocations: 21.7 kB / 0.5452 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1686, allocations: 322.8 kB / 0.5455 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.1687, allocations: 16 kB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.1688, allocations: 37.69 kB / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1689, allocations: 45.64 kB / 0.5456 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1689, allocations: 0 / 0.5456 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001666/0.1691, allocations: 89.47 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1691, allocations: 4 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1691, allocations: 3.938 kB / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1691, allocations: 4.031 kB / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.1692, allocations: 15.98 kB / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1692, allocations: 0 / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.1693, allocations: 0 / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1693, allocations: 4 kB / 0.5457 GB, free: 14.51 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001209/0.1694, allocations: 119.4 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1695, allocations: 15.88 kB / 0.5458 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.1695, allocations: 17 kB / 0.5458 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1695, allocations: 0 / 0.5458 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1695, allocations: 4 kB / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1695, allocations: 0 / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1697, allocations: 193.6 kB / 0.546 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1697, allocations: 0 / 0.546 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.1698, allocations: 7.938 kB / 0.546 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1698, allocations: 0 / 0.546 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1698, allocations: 8.25 kB / 0.5461 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1698, allocations: 0 / 0.5461 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1698, allocations: 4 kB / 0.5461 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.17, allocations: 109.1 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.1701, allocations: 88.94 kB / 0.5462 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1701, allocations: 11.98 kB / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/0.1702, allocations: 0 / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.1702, allocations: 4 kB / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1702, allocations: 0 / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1704, allocations: 152.2 kB / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1704, allocations: 0 / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002006/0.1706, allocations: 12 kB / 0.5464 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001517/0.1721, allocations: 419.3 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1723, allocations: 43.91 kB / 0.5469 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1723, allocations: 0 / 0.5469 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.1724, allocations: 16 kB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1727, allocations: 34.59 kB / 0.5469 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.1732, allocations: 235.5 kB / 0.5471 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1736, allocations: 0.7041 MB / 0.5478 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1736, allocations: 11.44 kB / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1736, allocations: 4 kB / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of Templates: time 0.003903/0.1775, allocations: 1.73 MB / 0.5495 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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: 7.988029696047306]