Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 100.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001677, allocations: 194.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004217, allocations: 8 kB / 418.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1602, allocations: 63.56 MB / 482.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00297/0.1632, allocations: 1.608 MB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1652, allocations: 0.9817 MB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.1655, allocations: 0 / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.1658, allocations: 43.77 kB / 485 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.1662, allocations: 67.7 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1665, allocations: 75.84 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1668, allocations: 127.6 kB / 485.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1669, allocations: 21.55 kB / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.167, allocations: 47.72 kB / 485.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1671, allocations: 43.72 kB / 485.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1672, allocations: 4 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1673, allocations: 39.97 kB / 485.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.1674, allocations: 31.8 kB / 485.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.1674, allocations: 45.64 kB / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1676, allocations: 104 kB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1676, allocations: 0 / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1677, allocations: 0 / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1677, allocations: 4 kB / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007334/0.1684, allocations: 456.5 kB / 486.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1685, allocations: 12.03 kB / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.1685, allocations: 15.91 kB / 486.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1688, allocations: 236.2 kB / 486.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1689, allocations: 4 kB / 486.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.1689, allocations: 8 kB / 486.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.1692, allocations: 108.2 kB / 486.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1692, allocations: 7.984 kB / 486.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1692, allocations: 4 kB / 486.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1692, allocations: 4 kB / 486.5 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1694, allocations: 47.91 kB / 486.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.1701, allocations: 0.5165 MB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.1704, allocations: 86.66 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/0.1705, allocations: 44.84 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1706, allocations: 3.938 kB / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1708, allocations: 83.31 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1708, allocations: 0 / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004127/0.1712, allocations: 157.3 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.1713, allocations: 51.41 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1715, allocations: 202.2 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1715, allocations: 25.7 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.1716, allocations: 119.9 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1716, allocations: 27.64 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.1717, allocations: 4 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1718, allocations: 326.8 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.1719, allocations: 31.98 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.172, allocations: 71.58 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.728e-05/0.1721, allocations: 35.98 kB / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1721, allocations: 0 / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003023/0.1724, allocations: 137.4 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1725, allocations: 12.45 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1725, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1725, allocations: 4.125 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1726, allocations: 27.92 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1726, allocations: 7.953 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.1727, allocations: 19.78 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1727, allocations: 4 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001194/0.1729, allocations: 129.8 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1729, allocations: 7.906 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.1729, allocations: 21.41 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.173, allocations: 0 / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.173, allocations: 0 / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.173, allocations: 7.891 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1732, allocations: 217.5 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1732, allocations: 0 / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.1733, allocations: 19.94 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1733, allocations: 0 / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1733, allocations: 8 kB / 488.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1733, allocations: 3.984 kB / 488.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1733, allocations: 0 / 488.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1737, allocations: 188.8 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.1738, allocations: 88.95 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1739, allocations: 11.98 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.1739, allocations: 8.062 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.174, allocations: 7.984 kB / 489.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.174, allocations: 4 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1742, allocations: 144.4 kB / 489.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1742, allocations: 0 / 489.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1745, allocations: 27.94 kB / 489.4 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001085/0.1756, allocations: 410.7 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1759, allocations: 95.7 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1759, allocations: 0 / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.176, allocations: 35.92 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1763, allocations: 37.19 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.1769, allocations: 288.7 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1773, allocations: 0.7165 MB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.418e-05/0.1774, allocations: 17.42 kB / 491 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1774, allocations: 15.44 kB / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1774, allocations: 0 / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004912/0.1824, allocations: 1.729 MB / 492.7 MB, free: 9.926 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches