Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009384/0.0009384, allocations: 80.8 kB / 21.49 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.000988/0.000988, allocations: 172.2 kB / 24.92 MB, free: 9.113 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 0.9199/0.9199, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2937/0.2937, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.554e-05, allocations: 3.188 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002049/0.002064, allocations: 1.843 MB / 327.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.003375, allocations: 1.084 MB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.003449, allocations: 0 / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.003834, allocations: 299.1 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.004205, allocations: 259 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.00441, allocations: 111.6 kB / 328.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.004642, allocations: 267.7 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.004682, allocations: 14.45 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.004819, allocations: 147.6 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.004968, allocations: 176.1 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.004986, allocations: 8 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.00506, allocations: 47.91 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.005156, allocations: 140.5 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.005215, allocations: 75.64 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.005446, allocations: 274.9 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005448, allocations: 4 kB / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005449, allocations: 0 / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.005452, allocations: 4 kB / 330 MB, free: 2.891 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.0005184/0.005971, allocations: 0.6356 MB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.006, allocations: 8.031 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.006041, allocations: 28.91 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.006278, allocations: 294 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.006292, allocations: 4.375 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.006305, allocations: 8.359 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.006431, allocations: 95.38 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.006439, allocations: 3.938 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006447, allocations: 8 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006452, allocations: 0 / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.006484, allocations: 21.64 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.0066, allocations: 122.2 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.958e-05/0.006699, allocations: 74.8 kB / 331.3 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.006724, allocations: 25.72 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.006733, allocations: 0 / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.941e-05/0.006833, allocations: 103.8 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.006834, allocations: 0 / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001417/0.006975, allocations: 115.2 kB / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.007009, allocations: 81.05 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.007368, allocations: 0.5868 MB / 332.2 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.007383, allocations: 29.7 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.007438, allocations: 153.3 kB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.00747, allocations: 31.73 kB / 332.4 MB, free: 300 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.007499, allocations: 25.7 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.007596, allocations: 366.7 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.007615, allocations: 14.83 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.007643, allocations: 39.41 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/0.007699, allocations: 68.33 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007701, allocations: 0 / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.402e-05/0.007795, allocations: 115.2 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.007804, allocations: 4 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.007808, allocations: 3.984 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.00782, allocations: 8.062 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.007882, allocations: 19.94 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007885, allocations: 0 / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.007932, allocations: 11.98 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.007939, allocations: 7.938 kB / 333.1 MB, free: 15.57 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 7.197e-05/0.008011, allocations: 117.3 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.008038, allocations: 31.95 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.008154, allocations: 117.8 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008156, allocations: 4 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.008158, allocations: 7.938 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.008163, allocations: 3.984 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.008294, allocations: 169.6 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.008297, allocations: 3.984 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.008319, allocations: 8 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008322, allocations: 4 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008329, allocations: 3.984 kB / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.00833, allocations: 0 / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.00833, allocations: 0 / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.984e-05/0.00843, allocations: 143.1 kB / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.008474, allocations: 51.66 kB / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.008498, allocations: 8 kB / 333.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.008537, allocations: 11.98 kB / 333.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.008562, allocations: 7.984 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.008574, allocations: 7.938 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.008778, allocations: 315.2 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008778, allocations: 0 / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.008917, allocations: 40 kB / 334.1 MB, free: 14.48 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.0009691/0.009886, allocations: 0.5123 MB / 334.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.009974, allocations: 60.75 kB / 334.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.009978, allocations: 8 kB / 334.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.01001, allocations: 28.84 kB / 334.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.0102, allocations: 77.06 kB / 334.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.01078, allocations: 0.6459 MB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.037e-05/0.01085, allocations: 136.1 kB / 335.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.01091, allocations: 30.97 kB / 335.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01101, allocations: 99.34 kB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01101, allocations: 4 kB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of Templates: time 0.005716/0.01672, allocations: 4.255 MB / 340 MB, free: 8.906 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8539558751508594]