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.001204/0.001204, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001208/0.001208, allocations: 169 kB / 24.24 MB, free: 316 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 1.083/1.083, allocations: 158.6 MB / 186 MB, free: 2.512 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.1589/0.1589, allocations: 32.38 MB / 270.7 MB, free: 14.73 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 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.836e-05, allocations: 6.25 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002774/0.002803, allocations: 2.25 MB / 349.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.00461, allocations: 1.438 MB / 351.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.004793, allocations: 4 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.005255, allocations: 155.1 kB / 351.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.005637, allocations: 230.8 kB / 351.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009718/0.006609, allocations: 0.6041 MB / 352.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.007115, allocations: 0.5452 MB / 352.9 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.007278, allocations: 45.12 kB / 352.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.007561, allocations: 303.2 kB / 353.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.007773, allocations: 199.4 kB / 353.4 MB, free: 4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.007812, allocations: 24 kB / 353.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.008086, allocations: 187.7 kB / 353.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.008225, allocations: 139.5 kB / 353.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.008331, allocations: 107.6 kB / 353.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.008824, allocations: 462.3 kB / 354.3 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.008828, allocations: 3.984 kB / 354.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.00883, allocations: 0 / 354.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.008837, allocations: 0 / 354.3 MB, free: 3.094 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.0008034/0.00964, allocations: 0.9225 MB / 355.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.009687, allocations: 8.031 kB / 355.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.009783, allocations: 64.61 kB / 355.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.01018, allocations: 384.6 kB / 355.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.01021, allocations: 12.61 kB / 355.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.01023, allocations: 12.38 kB / 355.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.01054, allocations: 338.8 kB / 356 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.01055, allocations: 7.938 kB / 356 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.01057, allocations: 4 kB / 356 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.01058, allocations: 4 kB / 356.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.01069, allocations: 63.86 kB / 356.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.01131, allocations: 0.9375 MB / 357.1 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.01161, allocations: 232.5 kB / 357.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.01171, allocations: 74.72 kB / 357.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.01173, allocations: 11.94 kB / 357.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.01197, allocations: 188.9 kB / 357.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.01197, allocations: 3.938 kB / 357.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004921/0.01246, allocations: 297.2 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.01257, allocations: 247.2 kB / 358.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.013, allocations: 0.53 MB / 358.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.01303, allocations: 37.7 kB / 358.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.01318, allocations: 283.3 kB / 358.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.01324, allocations: 63.62 kB / 359 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.01331, allocations: 71.34 kB / 359.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.01347, allocations: 0.543 MB / 359.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.01355, allocations: 43.95 kB / 359.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01376, allocations: 396.6 kB / 360 MB, free: 12.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.01395, allocations: 178.3 kB / 360.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01396, allocations: 4 kB / 360.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003315/0.01429, allocations: 253 kB / 360.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01431, allocations: 4 kB / 360.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.01432, allocations: 4 kB / 360.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.01433, allocations: 4 kB / 360.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.01449, allocations: 56.03 kB / 360.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.0145, allocations: 80 / 360.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.0146, allocations: 31.88 kB / 360.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01462, allocations: 15.92 kB / 360.6 MB, free: 12.27 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.0001507/0.01477, allocations: 200.7 kB / 360.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.01483, allocations: 55.67 kB / 360.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.01521, allocations: 293.6 kB / 361.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.01522, allocations: 4 kB / 361.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01522, allocations: 0 / 361.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01523, allocations: 4 kB / 361.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.0155, allocations: 320.3 kB / 361.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.0155, allocations: 0 / 361.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.01558, allocations: 31.92 kB / 361.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01559, allocations: 4 kB / 361.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.01561, allocations: 11.98 kB / 361.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01561, allocations: 4.078 kB / 361.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.01561, allocations: 3.984 kB / 361.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.01597, allocations: 354.9 kB / 361.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.01602, allocations: 55.64 kB / 361.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.01607, allocations: 12 kB / 361.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.01614, allocations: 11.98 kB / 361.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.01623, allocations: 43.94 kB / 362 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.01626, allocations: 15.94 kB / 362 MB, free: 10.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.01654, allocations: 362.8 kB / 362.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01654, allocations: 0 / 362.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000307/0.01685, allocations: 99.88 kB / 362.4 MB, free: 10.33 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.001012/0.01786, allocations: 457.6 kB / 362.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.01814, allocations: 155.5 kB / 363 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01815, allocations: 4 kB / 363 MB, free: 9.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.01845, allocations: 99.5 kB / 363.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.01887, allocations: 163.5 kB / 363.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.01968, allocations: 0.6811 MB / 364 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.384e-05/0.01977, allocations: 125.8 kB / 364.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.01991, allocations: 79.25 kB / 364.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.02001, allocations: 60.47 kB / 364.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02001, allocations: 0 / 364.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of Templates: time 0.009973/0.02998, allocations: 7.913 MB / 372.1 MB, free: 0.6406 MB / 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.5003548869863153]