Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 97.77 kB / 17.01 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.7 MB / 246.4 MB, free: 9.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 12.2 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 63.58 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002487/0.1578, allocations: 1.583 MB / 484 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.1598, allocations: 1.038 MB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1599, allocations: 7.938 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1605, allocations: 243.5 kB / 485.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.161, allocations: 211.3 kB / 485.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.1613, allocations: 87.84 kB / 485.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1616, allocations: 223.3 kB / 485.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1618, allocations: 29.66 kB / 485.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1619, allocations: 123.5 kB / 485.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1622, allocations: 151.5 kB / 486.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1622, allocations: 4 kB / 486.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1623, allocations: 51.98 kB / 486.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.1624, allocations: 63.75 kB / 486.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.1625, allocations: 61.52 kB / 486.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1627, allocations: 179.9 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1628, allocations: 0 / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1628, allocations: 3.938 kB / 486.5 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1628, allocations: 0 / 486.5 MB, free: 464 kB / 350.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.0007698/0.1636, allocations: 0.5369 MB / 487 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1636, allocations: 12.03 kB / 487 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.1637, allocations: 31.62 kB / 487 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.164, allocations: 285.3 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.164, allocations: 4 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1641, allocations: 12 kB / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1643, allocations: 109.9 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1644, allocations: 4 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1644, allocations: 11.92 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1644, allocations: 0 / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1645, allocations: 51.91 kB / 487.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.1652, allocations: 488.5 kB / 488 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.1655, allocations: 117.2 kB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.1657, allocations: 53.8 kB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1657, allocations: 8.078 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.166, allocations: 113.1 kB / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.166, allocations: 4 kB / 488.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001304/0.1673, allocations: 0.4997 MB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1674, allocations: 89.05 kB / 488.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.168, allocations: 493.6 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.168, allocations: 33.64 kB / 489.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1681, allocations: 176.5 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.1682, allocations: 67.02 kB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.1683, allocations: 4 kB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1684, allocations: 350.8 kB / 490 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1685, allocations: 55.97 kB / 490 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1687, allocations: 87.41 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1688, allocations: 67.98 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1688, allocations: 0 / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003837/0.1692, allocations: 237.4 kB / 490.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1692, allocations: 7.953 kB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1693, allocations: 0 / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1693, allocations: 7.984 kB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1694, allocations: 35.98 kB / 490.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.1694, allocations: 7.938 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.1695, allocations: 12.06 kB / 490.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1696, allocations: 8 kB / 490.5 MB, free: 12.16 MB / 366.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.1697, allocations: 178.3 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.1698, allocations: 35.53 kB / 490.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.1699, allocations: 42.84 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1699, allocations: 4 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.1699, allocations: 4 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1699, allocations: 3.984 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000924/0.1709, allocations: 0.7466 MB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1709, allocations: 4 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.171, allocations: 32.05 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.171, allocations: 4 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.171, allocations: 8.188 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.171, allocations: 4 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.171, allocations: 3.938 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.1715, allocations: 435.6 kB / 492 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.1716, allocations: 108.7 kB / 492.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1716, allocations: 8 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1718, allocations: 11.98 kB / 492.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.1718, allocations: 15.98 kB / 492.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.1719, allocations: 8 kB / 492.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003965/0.1723, allocations: 383.1 kB / 492.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1723, allocations: 0 / 492.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.1726, allocations: 51.98 kB / 492.5 MB, free: 9.977 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.174, allocations: 0.5054 MB / 493 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.1744, allocations: 155.8 kB / 493.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1744, allocations: 4.125 kB / 493.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1745, allocations: 83.78 kB / 493.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.1751, allocations: 57.52 kB / 493.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.1761, allocations: 0.6444 MB / 494 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1765, allocations: 0.7833 MB / 494.8 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1766, allocations: 41.91 kB / 494.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.1767, allocations: 27.44 kB / 494.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1767, allocations: 0 / 494.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of Templates: time 0.006674/0.1834, allocations: 2.919 MB / 497.7 MB, free: 4.91 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches