Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001033/0.001033, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.0009972/0.0009972, allocations: 165 kB / 24.56 MB, free: 20 kB / 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.9093/0.9093, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2646/0.2646, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.793e-05, allocations: 5.125 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003091/0.003119, allocations: 1.723 MB / 377.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.004734, allocations: 0.9936 MB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.004813, allocations: 4 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.005131, allocations: 63.67 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.005517, allocations: 111.4 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.005766, allocations: 71.67 kB / 379.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.005975, allocations: 115.6 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.006013, allocations: 8.234 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.006121, allocations: 55.88 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.006222, allocations: 47.81 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.006239, allocations: 4 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.006325, allocations: 35.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.006377, allocations: 15.94 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.00642, allocations: 19.92 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.006614, allocations: 87.66 kB / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006617, allocations: 0 / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006618, allocations: 0 / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006622, allocations: 4 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004996/0.007122, allocations: 443.9 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.007158, allocations: 8.031 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.007212, allocations: 12.84 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007407, allocations: 153.1 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.007428, allocations: 4.375 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.007443, allocations: 8.359 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.007571, allocations: 54.89 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.00758, allocations: 3.938 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.00759, allocations: 4 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.007599, allocations: 3.984 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.007637, allocations: 12 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.007802, allocations: 136.7 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.007918, allocations: 43.11 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.007956, allocations: 23.67 kB / 380.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007966, allocations: 0 / 380.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.008082, allocations: 68.98 kB / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/0.008084, allocations: 0 / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002299/0.008314, allocations: 85.53 kB / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.008366, allocations: 59.39 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.008542, allocations: 230.4 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.008558, allocations: 25.7 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.008624, allocations: 158.8 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.008656, allocations: 11.84 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.008698, allocations: 31.36 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.008835, allocations: 0.4962 MB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.008864, allocations: 4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.008902, allocations: 31.36 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.104e-05/0.008963, allocations: 35.38 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.008966, allocations: 0 / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001272/0.009093, allocations: 77.83 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.009106, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.009114, allocations: 7.938 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.009127, allocations: 0 / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.009202, allocations: 15.92 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.009207, allocations: 0 / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.009251, allocations: 11.95 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.009257, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.344e-05/0.009341, allocations: 164.5 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.009364, allocations: 11.95 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.009527, allocations: 86.77 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.009531, allocations: 3.984 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.009534, allocations: 4 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.009538, allocations: 3.984 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.009659, allocations: 144.6 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.009661, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.00969, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009692, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.0097, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.009706, allocations: 11.88 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.009708, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.009847, allocations: 112.3 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.009866, allocations: 11.95 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.009887, allocations: 4 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.009923, allocations: 7.922 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.009957, allocations: 0 / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.00997, allocations: 4.188 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01008, allocations: 172.1 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01008, allocations: 4 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.01033, allocations: 19.94 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001121/0.01145, allocations: 373.3 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01158, allocations: 47.59 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01158, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.01162, allocations: 27.66 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01187, allocations: 38.2 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.01225, allocations: 198.1 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.01228, allocations: 67.34 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.01233, allocations: 8.484 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.01236, allocations: 16.5 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01236, allocations: 4.062 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Templates: time 0.004602/0.01697, allocations: 1.757 MB / 385 MB, free: 11.51 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.9397235428914428]