Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008891/0.0008893, allocations: 94.08 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009738/0.0009738, allocations: 194 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.7 MB / 246.4 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.17 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 12.22 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1597, allocations: 63.57 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002461/0.1623, allocations: 1.388 MB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.164, allocations: 0.913 MB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.164, allocations: 3.938 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.1644, allocations: 67.78 kB / 484.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.1647, allocations: 79.73 kB / 484.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.1649, allocations: 51.88 kB / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.165, allocations: 91.69 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.1651, allocations: 8.234 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1652, allocations: 47.77 kB / 485.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1654, allocations: 39.78 kB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1654, allocations: 4 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.841e-05/0.1655, allocations: 27.97 kB / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.1655, allocations: 19.92 kB / 485.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.1656, allocations: 37.64 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1658, allocations: 80.09 kB / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1658, allocations: 0 / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1658, allocations: 4 kB / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1658, allocations: 0 / 485.3 MB, free: 1.629 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000571/0.1664, allocations: 394.9 kB / 485.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1664, allocations: 8.031 kB / 485.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.1665, allocations: 15.81 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1667, allocations: 199.5 kB / 485.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1667, allocations: 8 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1668, allocations: 0 / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1669, allocations: 57.61 kB / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1669, allocations: 0 / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.167, allocations: 0 / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.167, allocations: 3.984 kB / 485.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.167, allocations: 15.98 kB / 486 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.1673, allocations: 181.6 kB / 486.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1674, allocations: 46.62 kB / 486.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1675, allocations: 24.84 kB / 486.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1675, allocations: 4 kB / 486.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1677, allocations: 67.33 kB / 486.3 MB, free: 468 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1677, allocations: 0 / 486.3 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002807/0.168, allocations: 93.48 kB / 486.4 MB, free: 368 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1681, allocations: 55.39 kB / 486.4 MB, free: 300 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1683, allocations: 198.9 kB / 486.6 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1683, allocations: 25.7 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.1684, allocations: 96.14 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.1684, allocations: 19.88 kB / 486.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1684, allocations: 3.938 kB / 486.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1686, allocations: 322.8 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-05/0.1686, allocations: 12 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.1687, allocations: 37.64 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.1687, allocations: 12 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1688, allocations: 3.953 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.1689, allocations: 89.42 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.169, allocations: 4 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.169, allocations: 4.094 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.169, allocations: 0 / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.1691, allocations: 12 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1691, allocations: 3.984 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.1692, allocations: 12.03 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1692, allocations: 0 / 487.3 MB, free: 15.41 MB / 366.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1693, allocations: 124.1 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.1693, allocations: 15.86 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.1694, allocations: 16.98 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1694, allocations: 320 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1694, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1694, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1696, allocations: 193.5 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1696, allocations: 4 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.1696, allocations: 15.88 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1696, allocations: 0 / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1696, allocations: 0 / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1696, allocations: 4 kB / 487.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1696, allocations: 0 / 487.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1698, allocations: 105 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.1699, allocations: 85.02 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1699, allocations: 7.953 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.17, allocations: 7.984 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.17, allocations: 4 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1701, allocations: 4 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1702, allocations: 148.7 kB / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1702, allocations: 0 / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1704, allocations: 16 kB / 488 MB, free: 14.59 MB / 366.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 (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.001038/0.1715, allocations: 421.8 kB / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1716, allocations: 39.91 kB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1717, allocations: 0 / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.1717, allocations: 16 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.172, allocations: 27.97 kB / 488.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.1725, allocations: 221.1 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1728, allocations: 0.7013 MB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.115e-05/0.1729, allocations: 12.42 kB / 489.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.1729, allocations: 15.42 kB / 489.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1729, allocations: 8 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.004522/0.1774, allocations: 1.384 MB / 490.8 MB, free: 11.84 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches