Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009365/0.0009366, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002602, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00295/0.1351, allocations: 2.006 MB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.1384, allocations: 1.653 MB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.1388, allocations: 7.938 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.1393, allocations: 119.5 kB / 486.9 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000824/0.1402, allocations: 251.1 kB / 487.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1418, allocations: 496.9 kB / 487.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.1426, allocations: 0.5219 MB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.1429, allocations: 73.06 kB / 488.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.1433, allocations: 195 kB / 488.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.1437, allocations: 210.9 kB / 488.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.1437, allocations: 8 kB / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.1441, allocations: 131.8 kB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.1443, allocations: 111.6 kB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.1446, allocations: 224.3 kB / 489 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.1455, allocations: 0.5646 MB / 489.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1455, allocations: 8 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1455, allocations: 0 / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.1456, allocations: 3.938 kB / 489.6 MB, free: 13.59 MB / 366.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.001883/0.1474, allocations: 0.8244 MB / 490.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.1475, allocations: 8.031 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.1477, allocations: 56.28 kB / 490.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.1487, allocations: 476 kB / 491 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.1488, allocations: 20.59 kB / 491 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.1488, allocations: 20.05 kB / 491 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.1495, allocations: 266.8 kB / 491.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1495, allocations: 0 / 491.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.1495, allocations: 8 kB / 491.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1496, allocations: 4 kB / 491.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.1499, allocations: 111.8 kB / 491.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1514, allocations: 0.8835 MB / 492.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.1521, allocations: 290.5 kB / 492.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.1524, allocations: 107.4 kB / 492.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.1524, allocations: 7.984 kB / 492.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.1529, allocations: 226.5 kB / 492.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 3.266e-06/0.1529, allocations: 0 / 492.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001078/0.154, allocations: 409.5 kB / 493.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003221/0.1543, allocations: 342.1 kB / 493.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009643/0.1553, allocations: 0.6631 MB / 494.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.1553, allocations: 37.7 kB / 494.3 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.1556, allocations: 240.5 kB / 494.6 MB, free: 8.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.1556, allocations: 59.17 kB / 494.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.1557, allocations: 33.7 kB / 494.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1559, allocations: 370.8 kB / 495 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.1561, allocations: 75.95 kB / 495.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.1565, allocations: 249.6 kB / 495.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.157, allocations: 234.9 kB / 495.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.157, allocations: 3.938 kB / 495.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006979/0.1577, allocations: 312.8 kB / 495.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1577, allocations: 8 kB / 495.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1577, allocations: 0 / 495.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.1578, allocations: 11.88 kB / 495.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.1581, allocations: 52.22 kB / 495.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.1581, allocations: 7.922 kB / 496 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.1584, allocations: 35.78 kB / 496 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1584, allocations: 20.11 kB / 496 MB, free: 6.703 MB / 366.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.0003209/0.1587, allocations: 221.7 kB / 496.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1588, allocations: 55.34 kB / 496.3 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.159, allocations: 60.25 kB / 496.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.159, allocations: 3.938 kB / 496.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.159, allocations: 7.938 kB / 496.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.159, allocations: 0 / 496.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.1595, allocations: 425.2 kB / 496.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1595, allocations: 0 / 496.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.1597, allocations: 27.98 kB / 496.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1597, allocations: 4 kB / 496.8 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.1598, allocations: 7.984 kB / 496.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.1598, allocations: 7.875 kB / 496.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1598, allocations: 4 kB / 496.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.1605, allocations: 362.7 kB / 497.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.1607, allocations: 144.4 kB / 497.3 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.1608, allocations: 11.98 kB / 497.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.161, allocations: 27.92 kB / 497.4 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1611, allocations: 35.89 kB / 497.4 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.1612, allocations: 16 kB / 497.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000697/0.1619, allocations: 494.8 kB / 497.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1619, allocations: 0 / 497.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005576/0.1624, allocations: 103.9 kB / 498 MB, free: 4.617 MB / 366.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.00123/0.1637, allocations: 447.2 kB / 498.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000588/0.1643, allocations: 219.8 kB / 498.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1643, allocations: 4.25 kB / 498.6 MB, free: 4.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.1647, allocations: 175.8 kB / 498.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.1655, allocations: 147 kB / 499 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1671, allocations: 0.9174 MB / 499.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.1677, allocations: 0.8547 MB / 0.489 GB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003404/0.1681, allocations: 91.23 kB / 0.4891 GB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1682, allocations: 51.42 kB / 0.4891 GB, free: 1.801 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1682, allocations: 0 / 0.4891 GB, free: 1.801 MB / 366.1 MB Notification: Performance of Templates: time 0.01529/0.1835, allocations: 7.202 MB / 0.4962 GB, free: 10.63 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches