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.0009592/0.0009592, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001012/0.001012, allocations: 169.4 kB / 24.91 MB, free: 8.766 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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.2635/0.2635, allocations: 34.25 MB / 296.1 MB, free: 0.625 MB / 266.7 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 1.703e-06/1.703e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.414e-05, allocations: 3.188 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002935/0.00296, allocations: 2.323 MB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.005152, allocations: 1.695 MB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.005314, allocations: 7.938 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.005671, allocations: 147.1 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.006145, allocations: 290.6 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.007029, allocations: 0.5299 MB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005516/0.00758, allocations: 0.5885 MB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.00771, allocations: 45.23 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.008047, allocations: 319.2 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.008247, allocations: 183.4 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.008282, allocations: 28 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.008597, allocations: 203.6 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.008739, allocations: 139.5 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.008834, allocations: 115.6 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.009313, allocations: 470.2 kB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.009317, allocations: 0 / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009318, allocations: 0 / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.009324, allocations: 0 / 332.3 MB, free: 0.5938 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.0007606/0.01008, allocations: 0.8028 MB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.01012, allocations: 8.031 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.01018, allocations: 40.89 kB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.01052, allocations: 357.7 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.01054, allocations: 8.609 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.01056, allocations: 12.38 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.01078, allocations: 179.6 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.01078, allocations: 3.938 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.0108, allocations: 8 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.0108, allocations: 3.984 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.01088, allocations: 55.22 kB / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.01135, allocations: 0.5651 MB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.0116, allocations: 364.5 kB / 334.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.01166, allocations: 59.36 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01167, allocations: 4 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.01185, allocations: 177.4 kB / 334.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.01185, allocations: 0 / 334.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002733/0.01212, allocations: 193.7 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.01217, allocations: 136.5 kB / 335.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.01251, allocations: 492.8 kB / 335.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01253, allocations: 33.7 kB / 335.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.01262, allocations: 165.6 kB / 335.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.01267, allocations: 63.52 kB / 336 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.01273, allocations: 61.66 kB / 336 MB, free: 12.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.01283, allocations: 374.6 kB / 336.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.01288, allocations: 26.81 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01299, allocations: 206.4 kB / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01313, allocations: 156.8 kB / 336.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01314, allocations: 4 kB / 336.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002043/0.01334, allocations: 188.9 kB / 337 MB, free: 11.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01336, allocations: 6.344 kB / 337 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01336, allocations: 4 kB / 337 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.01337, allocations: 8.125 kB / 337 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.01353, allocations: 55.89 kB / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01354, allocations: 4 kB / 337.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.01363, allocations: 23.83 kB / 337.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01364, allocations: 15.98 kB / 337.1 MB, free: 11.4 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.0001088/0.01375, allocations: 144.5 kB / 337.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.0138, allocations: 43.89 kB / 337.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.01403, allocations: 189.8 kB / 337.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.01403, allocations: 7.984 kB / 337.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01404, allocations: 4 kB / 337.5 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.01404, allocations: 0 / 337.5 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01422, allocations: 205.5 kB / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01423, allocations: 4 kB / 337.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.01431, allocations: 35.91 kB / 337.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01431, allocations: 0 / 337.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01432, allocations: 11.98 kB / 337.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01433, allocations: 4.438 kB / 337.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01433, allocations: 8 kB / 337.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.01453, allocations: 229.5 kB / 338 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.01458, allocations: 55.56 kB / 338 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.01462, allocations: 11.98 kB / 338 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.01469, allocations: 12 kB / 338 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.01476, allocations: 39.94 kB / 338.1 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.01478, allocations: 15.98 kB / 338.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.01498, allocations: 239.2 kB / 338.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01498, allocations: 0 / 338.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01525, allocations: 91.94 kB / 338.4 MB, free: 10.01 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.001175/0.01642, allocations: 0.5511 MB / 339 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.01664, allocations: 128.6 kB / 339.1 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.01664, allocations: 4 kB / 339.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.01674, allocations: 84.92 kB / 339.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.0171, allocations: 169.4 kB / 339.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.01782, allocations: 0.6873 MB / 340 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.817e-05/0.0179, allocations: 133.6 kB / 340.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.01804, allocations: 75.28 kB / 340.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.01824, allocations: 147.3 kB / 340.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01824, allocations: 0 / 340.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of Templates: time 0.01032/0.02856, allocations: 8.341 MB / 348.7 MB, free: 16 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.051916446071118]