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.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.001426/0.001426, allocations: 79.89 kB / 20.52 MB, free: 1.281 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.001489/0.001489, allocations: 160.9 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2219/0.2219, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 71.89 kB / 407.7 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.156, allocations: 61.05 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00521/0.1612, allocations: 2.154 MB / 470.9 MB, free: 6.141 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1645, allocations: 1.423 MB / 472.4 MB, free: 4.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.1648, allocations: 7.938 kB / 472.4 MB, free: 4.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.1654, allocations: 139.3 kB / 472.5 MB, free: 4.562 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007526/0.1661, allocations: 238.9 kB / 472.7 MB, free: 4.328 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1681, allocations: 0.6121 MB / 473.4 MB, free: 3.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009516/0.1691, allocations: 0.5414 MB / 473.9 MB, free: 3.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1693, allocations: 41.25 kB / 473.9 MB, free: 3.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.1698, allocations: 227.1 kB / 474.2 MB, free: 2.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.1703, allocations: 231 kB / 474.4 MB, free: 2.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1705, allocations: 28 kB / 474.4 MB, free: 2.652 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.171, allocations: 183.8 kB / 474.6 MB, free: 2.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.1712, allocations: 131.5 kB / 474.7 MB, free: 2.344 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.1715, allocations: 143.1 kB / 474.9 MB, free: 2.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1726, allocations: 0.5797 MB / 475.4 MB, free: 1.621 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1726, allocations: 0 / 475.4 MB, free: 1.621 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1726, allocations: 0 / 475.4 MB, free: 1.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.1726, allocations: 0 / 475.4 MB, free: 1.621 MB / 446.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.001727/0.1743, allocations: 0.8382 MB / 476.3 MB, free: 0.7266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1744, allocations: 8.031 kB / 476.3 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1746, allocations: 56.56 kB / 476.3 MB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.1754, allocations: 394.5 kB / 476.7 MB, free: 260 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.1754, allocations: 12.61 kB / 476.7 MB, free: 248 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.1755, allocations: 16.12 kB / 476.8 MB, free: 232 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2841/0.4595, allocations: 338.4 kB / 477.1 MB, free: 50.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4595, allocations: 1.156 kB / 477.1 MB, free: 50.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.4596, allocations: 6.344 kB / 477.1 MB, free: 50.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.4596, allocations: 6.078 kB / 477.1 MB, free: 50.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.4599, allocations: 124.5 kB / 477.2 MB, free: 50.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.4609, allocations: 0.7763 MB / 478 MB, free: 49.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.4615, allocations: 298.1 kB / 478.3 MB, free: 49.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.4617, allocations: 112.8 kB / 478.4 MB, free: 49.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.4617, allocations: 3.188 kB / 478.4 MB, free: 49.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.4621, allocations: 223.7 kB / 478.6 MB, free: 49.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.063e-06/0.4621, allocations: 0 / 478.6 MB, free: 49.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008478/0.4629, allocations: 426.3 kB / 479 MB, free: 49.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.463, allocations: 247.8 kB / 479.3 MB, free: 49.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.4636, allocations: 0.6291 MB / 479.9 MB, free: 49.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.4636, allocations: 38.55 kB / 479.9 MB, free: 49.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4637, allocations: 221.4 kB / 480.2 MB, free: 49.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.4638, allocations: 67.08 kB / 480.2 MB, free: 49.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.4638, allocations: 64.09 kB / 480.3 MB, free: 49.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.4639, allocations: 367.6 kB / 480.6 MB, free: 48.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.4641, allocations: 89.45 kB / 480.7 MB, free: 48.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.4644, allocations: 435.1 kB / 481.2 MB, free: 48.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.4648, allocations: 237.7 kB / 481.4 MB, free: 48.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4648, allocations: 3.344 kB / 481.4 MB, free: 48.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005304/0.4653, allocations: 330.5 kB / 481.7 MB, free: 48.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4653, allocations: 8.531 kB / 481.7 MB, free: 48.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4653, allocations: 0 / 481.7 MB, free: 48.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4653, allocations: 7.031 kB / 481.7 MB, free: 48.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.4656, allocations: 59.25 kB / 481.8 MB, free: 48.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4656, allocations: 2.938 kB / 481.8 MB, free: 48.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.4658, allocations: 31.97 kB / 481.8 MB, free: 48.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.4658, allocations: 13.48 kB / 481.8 MB, free: 48.03 MB / 446.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.0001708/0.466, allocations: 217 kB / 482 MB, free: 47.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.466, allocations: 49.95 kB / 482.1 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006492/0.4667, allocations: 380.3 kB / 482.5 MB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4667, allocations: 7.094 kB / 482.5 MB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4667, allocations: 5.156 kB / 482.5 MB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4667, allocations: 0 / 482.5 MB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.467, allocations: 314.1 kB / 482.8 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.467, allocations: 2.25 kB / 482.8 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.4671, allocations: 33.56 kB / 482.8 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4671, allocations: 4.375 kB / 482.8 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.4671, allocations: 10.41 kB / 482.8 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4671, allocations: 0.5 kB / 482.8 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4671, allocations: 10.58 kB / 482.8 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.4677, allocations: 396.2 kB / 483.2 MB, free: 47.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.4678, allocations: 56.3 kB / 483.3 MB, free: 47.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.4678, allocations: 14.45 kB / 483.3 MB, free: 47.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.468, allocations: 11.98 kB / 483.3 MB, free: 47.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.4681, allocations: 47.72 kB / 483.4 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.4681, allocations: 19.11 kB / 483.4 MB, free: 47.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003911/0.4685, allocations: 467.4 kB / 483.8 MB, free: 47.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4685, allocations: 5.625 kB / 483.8 MB, free: 47.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.4689, allocations: 95.2 kB / 483.9 MB, free: 47.04 MB / 446.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.001738/0.4707, allocations: 496.4 kB / 484.4 MB, free: 46.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005325/0.4712, allocations: 236.7 kB / 484.7 MB, free: 46.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4712, allocations: 0 / 484.7 MB, free: 46.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.4715, allocations: 177.9 kB / 484.8 MB, free: 46.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.4721, allocations: 147.9 kB / 485 MB, free: 46.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.4732, allocations: 0.8032 MB / 485.8 MB, free: 46.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.4734, allocations: 237.1 kB / 486 MB, free: 46.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.4736, allocations: 87.7 kB / 486.1 MB, free: 46.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4737, allocations: 50.88 kB / 486.1 MB, free: 46.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4737, allocations: 3.281 kB / 486.1 MB, free: 46.09 MB / 446.1 MB Notification: Performance of Templates: time 0.01264/0.4863, allocations: 7.905 MB / 494 MB, free: 45.04 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.602809644071385]