Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.0009905/0.0009905, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002588, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001082/0.001082, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001677/0.00276, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9571/0.9571, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1614/1.118, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.1341/0.1341, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02151/0.1556, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.414e-05, allocations: 10.19 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002334/0.002358, allocations: 1.852 MB / 269.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003506, allocations: 0.8855 MB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.003574, allocations: 3.938 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.003905, allocations: 303.2 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.004123, allocations: 215.2 kB / 270.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.004337, allocations: 139.6 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.004564, allocations: 243.3 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.004611, allocations: 14.45 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.004811, allocations: 200.2 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.00497, allocations: 172.1 kB / 271.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.004992, allocations: 8 kB / 271.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.005064, allocations: 36 kB / 271.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.005161, allocations: 128.3 kB / 271.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.005214, allocations: 59.69 kB / 271.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.005441, allocations: 266.9 kB / 272 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.005451, allocations: 0 / 272 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005452, allocations: 0 / 272 MB, free: 13.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.005459, allocations: 0 / 272 MB, free: 13.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005689/0.006028, allocations: 0.677 MB / 272.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.006058, allocations: 8.031 kB / 272.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.006103, allocations: 28.91 kB / 272.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.006359, allocations: 297.8 kB / 273 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.006373, allocations: 4.375 kB / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.006384, allocations: 4.375 kB / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.00666, allocations: 99.41 kB / 273.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.006667, allocations: 3.938 kB / 273.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.006675, allocations: 4 kB / 273.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.006679, allocations: 4 kB / 273.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.00671, allocations: 21.58 kB / 273.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.006828, allocations: 110.4 kB / 273.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.006925, allocations: 78.86 kB / 273.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.006953, allocations: 25.7 kB / 273.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.006964, allocations: 4 kB / 273.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.007074, allocations: 99.78 kB / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.007075, allocations: 7.938 kB / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001485/0.007224, allocations: 103.7 kB / 273.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.007256, allocations: 89.03 kB / 273.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.00761, allocations: 0.5712 MB / 274.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.007632, allocations: 37.7 kB / 274.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.007686, allocations: 141.3 kB / 274.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.007722, allocations: 31.77 kB / 274.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.007756, allocations: 29.69 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.007858, allocations: 362.7 kB / 274.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.007884, allocations: 14.77 kB / 274.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.007916, allocations: 39.47 kB / 274.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.123e-05/0.007977, allocations: 71.83 kB / 274.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007979, allocations: 4 kB / 274.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001009/0.00808, allocations: 103.2 kB / 275 MB, free: 10.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.008091, allocations: 8 kB / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.008094, allocations: 0 / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.008101, allocations: 0 / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.008176, allocations: 31.86 kB / 275 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.00818, allocations: 4 kB / 275 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.008226, allocations: 11.95 kB / 275 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.008232, allocations: 3.984 kB / 275.1 MB, free: 10.62 MB / 282.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 7.998e-05/0.008312, allocations: 132.6 kB / 275.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.008337, allocations: 23.97 kB / 275.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.008464, allocations: 117.8 kB / 275.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008467, allocations: 4 kB / 275.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.00847, allocations: 8 kB / 275.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008473, allocations: 0 / 275.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.008594, allocations: 165.7 kB / 275.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008596, allocations: 0 / 275.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.008628, allocations: 15.98 kB / 275.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.008668, allocations: 51.64 kB / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.008671, allocations: 8 kB / 275.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.008677, allocations: 3.938 kB / 275.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008679, allocations: 0 / 275.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.008682, allocations: 7.938 kB / 275.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.008782, allocations: 138.3 kB / 275.7 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.008804, allocations: 0 / 275.7 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.008842, allocations: 4 kB / 275.7 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.008867, allocations: 11.98 kB / 275.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.008879, allocations: 11.92 kB / 275.7 MB, free: 9.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.00907, allocations: 303.2 kB / 276 MB, free: 9.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00907, allocations: 0 / 276 MB, free: 9.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.009209, allocations: 51.94 kB / 276.1 MB, free: 9.516 MB / 282.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.001572/0.01078, allocations: 0.5585 MB / 276.6 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.01089, allocations: 56.77 kB / 276.7 MB, free: 8.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.0109, allocations: 8 kB / 276.7 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.871e-05/0.01095, allocations: 40.7 kB / 276.8 MB, free: 8.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.01129, allocations: 385.2 kB / 277.1 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.01213, allocations: 0.6289 MB / 277.8 MB, free: 7.734 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.0122, allocations: 124.2 kB / 277.9 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.01226, allocations: 42.95 kB / 277.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.01238, allocations: 99.34 kB / 278 MB, free: 7.457 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01238, allocations: 0 / 278 MB, free: 7.457 MB / 282.7 MB Notification: Performance of Templates: time 0.006879/0.01926, allocations: 4.267 MB / 282.3 MB, free: 3.184 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8058246355503798]