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.001062/0.001062, allocations: 80.2 kB / 20.65 MB, free: 3.836 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.001035/0.001035, allocations: 173 kB / 24.05 MB, free: 452 kB / 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.9473/0.9473, allocations: 158.6 MB / 185.9 MB, free: 2.773 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.139/0.139, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.763e-06/1.763e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.734e-05, allocations: 6.25 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003392/0.003419, allocations: 2.238 MB / 350.3 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.005696, allocations: 1.434 MB / 351.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.005888, allocations: 4 kB / 351.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.006318, allocations: 143.2 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.006789, allocations: 234.8 kB / 352.2 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.008046, allocations: 0.6157 MB / 352.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.008611, allocations: 0.5453 MB / 353.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.00876, allocations: 45.12 kB / 353.4 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.009152, allocations: 303.1 kB / 353.7 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.00941, allocations: 195.5 kB / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.009494, allocations: 28 kB / 353.9 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.009824, allocations: 183.7 kB / 354 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.009943, allocations: 131.5 kB / 354.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01005, allocations: 111.6 kB / 354.3 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.01056, allocations: 458.3 kB / 354.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.01056, allocations: 0 / 354.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01056, allocations: 0 / 354.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.01057, allocations: 0 / 354.7 MB, free: 2.531 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.0009249/0.01149, allocations: 0.9262 MB / 355.7 MB, free: 1.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.01154, allocations: 8.031 kB / 355.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.01165, allocations: 68.59 kB / 355.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.01207, allocations: 355.4 kB / 356.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.0121, allocations: 20.53 kB / 356.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.01212, allocations: 16.38 kB / 356.1 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.01242, allocations: 181.3 kB / 356.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01243, allocations: 3.938 kB / 356.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.01245, allocations: 15.97 kB / 356.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.01245, allocations: 0 / 356.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.01257, allocations: 55.86 kB / 356.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.01334, allocations: 0.8523 MB / 357.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.01372, allocations: 220.5 kB / 357.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.01383, allocations: 66.72 kB / 357.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.01386, allocations: 8 kB / 357.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.01413, allocations: 188.8 kB / 357.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.01413, allocations: 4 kB / 357.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005435/0.01467, allocations: 273.9 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.01474, allocations: 144.4 kB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.01528, allocations: 0.514 MB / 358.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.01531, allocations: 37.69 kB / 358.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.01552, allocations: 287.1 kB / 358.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.01559, allocations: 75.44 kB / 359 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.01569, allocations: 71.31 kB / 359.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.01591, allocations: 0.5468 MB / 359.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.01599, allocations: 35.95 kB / 359.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01617, allocations: 247.2 kB / 359.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.0164, allocations: 157.3 kB / 360.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.0164, allocations: 4 kB / 360.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003885/0.01679, allocations: 237.3 kB / 360.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.01681, allocations: 8 kB / 360.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01682, allocations: 0 / 360.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.01684, allocations: 4 kB / 360.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.01705, allocations: 51.91 kB / 360.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.01706, allocations: 4 kB / 360.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.01721, allocations: 32 kB / 360.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01723, allocations: 8 kB / 360.4 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.0001734/0.0174, allocations: 192.4 kB / 360.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.01749, allocations: 59.67 kB / 360.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.01796, allocations: 273.3 kB / 360.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.01796, allocations: 4 kB / 360.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.01797, allocations: 0 / 360.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01797, allocations: 8 kB / 360.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.0183, allocations: 256.8 kB / 361.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.0183, allocations: 0 / 361.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.01843, allocations: 27.98 kB / 361.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.01843, allocations: 7.984 kB / 361.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.01846, allocations: 15.97 kB / 361.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01846, allocations: 3.938 kB / 361.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.01846, allocations: 4 kB / 361.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.01891, allocations: 323 kB / 361.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.01898, allocations: 55.61 kB / 361.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.01904, allocations: 15.98 kB / 361.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.01917, allocations: 12 kB / 361.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.01927, allocations: 47.86 kB / 361.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.0193, allocations: 11.98 kB / 361.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003352/0.01963, allocations: 334.7 kB / 362 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01963, allocations: 0 / 362 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.02011, allocations: 91.92 kB / 362.1 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.00131/0.02143, allocations: 453.8 kB / 362.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.02172, allocations: 143.4 kB / 362.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.02172, allocations: 4.25 kB / 362.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.02188, allocations: 92.02 kB / 362.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.02252, allocations: 159.2 kB / 362.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.0236, allocations: 0.6728 MB / 363.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.02371, allocations: 129.6 kB / 363.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.02392, allocations: 67.27 kB / 363.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.02425, allocations: 182.1 kB / 364 MB, free: 8.762 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02425, allocations: 0 / 364 MB, free: 8.762 MB / 298.7 MB Notification: Performance of Templates: time 0.01616/0.04041, allocations: 8.334 MB / 372.3 MB, free: 448 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.3855039342306554]