Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 102 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 194.7 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.392/0.392, allocations: 43.5 MB / 313.6 MB, free: 8.309 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 67.84 kB / 382.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 57.8 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004241/0.1557, allocations: 2.312 MB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.1585, allocations: 1.451 MB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1587, allocations: 3.938 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.1591, allocations: 123.6 kB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.1596, allocations: 199.2 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.161, allocations: 0.5811 MB / 444.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00056/0.1616, allocations: 0.522 MB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1617, allocations: 81 kB / 445.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.162, allocations: 239 kB / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.1623, allocations: 223 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.1624, allocations: 24 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.1627, allocations: 147.8 kB / 445.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1628, allocations: 131.5 kB / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.163, allocations: 202.7 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.1636, allocations: 0.5688 MB / 446.8 MB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1637, allocations: 0 / 446.8 MB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1637, allocations: 4 kB / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1637, allocations: 0 / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001215/0.1649, allocations: 0.8864 MB / 447.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.165, allocations: 15.83 kB / 447.7 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.1651, allocations: 56.36 kB / 447.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.1657, allocations: 467.9 kB / 448.2 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.1657, allocations: 16.59 kB / 448.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.1657, allocations: 16.12 kB / 448.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.1662, allocations: 257.4 kB / 448.5 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1662, allocations: 0 / 448.5 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.1663, allocations: 8 kB / 448.5 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1663, allocations: 4 kB / 448.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1666, allocations: 111.8 kB / 448.6 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1677, allocations: 0.8679 MB / 449.5 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.1683, allocations: 298.5 kB / 449.8 MB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1686, allocations: 111.4 kB / 449.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.1686, allocations: 12.14 kB / 449.9 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005247/0.1692, allocations: 222.4 kB / 450.1 MB, free: 4.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1692, allocations: 0 / 450.1 MB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009585/0.1702, allocations: 405.3 kB / 450.5 MB, free: 3.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/0.1703, allocations: 338.1 kB / 450.8 MB, free: 3.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.1711, allocations: 0.6355 MB / 451.5 MB, free: 2.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.1711, allocations: 33.7 kB / 451.5 MB, free: 2.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1713, allocations: 232.4 kB / 451.7 MB, free: 2.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.1714, allocations: 67.19 kB / 451.8 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1715, allocations: 65.69 kB / 451.9 MB, free: 2.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1717, allocations: 362.8 kB / 452.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1719, allocations: 79.95 kB / 452.3 MB, free: 1.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.1722, allocations: 241.1 kB / 452.5 MB, free: 1.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.1726, allocations: 234.7 kB / 452.7 MB, free: 1.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1726, allocations: 448 / 452.8 MB, free: 1.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000583/0.1732, allocations: 320.8 kB / 453.1 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1732, allocations: 4 kB / 453.1 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1733, allocations: 7.984 kB / 453.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.1733, allocations: 7.938 kB / 453.1 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1736, allocations: 51.91 kB / 453.1 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.1736, allocations: 4 kB / 453.1 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1738, allocations: 31.83 kB / 453.2 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1738, allocations: 8 kB / 453.2 MB, free: 0.7734 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002572/0.1741, allocations: 221.8 kB / 453.4 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.1742, allocations: 51.34 kB / 453.4 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.1743, allocations: 55.91 kB / 453.5 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1743, allocations: 3.938 kB / 453.5 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.1743, allocations: 4 kB / 453.5 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1743, allocations: 0 / 453.5 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3069/0.4812, allocations: 410.3 kB / 453.9 MB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.4813, allocations: 0 / 453.9 MB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.4815, allocations: 27.61 kB / 453.9 MB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.4815, allocations: 2.688 kB / 453.9 MB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.4816, allocations: 15.02 kB / 454 MB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.4816, allocations: 6.375 kB / 454 MB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4816, allocations: 2.75 kB / 454 MB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.4825, allocations: 356.2 kB / 454.3 MB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4827, allocations: 129.4 kB / 454.4 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.4828, allocations: 16.38 kB / 454.4 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4829, allocations: 19.75 kB / 454.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.4831, allocations: 33.58 kB / 454.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.4831, allocations: 16.52 kB / 454.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005763/0.4837, allocations: 463.4 kB / 455 MB, free: 48.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4837, allocations: 0 / 455 MB, free: 48.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005021/0.4842, allocations: 101.8 kB / 455.1 MB, free: 48.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001105/0.4853, allocations: 468.2 kB / 455.5 MB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005868/0.4859, allocations: 238.6 kB / 455.8 MB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4859, allocations: 0 / 455.8 MB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.4862, allocations: 172.2 kB / 455.9 MB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.4869, allocations: 147.4 kB / 456.1 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.488, allocations: 0.8739 MB / 456.9 MB, free: 48.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.4883, allocations: 0.8481 MB / 457.8 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.4886, allocations: 88.45 kB / 457.9 MB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.4887, allocations: 51.66 kB / 457.9 MB, free: 47.37 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4887, allocations: 0 / 457.9 MB, free: 47.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01272/0.5014, allocations: 7.447 MB / 465.4 MB, free: 46.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches