Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.0009078/0.0009078, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002189, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007214/0.0007214, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009772/0.001699, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9939/0.9939, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1718/1.166, allocations: 49.5 MB / 220.5 MB, free: 5.27 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.1595/0.1595, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02049/0.18, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 267.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.279e-05, allocations: 6.25 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001838/0.001851, allocations: 1.848 MB / 269.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009093/0.00276, allocations: 0.8931 MB / 270 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.00283, allocations: 0 / 270 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.003164, allocations: 295.2 kB / 270.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.003384, allocations: 219.2 kB / 270.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.003588, allocations: 135.6 kB / 270.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.003795, allocations: 247.3 kB / 270.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.003835, allocations: 6.469 kB / 270.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.004016, allocations: 208.2 kB / 271.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.004165, allocations: 168.1 kB / 271.3 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.004185, allocations: 4 kB / 271.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.004255, allocations: 39.98 kB / 271.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.004344, allocations: 132.3 kB / 271.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.0044, allocations: 55.75 kB / 271.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.00462, allocations: 266.9 kB / 271.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.004635, allocations: 0 / 271.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004635, allocations: 0 / 271.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.004651, allocations: 0 / 271.8 MB, free: 1.953 MB / 266.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.0006005/0.005252, allocations: 0.673 MB / 272.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.005281, allocations: 12.02 kB / 272.4 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.005322, allocations: 24.91 kB / 272.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.005559, allocations: 289.9 kB / 272.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.005574, allocations: 4.375 kB / 272.8 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.005587, allocations: 20.3 kB / 272.8 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.005714, allocations: 87.44 kB / 272.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005722, allocations: 3.938 kB / 272.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.005732, allocations: 7.984 kB / 272.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005737, allocations: 0 / 272.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.298e-05/0.00577, allocations: 21.64 kB / 272.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.005884, allocations: 114.3 kB / 273 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.005985, allocations: 82.84 kB / 273.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.006014, allocations: 25.7 kB / 273.1 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.006025, allocations: 4 kB / 273.1 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.006139, allocations: 99.78 kB / 273.2 MB, free: 372 kB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 7.41e-07/0.00614, allocations: 0 / 273.2 MB, free: 372 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001482/0.006288, allocations: 107.7 kB / 273.3 MB, free: 256 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.006325, allocations: 81.05 kB / 273.4 MB, free: 156 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.00669, allocations: 0.579 MB / 274 MB, free: 15.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.006705, allocations: 29.69 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.00676, allocations: 145.3 kB / 274.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.006794, allocations: 31.77 kB / 274.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.00683, allocations: 25.7 kB / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.006942, allocations: 362.7 kB / 274.6 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.006966, allocations: 18.81 kB / 274.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.007, allocations: 51.34 kB / 274.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.00706, allocations: 67.95 kB / 274.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007062, allocations: 0 / 274.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001059/0.007168, allocations: 111.2 kB / 274.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.007181, allocations: 7.938 kB / 274.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007186, allocations: 0 / 274.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.007196, allocations: 4 kB / 274.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.007273, allocations: 27.92 kB / 274.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.007277, allocations: 3.938 kB / 274.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.007323, allocations: 11.95 kB / 274.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007329, allocations: 4 kB / 274.9 MB, free: 14.61 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.611e-05/0.007405, allocations: 132.6 kB / 275 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.00743, allocations: 27.97 kB / 275 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.007558, allocations: 117.6 kB / 275.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00756, allocations: 256 / 275.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.007565, allocations: 7.938 kB / 275.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.00757, allocations: 4 kB / 275.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.007692, allocations: 157.7 kB / 275.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.007695, allocations: 4 kB / 275.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.007724, allocations: 11.98 kB / 275.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.00777, allocations: 51.66 kB / 275.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007772, allocations: 3.984 kB / 275.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.007779, allocations: 8 kB / 275.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007779, allocations: 0 / 275.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.007782, allocations: 3.938 kB / 275.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.007882, allocations: 130.4 kB / 275.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.007906, allocations: 7.984 kB / 275.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.007941, allocations: 11.94 kB / 275.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.007969, allocations: 7.984 kB / 275.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.00798, allocations: 7.938 kB / 275.5 MB, free: 13.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001944/0.008175, allocations: 307.2 kB / 275.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008175, allocations: 0 / 275.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.00831, allocations: 47.94 kB / 275.9 MB, free: 13.52 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.001039/0.009349, allocations: 0.5546 MB / 276.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.009442, allocations: 56.77 kB / 276.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.009451, allocations: 8 kB / 276.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.009482, allocations: 20.86 kB / 276.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.009684, allocations: 102.7 kB / 276.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.01036, allocations: 0.6367 MB / 277.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.075e-05/0.01043, allocations: 124.2 kB / 277.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.01049, allocations: 42.94 kB / 277.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.01059, allocations: 95.34 kB / 277.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01059, allocations: 0 / 277.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of Templates: time 0.005712/0.0163, allocations: 4.266 MB / 281.8 MB, free: 7.543 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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: 2.9819005271419883]