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.001261/0.001262, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 77.66 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1368, allocations: 62.44 MB / 480.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004554/0.1414, allocations: 2.329 MB / 483 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.1446, allocations: 1.692 MB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.145, allocations: 7.938 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.1455, allocations: 139.3 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.1462, allocations: 282.8 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.1477, allocations: 0.5255 MB / 485.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000626/0.1483, allocations: 0.5649 MB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.1485, allocations: 77.05 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.1488, allocations: 227.1 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1491, allocations: 227 kB / 486.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.1491, allocations: 28 kB / 486.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.1494, allocations: 151.8 kB / 486.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.1496, allocations: 139.5 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1498, allocations: 210.6 kB / 487.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006458/0.1505, allocations: 0.5882 MB / 487.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1505, allocations: 0 / 487.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1505, allocations: 0 / 487.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1505, allocations: 0 / 487.8 MB, free: 14.12 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.001287/0.1518, allocations: 0.9174 MB / 488.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1518, allocations: 12.03 kB / 488.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.152, allocations: 56.28 kB / 488.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.1526, allocations: 472 kB / 489.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1526, allocations: 12.61 kB / 489.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.1527, allocations: 20.12 kB / 489.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.1532, allocations: 264.9 kB / 489.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.1532, allocations: 0 / 489.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1532, allocations: 4 kB / 489.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1533, allocations: 7.984 kB / 489.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1536, allocations: 107.9 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1547, allocations: 0.8836 MB / 490.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.1554, allocations: 298.5 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.1556, allocations: 115.4 kB / 491 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.1557, allocations: 11.92 kB / 491 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004904/0.1562, allocations: 226.5 kB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.1562, allocations: 3.938 kB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009167/0.1571, allocations: 400.7 kB / 491.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/0.1573, allocations: 346.1 kB / 491.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/0.158, allocations: 0.667 MB / 492.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.1581, allocations: 33.7 kB / 492.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1583, allocations: 236.5 kB / 492.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.1584, allocations: 71.14 kB / 492.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1585, allocations: 61.7 kB / 493 MB, free: 8.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1587, allocations: 366.8 kB / 493.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1589, allocations: 83.95 kB / 493.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.1592, allocations: 241 kB / 493.7 MB, free: 7.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.1596, allocations: 239.7 kB / 493.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1597, allocations: 0 / 493.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005889/0.1602, allocations: 312.8 kB / 494.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1603, allocations: 8 kB / 494.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1603, allocations: 0 / 494.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.1603, allocations: 11.92 kB / 494.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.1606, allocations: 51.91 kB / 494.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1606, allocations: 8.125 kB / 494.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1608, allocations: 35.77 kB / 494.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1608, allocations: 8 kB / 494.3 MB, free: 7.117 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.0002327/0.1611, allocations: 218 kB / 494.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.1611, allocations: 59.34 kB / 494.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.1613, allocations: 60.25 kB / 494.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.1613, allocations: 7.938 kB / 494.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.1613, allocations: 0 / 494.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1613, allocations: 11.92 kB / 494.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1617, allocations: 421.2 kB / 495.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1617, allocations: 0 / 495.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1619, allocations: 27.92 kB / 495.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1619, allocations: 0 / 495.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1619, allocations: 11.98 kB / 495.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1619, allocations: 7.938 kB / 495.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1619, allocations: 0 / 495.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.1625, allocations: 365.8 kB / 495.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1627, allocations: 128.5 kB / 495.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.1627, allocations: 11.98 kB / 495.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.1629, allocations: 19.92 kB / 495.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.163, allocations: 31.97 kB / 495.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.1631, allocations: 23.98 kB / 495.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005168/0.1636, allocations: 490.8 kB / 496.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1636, allocations: 0 / 496.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.164, allocations: 103.9 kB / 496.3 MB, free: 5.055 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.001069/0.1651, allocations: 454 kB / 496.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.1657, allocations: 231.8 kB / 497 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1657, allocations: 3.984 kB / 497 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.166, allocations: 132.4 kB / 497.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.1666, allocations: 152.4 kB / 497.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1679, allocations: 0.8536 MB / 498.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1683, allocations: 0.8583 MB / 499 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1684, allocations: 59.34 kB / 499 MB, free: 2.395 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1684, allocations: 0 / 499 MB, free: 2.395 MB / 366.1 MB Notification: Performance of Templates: time 0.01021/0.1786, allocations: 7.272 MB / 0.4944 GB, free: 11.15 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches