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.000974/0.000974, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001048/0.001048, allocations: 171.5 kB / 24.84 MB, free: 8.906 MB / 18.57 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 0.969/0.969, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.1407/0.1407, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.303e-05, allocations: 12.22 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002113/0.002126, allocations: 2.227 MB / 351.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.003832, allocations: 1.434 MB / 352.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.003991, allocations: 4 kB / 352.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.004344, allocations: 143.2 kB / 352.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.004688, allocations: 242.8 kB / 352.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.005668, allocations: 0.6196 MB / 353.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.006118, allocations: 0.5375 MB / 354.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.006243, allocations: 45.11 kB / 354.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.006515, allocations: 299.1 kB / 354.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.006712, allocations: 203.4 kB / 354.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.006752, allocations: 24 kB / 354.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.007028, allocations: 183.7 kB / 354.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.007136, allocations: 139.5 kB / 355 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.007224, allocations: 107.6 kB / 355.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.007632, allocations: 454.3 kB / 355.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007634, allocations: 0 / 355.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007634, allocations: 0 / 355.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.00764, allocations: 0 / 355.5 MB, free: 2.535 MB / 282.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.0006382/0.008278, allocations: 0.9224 MB / 356.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.008309, allocations: 12.03 kB / 356.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.008381, allocations: 60.59 kB / 356.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.008666, allocations: 367.3 kB / 356.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.008691, allocations: 20.53 kB / 356.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.00871, allocations: 16.38 kB / 356.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.008908, allocations: 177.3 kB / 357.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008918, allocations: 3.938 kB / 357.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.008935, allocations: 11.97 kB / 357.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.008941, allocations: 4 kB / 357.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.00902, allocations: 51.88 kB / 357.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.009583, allocations: 0.8603 MB / 358 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.009837, allocations: 216.5 kB / 358.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.009909, allocations: 66.72 kB / 358.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.009924, allocations: 12 kB / 358.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.01011, allocations: 184.8 kB / 358.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.01012, allocations: 0 / 358.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004052/0.01052, allocations: 277.9 kB / 358.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.01058, allocations: 136.5 kB / 358.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.01094, allocations: 0.5218 MB / 359.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.01097, allocations: 41.69 kB / 359.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.01113, allocations: 291.1 kB / 359.7 MB, free: 14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.01118, allocations: 71.45 kB / 359.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.01125, allocations: 63.33 kB / 359.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.01145, allocations: 0.5507 MB / 360.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.01151, allocations: 35.95 kB / 360.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.01166, allocations: 247 kB / 360.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.01182, allocations: 165.3 kB / 360.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01182, allocations: 0 / 360.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002548/0.01208, allocations: 233.2 kB / 361.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01209, allocations: 4 kB / 361.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01209, allocations: 4 kB / 361.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.0121, allocations: 0 / 361.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.01224, allocations: 60.03 kB / 361.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.01225, allocations: 4 kB / 361.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.01234, allocations: 27.88 kB / 361.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01235, allocations: 4 kB / 361.2 MB, free: 12.41 MB / 298.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.0001282/0.01248, allocations: 196.4 kB / 361.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.01253, allocations: 55.67 kB / 361.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.01285, allocations: 277.3 kB / 361.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01285, allocations: 4 kB / 361.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01286, allocations: 4 kB / 361.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.01286, allocations: 0 / 361.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.01309, allocations: 256.9 kB / 362 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01309, allocations: 0 / 362 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.01316, allocations: 28.23 kB / 362 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01316, allocations: 8.031 kB / 362 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01318, allocations: 15.98 kB / 362 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01318, allocations: 3.938 kB / 362 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01318, allocations: 4 kB / 362 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.01353, allocations: 330.9 kB / 362.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.01359, allocations: 47.61 kB / 362.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.01363, allocations: 15.98 kB / 362.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.01371, allocations: 8 kB / 362.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.01378, allocations: 51.81 kB / 362.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.0138, allocations: 11.98 kB / 362.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.014, allocations: 338.7 kB / 362.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.014, allocations: 0 / 362.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.01429, allocations: 91.92 kB / 362.9 MB, free: 10.62 MB / 298.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.0009233/0.01521, allocations: 446.1 kB / 363.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.01543, allocations: 147.4 kB / 363.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01543, allocations: 0 / 363.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01553, allocations: 96 kB / 363.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.01593, allocations: 167.2 kB / 363.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.01662, allocations: 0.6727 MB / 364.4 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.047e-05/0.0167, allocations: 129.8 kB / 364.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.01683, allocations: 71.42 kB / 364.6 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.01702, allocations: 178.1 kB / 364.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01703, allocations: 0 / 364.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of Templates: time 0.01061/0.02763, allocations: 8.444 MB / 373.2 MB, free: 332 kB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] 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","",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.265625183004886]