Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009369/0.0009369, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009285/0.0009285, allocations: 173.9 kB / 24.92 MB, free: 8.727 MB / 18.57 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 0.9391/0.9391, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 32.8 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.726e-05, allocations: 3.75 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002459/0.002477, allocations: 2.282 MB / 325.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.004784, allocations: 1.675 MB / 327.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.005033, allocations: 4 kB / 327.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.005418, allocations: 143.2 kB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.005915, allocations: 306.5 kB / 327.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.006945, allocations: 0.5345 MB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.007455, allocations: 0.5926 MB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.007589, allocations: 45.23 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.007885, allocations: 319.2 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.008064, allocations: 187.4 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.008101, allocations: 31.94 kB / 329.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.008346, allocations: 187.7 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.00845, allocations: 135.5 kB / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.008534, allocations: 115.6 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.008923, allocations: 470.3 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.008926, allocations: 0 / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.008926, allocations: 0 / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.00893, allocations: 0 / 330.2 MB, free: 2.727 MB / 298.7 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.0006873/0.009617, allocations: 0.8065 MB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.00965, allocations: 8.031 kB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.009713, allocations: 44.89 kB / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.01032, allocations: 349.7 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.01035, allocations: 12.59 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.01037, allocations: 20.38 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.01057, allocations: 178.4 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.01058, allocations: 3.938 kB / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.0106, allocations: 8 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.0106, allocations: 0 / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.01068, allocations: 59.2 kB / 331.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.01117, allocations: 0.5611 MB / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.0114, allocations: 372.5 kB / 332.6 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.01145, allocations: 51.42 kB / 332.6 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.01146, allocations: 4 kB / 332.6 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.01163, allocations: 177.4 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.01163, allocations: 0 / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002402/0.01187, allocations: 193.6 kB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.01192, allocations: 132.5 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.01223, allocations: 496.8 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.01225, allocations: 33.7 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.01233, allocations: 161.7 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.01237, allocations: 63.52 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.01243, allocations: 65.59 kB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01253, allocations: 374.6 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.01257, allocations: 26.81 kB / 334.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.01269, allocations: 209.1 kB / 334.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.01283, allocations: 160.9 kB / 334.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01283, allocations: 4 kB / 334.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000177/0.01301, allocations: 180.7 kB / 334.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01302, allocations: 4 kB / 334.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01303, allocations: 4.25 kB / 334.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01304, allocations: 4 kB / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.01317, allocations: 51.91 kB / 334.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01317, allocations: 4.125 kB / 334.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.01326, allocations: 27.88 kB / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01327, allocations: 12 kB / 335 MB, free: 13.53 MB / 314.7 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.0001065/0.01338, allocations: 148.5 kB / 335.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.01342, allocations: 35.95 kB / 335.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.01364, allocations: 193.8 kB / 335.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01365, allocations: 4 kB / 335.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01365, allocations: 8 kB / 335.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01366, allocations: 3.984 kB / 335.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.01383, allocations: 214.2 kB / 335.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01384, allocations: 0 / 335.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.0139, allocations: 23.98 kB / 335.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.0139, allocations: 4 kB / 335.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01392, allocations: 11.98 kB / 335.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01392, allocations: 3.938 kB / 335.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01392, allocations: 4 kB / 335.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.0141, allocations: 225.6 kB / 335.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.01415, allocations: 59.55 kB / 335.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.01419, allocations: 8.047 kB / 335.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.01426, allocations: 15.97 kB / 335.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.01433, allocations: 43.88 kB / 336 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.01435, allocations: 12 kB / 336 MB, free: 12.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.01452, allocations: 243.1 kB / 336.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01452, allocations: 0 / 336.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.01475, allocations: 95.92 kB / 336.3 MB, free: 12.13 MB / 314.7 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.001156/0.01591, allocations: 0.5465 MB / 336.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.01608, allocations: 132.6 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.01609, allocations: 8 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.01617, allocations: 76.75 kB / 337.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.01648, allocations: 170.4 kB / 337.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.0174, allocations: 0.7028 MB / 337.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.0175, allocations: 121.6 kB / 338 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.01768, allocations: 75.91 kB / 338.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.01795, allocations: 147.3 kB / 338.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01795, allocations: 0 / 338.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Templates: time 0.009452/0.0274, allocations: 8.352 MB / 346.6 MB, free: 2.129 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.123557914979756]