Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001217/0.001217, 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.001006/0.001006, allocations: 171.4 kB / 24.91 MB, free: 8.777 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2999/0.2999, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.557e-05, allocations: 4.031 kB / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002811/0.002836, allocations: 1.894 MB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.004401, allocations: 1.084 MB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004502, allocations: 4 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.005, allocations: 307 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.005435, allocations: 255 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.005708, allocations: 103.6 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.006017, allocations: 275.2 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.006072, allocations: 10.45 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.006241, allocations: 155.6 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.006432, allocations: 179.6 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.006454, allocations: 8 kB / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006562, allocations: 51.91 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.006675, allocations: 136.1 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.006776, allocations: 80.14 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.007061, allocations: 278.9 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007063, allocations: 3.984 kB / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007064, allocations: 0 / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.007069, allocations: 0 / 330.1 MB, free: 2.762 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006717/0.007741, allocations: 0.6394 MB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.007785, allocations: 12.02 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.007848, allocations: 28.91 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.008182, allocations: 309.8 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.008202, allocations: 4.375 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.008213, allocations: 384 / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.008379, allocations: 91.45 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.008391, allocations: 3.938 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.008402, allocations: 4 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.008411, allocations: 0 / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.00845, allocations: 25.58 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.008647, allocations: 122.3 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.008762, allocations: 70.86 kB / 331.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.008793, allocations: 29.7 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.008805, allocations: 0 / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.008961, allocations: 103.8 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.61e-07/0.008962, allocations: 4 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001595/0.009122, allocations: 111.2 kB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.009158, allocations: 85.05 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.009543, allocations: 0.5985 MB / 332.4 MB, free: 368 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.00956, allocations: 29.7 kB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.00962, allocations: 149.3 kB / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.009655, allocations: 31.73 kB / 332.6 MB, free: 144 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.009691, allocations: 37.7 kB / 332.6 MB, free: 100 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.0098, allocations: 366.7 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.009824, allocations: 18.75 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.009856, allocations: 43.41 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.00992, allocations: 68.33 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009923, allocations: 3.938 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001074/0.01003, allocations: 107.2 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.01004, allocations: 8 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01005, allocations: 0 / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01006, allocations: 0 / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.01014, allocations: 39.92 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.01014, allocations: 0 / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.01019, allocations: 4 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.0102, allocations: 4 kB / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.51e-05/0.01028, allocations: 121.2 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.01031, allocations: 31.97 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.01045, allocations: 117.9 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01046, allocations: 4 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.01046, allocations: 3.938 kB / 333.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01046, allocations: 4 kB / 333.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.0106, allocations: 169.8 kB / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.0106, allocations: 8 kB / 333.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.01063, allocations: 8 kB / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01063, allocations: 0 / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.01064, allocations: 11.94 kB / 333.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01064, allocations: 0 / 333.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01064, allocations: 0 / 333.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.01075, allocations: 139 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.01079, allocations: 55.59 kB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.01082, allocations: 4 kB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.01086, allocations: 11.98 kB / 333.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.01089, allocations: 11.98 kB / 333.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.0109, allocations: 7.938 kB / 334 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.01112, allocations: 319.2 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01113, allocations: 0 / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.01129, allocations: 47.94 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001153/0.01244, allocations: 0.5051 MB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01254, allocations: 64.7 kB / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.01255, allocations: 4 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.01259, allocations: 32.78 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.0128, allocations: 76.88 kB / 335 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.01355, allocations: 0.6576 MB / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.01363, allocations: 128.2 kB / 335.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.01371, allocations: 47.44 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.01381, allocations: 99.36 kB / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01381, allocations: 0 / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.006332/0.02015, allocations: 4.311 MB / 340.2 MB, free: 8.656 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.0988637818954885]