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.001053/0.001053, allocations: 87.33 kB / 20.42 MB, free: 4.137 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.0009913/0.0009913, allocations: 169 kB / 23.8 MB, free: 0.7656 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.9607/0.9607, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1378/0.1378, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.452e-06/1.452e-06, allocations: 0 / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.618e-05, allocations: 12.22 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002326/0.002353, allocations: 2.254 MB / 349.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.003851, allocations: 1.446 MB / 351.4 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.003975, allocations: 7.938 kB / 351.4 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.00437, allocations: 147.2 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.004698, allocations: 242.8 kB / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.005547, allocations: 0.6041 MB / 352.3 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.005934, allocations: 0.5413 MB / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.006081, allocations: 49.11 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.006347, allocations: 295.2 kB / 353.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.006537, allocations: 199.4 kB / 353.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.006574, allocations: 28 kB / 353.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.006826, allocations: 191.6 kB / 353.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.006929, allocations: 131.5 kB / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.007013, allocations: 115.6 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.007383, allocations: 454.3 kB / 354.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.007387, allocations: 0 / 354.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007387, allocations: 0 / 354.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.007393, allocations: 0 / 354.3 MB, free: 2.754 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.0007313/0.008124, allocations: 0.9303 MB / 355.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.008158, allocations: 12.03 kB / 355.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.00824, allocations: 60.61 kB / 355.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.008599, allocations: 376.6 kB / 355.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.008623, allocations: 16.61 kB / 355.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.008647, allocations: 20.36 kB / 355.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.008938, allocations: 334.8 kB / 356.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.008951, allocations: 3.938 kB / 356.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.008968, allocations: 7.984 kB / 356.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.008977, allocations: 4 kB / 356.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.009084, allocations: 63.88 kB / 356.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.009723, allocations: 0.9336 MB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.01001, allocations: 228.5 kB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.01011, allocations: 78.72 kB / 357.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.01013, allocations: 12 kB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.01036, allocations: 192.8 kB / 357.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.01036, allocations: 0 / 357.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004906/0.01086, allocations: 301.1 kB / 357.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.01095, allocations: 239.3 kB / 358.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.01141, allocations: 0.5377 MB / 358.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.01144, allocations: 37.7 kB / 358.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.01159, allocations: 271.3 kB / 358.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.01164, allocations: 75.55 kB / 359 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.01172, allocations: 67.34 kB / 359.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.01189, allocations: 0.5508 MB / 359.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.01197, allocations: 39.95 kB / 359.7 MB, free: 13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.01217, allocations: 396.6 kB / 360 MB, free: 12.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.01238, allocations: 182.3 kB / 360.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01238, allocations: 0 / 360.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000317/0.01269, allocations: 249 kB / 360.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.01272, allocations: 8 kB / 360.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.01272, allocations: 0 / 360.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.01275, allocations: 4 kB / 360.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.01293, allocations: 55.89 kB / 360.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.01294, allocations: 8.203 kB / 360.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.01304, allocations: 23.89 kB / 360.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.01305, allocations: 23.91 kB / 360.6 MB, free: 11.91 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.0001456/0.0132, allocations: 192.7 kB / 360.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.01326, allocations: 63.66 kB / 360.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.01367, allocations: 281.6 kB / 361.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01368, allocations: 8 kB / 361.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01368, allocations: 0 / 361.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01369, allocations: 3.984 kB / 361.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.01394, allocations: 328.3 kB / 361.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01394, allocations: 0 / 361.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.489e-05/0.01403, allocations: 31.92 kB / 361.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01403, allocations: 0 / 361.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.01405, allocations: 15.98 kB / 361.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01405, allocations: 80 / 361.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.01405, allocations: 3.984 kB / 361.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.01442, allocations: 351 kB / 361.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.01448, allocations: 51.66 kB / 361.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.01452, allocations: 11.98 kB / 361.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.01461, allocations: 12 kB / 361.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.0147, allocations: 43.88 kB / 362 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.01473, allocations: 19.92 kB / 362 MB, free: 10.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.01501, allocations: 362.8 kB / 362.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01501, allocations: 0 / 362.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.01532, allocations: 95.86 kB / 362.4 MB, free: 9.992 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.0009621/0.01628, allocations: 457.7 kB / 362.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.0166, allocations: 167.6 kB / 363 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0166, allocations: 0 / 363 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.01673, allocations: 99.55 kB / 363.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.01716, allocations: 167.5 kB / 363.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009037/0.01806, allocations: 0.6844 MB / 364 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.63e-05/0.01815, allocations: 129.5 kB / 364.1 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.01831, allocations: 79.88 kB / 364.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01841, allocations: 56.48 kB / 364.2 MB, free: 8.195 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01841, allocations: 0 / 364.2 MB, free: 8.195 MB / 298.7 MB Notification: Performance of Templates: time 0.0108/0.02921, allocations: 7.902 MB / 372.1 MB, free: 308 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.379622952081263]