Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111 kB / 21.18 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 207.5 kB / 24.48 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 46.95 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.351, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004006/0.355, allocations: 2.21 MB / 0.564 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3581, allocations: 1.615 MB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3582, allocations: 7.938 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.3587, allocations: 147.2 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006589/0.3593, allocations: 290.8 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3608, allocations: 0.5411 MB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007805/0.3616, allocations: 0.5726 MB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.3618, allocations: 53.23 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.3621, allocations: 243 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.3625, allocations: 242.9 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.3625, allocations: 31.98 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.3629, allocations: 199.7 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3631, allocations: 135.5 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3633, allocations: 147 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007623/0.364, allocations: 0.6093 MB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.364, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.364, allocations: 4 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.364, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.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.001384/0.3654, allocations: 0.8574 MB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3655, allocations: 8.031 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.3656, allocations: 64.5 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.3664, allocations: 417.1 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3664, allocations: 12.61 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.3665, allocations: 16.12 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.367, allocations: 344.5 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.367, allocations: 4 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.3671, allocations: 4 kB / 0.5703 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3671, allocations: 7.938 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3674, allocations: 119.9 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.3686, allocations: 0.7857 MB / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.3693, allocations: 302.5 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.3696, allocations: 107.3 kB / 0.5716 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3696, allocations: 0 / 0.5716 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/0.37, allocations: 222.6 kB / 0.5718 GB, free: 9.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.37, allocations: 4 kB / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001041/0.3711, allocations: 425.9 kB / 0.5722 GB, free: 9.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.3712, allocations: 247.2 kB / 0.5725 GB, free: 8.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/0.3721, allocations: 0.6747 MB / 0.5731 GB, free: 8.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.3722, allocations: 33.7 kB / 0.5732 GB, free: 8.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.3724, allocations: 236.5 kB / 0.5734 GB, free: 7.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.3725, allocations: 67.61 kB / 0.5734 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3726, allocations: 65.69 kB / 0.5735 GB, free: 7.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3728, allocations: 366.8 kB / 0.5739 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.373, allocations: 91.94 kB / 0.5739 GB, free: 7.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.3735, allocations: 424.4 kB / 0.5743 GB, free: 6.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.374, allocations: 246.6 kB / 0.5746 GB, free: 6.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.374, allocations: 0 / 0.5746 GB, free: 6.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006863/0.3747, allocations: 337.2 kB / 0.5749 GB, free: 6.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3747, allocations: 8 kB / 0.5749 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3747, allocations: 0 / 0.5749 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3747, allocations: 4 kB / 0.5749 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.375, allocations: 51.91 kB / 0.575 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.375, allocations: 7.938 kB / 0.575 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3752, allocations: 31.88 kB / 0.575 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.3753, allocations: 11.98 kB / 0.575 GB, free: 6.164 MB / 414.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.0002547/0.3755, allocations: 217.9 kB / 0.5752 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.3756, allocations: 55.62 kB / 0.5753 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008607/0.3765, allocations: 381.7 kB / 0.5756 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3765, allocations: 4 kB / 0.5756 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3765, allocations: 3.938 kB / 0.5756 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3765, allocations: 7.984 kB / 0.5757 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.377, allocations: 317 kB / 0.576 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.377, allocations: 7.938 kB / 0.576 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3771, allocations: 36.17 kB / 0.576 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3772, allocations: 3.984 kB / 0.576 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.3772, allocations: 12 kB / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3772, allocations: 0 / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3772, allocations: 0 / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.3779, allocations: 411 kB / 0.5764 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3781, allocations: 59.59 kB / 0.5765 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.3781, allocations: 8 kB / 0.5765 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3783, allocations: 19.98 kB / 0.5765 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3784, allocations: 43.88 kB / 0.5765 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3784, allocations: 15.98 kB / 0.5765 GB, free: 4.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006106/0.3791, allocations: 494.8 kB / 0.577 GB, free: 4.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3791, allocations: 0 / 0.577 GB, free: 4.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.3795, allocations: 107.8 kB / 0.5771 GB, free: 3.926 MB / 414.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.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.001757/0.3813, allocations: 492.9 kB / 0.5776 GB, free: 3.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.3819, allocations: 240.7 kB / 0.5778 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3819, allocations: 0 / 0.5778 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.3823, allocations: 175.8 kB / 0.578 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.3829, allocations: 144 kB / 0.5781 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3843, allocations: 0.8374 MB / 0.5789 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3846, allocations: 246.4 kB / 0.5792 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.3848, allocations: 91.91 kB / 0.5793 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.385, allocations: 59.41 kB / 0.5793 GB, free: 1.797 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.385, allocations: 0 / 0.5793 GB, free: 1.797 MB / 414.1 MB Notification: Performance of Templates: time 0.01558/0.4006, allocations: 8.395 MB / 0.5875 GB, free: 9.496 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.236125836003339]