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.001658/0.001658, allocations: 104.5 kB / 16.27 MB, free: 5.844 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.001838/0.001838, allocations: 186.1 kB / 17.19 MB, free: 5.496 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.683/1.683, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.249/0.249, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001882/0.001882, allocations: 73.69 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1528, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004389/0.1572, allocations: 2.264 MB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.1601, allocations: 1.458 MB / 444.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.1605, allocations: 7.938 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.1611, allocations: 139.3 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008211/0.162, allocations: 226.9 kB / 444.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.1637, allocations: 0.611 MB / 445.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007408/0.1644, allocations: 0.5259 MB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.1647, allocations: 85.25 kB / 445.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.165, allocations: 215.1 kB / 446 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.1653, allocations: 219 kB / 446.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.1654, allocations: 24 kB / 446.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.1657, allocations: 151.8 kB / 446.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1659, allocations: 131.5 kB / 446.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.166, allocations: 194.8 kB / 446.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.1667, allocations: 0.5646 MB / 447.3 MB, free: 100 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1667, allocations: 4 kB / 447.3 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1667, allocations: 0 / 447.3 MB, free: 96 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1667, allocations: 0 / 447.3 MB, free: 96 kB / 318.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.001557/0.1683, allocations: 0.8864 MB / 448.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1683, allocations: 15.89 kB / 448.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.1685, allocations: 48.38 kB / 448.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.1691, allocations: 468 kB / 448.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.1692, allocations: 20.61 kB / 448.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.1692, allocations: 20.11 kB / 448.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1697, allocations: 258.8 kB / 449 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1697, allocations: 0 / 449 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.1697, allocations: 8 kB / 449 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1698, allocations: 7.938 kB / 449 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.1701, allocations: 103.9 kB / 449.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.1712, allocations: 0.8758 MB / 450 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.1719, allocations: 290.5 kB / 450.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.1721, allocations: 115.3 kB / 450.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.1722, allocations: 4 kB / 450.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.1726, allocations: 224.6 kB / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.1726, allocations: 0 / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001002/0.1736, allocations: 397.8 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/0.1738, allocations: 346.1 kB / 451.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.1746, allocations: 0.6316 MB / 452 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1747, allocations: 33.7 kB / 452 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1749, allocations: 224.6 kB / 452.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.175, allocations: 67.25 kB / 452.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1751, allocations: 65.69 kB / 452.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.1753, allocations: 362.8 kB / 452.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.1755, allocations: 83.94 kB / 452.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.1759, allocations: 249 kB / 453 MB, free: 9.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.1763, allocations: 230.8 kB / 453.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1763, allocations: 0 / 453.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006553/0.177, allocations: 320.8 kB / 453.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.177, allocations: 11.94 kB / 453.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.177, allocations: 3.984 kB / 453.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1771, allocations: 7.938 kB / 453.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.1773, allocations: 56.14 kB / 453.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1773, allocations: 4 kB / 453.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.1775, allocations: 31.83 kB / 453.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1776, allocations: 12 kB / 453.7 MB, free: 9.199 MB / 334.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.0002682/0.1779, allocations: 225.8 kB / 453.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.178, allocations: 51.34 kB / 454 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.1781, allocations: 55.91 kB / 454 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.1781, allocations: 7.938 kB / 454 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1781, allocations: 0 / 454 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1781, allocations: 0 / 454 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.1785, allocations: 409.2 kB / 454.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.1785, allocations: 4 kB / 454.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1787, allocations: 27.91 kB / 454.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1787, allocations: 8 kB / 454.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1787, allocations: 11.98 kB / 454.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1787, allocations: 3.938 kB / 454.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1787, allocations: 4 kB / 454.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.1794, allocations: 354.7 kB / 454.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1795, allocations: 132.5 kB / 455 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.1796, allocations: 12 kB / 455 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1798, allocations: 19.92 kB / 455 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.1799, allocations: 39.95 kB / 455 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.1799, allocations: 15.98 kB / 455.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005204/0.1804, allocations: 458.8 kB / 455.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1805, allocations: 0 / 455.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.1809, allocations: 107.9 kB / 455.6 MB, free: 7.184 MB / 334.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.001148/0.1821, allocations: 466.9 kB / 456.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.1827, allocations: 239.7 kB / 456.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1827, allocations: 3.938 kB / 456.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.1831, allocations: 172.1 kB / 456.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/0.1838, allocations: 151.1 kB / 456.6 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1852, allocations: 0.7736 MB / 457.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.1857, allocations: 0.8428 MB / 458.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.186, allocations: 83.16 kB / 458.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1861, allocations: 59.41 kB / 458.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1861, allocations: 0 / 458.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of Templates: time 0.01583/0.202, allocations: 7.549 MB / 465.9 MB, free: 12.9 MB / 350.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches