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.001409/0.001409, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.773/1.773, allocations: 205.1 MB / 222.6 MB, free: 4.984 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.4425/0.4425, allocations: 43.5 MB / 313.5 MB, free: 8.629 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.001458/0.001458, allocations: 67.91 kB / 382 MB, free: 9.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1442, allocations: 57.79 MB / 439.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003675/0.148, allocations: 2.316 MB / 442.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1501, allocations: 1.447 MB / 443.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.1503, allocations: 7.938 kB / 443.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.1508, allocations: 127.5 kB / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.1512, allocations: 199.3 kB / 443.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1525, allocations: 0.5811 MB / 444.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.153, allocations: 498.6 kB / 445 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1532, allocations: 69 kB / 445 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.1534, allocations: 203 kB / 445.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1537, allocations: 207 kB / 445.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1537, allocations: 12 kB / 445.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.154, allocations: 135.8 kB / 445.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1542, allocations: 115.6 kB / 445.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.1544, allocations: 186.7 kB / 445.9 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.1551, allocations: 0.5415 MB / 446.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1551, allocations: 4 kB / 446.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1551, allocations: 0 / 446.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.1551, allocations: 3.938 kB / 446.4 MB, free: 8.516 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.001307/0.1564, allocations: 0.8865 MB / 447.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1565, allocations: 12.02 kB / 447.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1566, allocations: 52.38 kB / 447.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.1572, allocations: 471.9 kB / 447.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1573, allocations: 16.59 kB / 447.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1573, allocations: 16.12 kB / 447.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.1578, allocations: 257.4 kB / 448.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1578, allocations: 0 / 448.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.1579, allocations: 8 kB / 448.1 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1579, allocations: 4 kB / 448.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1582, allocations: 115.8 kB / 448.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1594, allocations: 0.8719 MB / 449.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.1601, allocations: 298.5 kB / 449.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1604, allocations: 103.4 kB / 449.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.1604, allocations: 4 kB / 449.5 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/0.1611, allocations: 230.3 kB / 449.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.1611, allocations: 0 / 449.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001155/0.1623, allocations: 405.7 kB / 450.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.1625, allocations: 346.1 kB / 450.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.1633, allocations: 0.6316 MB / 451.1 MB, free: 3.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.1634, allocations: 33.7 kB / 451.1 MB, free: 3.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.1636, allocations: 224.5 kB / 451.4 MB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/0.1637, allocations: 67.27 kB / 451.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1638, allocations: 65.69 kB / 451.5 MB, free: 3.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.164, allocations: 358.8 kB / 451.8 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1642, allocations: 87.95 kB / 451.9 MB, free: 2.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.1646, allocations: 253 kB / 452.2 MB, free: 2.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.165, allocations: 226.8 kB / 452.4 MB, free: 2.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1651, allocations: 0 / 452.4 MB, free: 2.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006517/0.1657, allocations: 320.9 kB / 452.7 MB, free: 1.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.1658, allocations: 4 kB / 452.7 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1658, allocations: 4 kB / 452.7 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.1658, allocations: 7.938 kB / 452.7 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.1661, allocations: 56.03 kB / 452.8 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1661, allocations: 4 kB / 452.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.1664, allocations: 27.83 kB / 452.8 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.1664, allocations: 12 kB / 452.8 MB, free: 1.613 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.0003072/0.1667, allocations: 217.7 kB / 453 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.1668, allocations: 55.34 kB / 453.1 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1669, allocations: 59.84 kB / 453.1 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1669, allocations: 3.938 kB / 453.1 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.167, allocations: 8 kB / 453.2 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.167, allocations: 7.969 kB / 453.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.1675, allocations: 409.2 kB / 453.6 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1675, allocations: 0 / 453.6 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1676, allocations: 23.98 kB / 453.6 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.1676, allocations: 4 kB / 453.6 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.1677, allocations: 11.98 kB / 453.6 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1677, allocations: 4.062 kB / 453.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1677, allocations: 8 kB / 453.6 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006895/0.1684, allocations: 358.7 kB / 454 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1685, allocations: 132.4 kB / 454.1 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.1686, allocations: 11.98 kB / 454.1 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1688, allocations: 19.92 kB / 454.1 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.1689, allocations: 39.95 kB / 454.2 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.1689, allocations: 12 kB / 454.2 MB, free: 152 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2751/0.444, allocations: 463.4 kB / 454.6 MB, free: 49.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4441, allocations: 0.6562 kB / 454.6 MB, free: 49.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007476/0.4448, allocations: 93.53 kB / 454.7 MB, free: 49.23 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.001152/0.446, allocations: 457.9 kB / 455.2 MB, free: 49.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.4466, allocations: 228.9 kB / 455.4 MB, free: 49.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4466, allocations: 2.719 kB / 455.4 MB, free: 49.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.447, allocations: 167.7 kB / 455.6 MB, free: 49.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.4477, allocations: 135.5 kB / 455.7 MB, free: 49.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4488, allocations: 0.8754 MB / 456.6 MB, free: 48.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4491, allocations: 0.8382 MB / 457.4 MB, free: 47.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.4494, allocations: 93.7 kB / 457.5 MB, free: 47.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4495, allocations: 45.09 kB / 457.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4495, allocations: 2.625 kB / 457.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01329/0.4628, allocations: 7.206 MB / 464.7 MB, free: 47.34 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