Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009655/0.0009655, 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.001027/0.001027, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2784/0.2784, 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.Test68,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.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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 325.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.643e-05, allocations: 3.078 kB / 325.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003398/0.003425, allocations: 1.892 MB / 327.3 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.004771, allocations: 1.088 MB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.004854, allocations: 7.938 kB / 328.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.005287, allocations: 291.1 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.005698, allocations: 251 kB / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.005938, allocations: 111.6 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.00623, allocations: 267.7 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.006283, allocations: 14.44 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.006448, allocations: 143.7 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.006622, allocations: 172.1 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.006642, allocations: 12 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.006753, allocations: 59.78 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.006858, allocations: 132.5 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.006923, allocations: 75.64 kB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.007195, allocations: 271 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.007199, allocations: 0 / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0072, allocations: 0 / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.007207, allocations: 0 / 330.1 MB, free: 2.82 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.0006199/0.007827, allocations: 0.6394 MB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.007863, allocations: 8.031 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.007911, allocations: 32.91 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.008205, allocations: 298 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.008221, allocations: 384 / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.008234, allocations: 8.375 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.008378, allocations: 87.44 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.00839, allocations: 11.81 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.0084, allocations: 4 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.008409, allocations: 4 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.008445, allocations: 17.64 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.008619, allocations: 122.2 kB / 331.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.008741, allocations: 82.8 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.00877, allocations: 21.72 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.008784, allocations: 4 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.008907, allocations: 95.83 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.008908, allocations: 0 / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001864/0.009094, allocations: 115.2 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.00914, allocations: 85.05 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.009552, allocations: 0.5907 MB / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.00958, allocations: 29.7 kB / 332.3 MB, free: 412 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.009645, allocations: 145.3 kB / 332.5 MB, free: 260 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.009688, allocations: 31.73 kB / 332.5 MB, free: 228 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.009728, allocations: 25.7 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.009861, allocations: 366.7 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.009887, allocations: 10.83 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.009925, allocations: 47.41 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/0.009994, allocations: 72.33 kB / 333 MB, free: 15.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009996, allocations: 0 / 333 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001107/0.01011, allocations: 103.2 kB / 333.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01012, allocations: 10.28 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01013, allocations: 3.984 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.01014, allocations: 4 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.01023, allocations: 19.94 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.01023, allocations: 7.984 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.01028, allocations: 12.06 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-06/0.01029, allocations: 4 kB / 333.2 MB, free: 15.5 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 0.0001/0.01039, allocations: 125.2 kB / 333.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.01042, allocations: 35.94 kB / 333.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.01058, allocations: 109.9 kB / 333.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01058, allocations: 3.938 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.01059, allocations: 3.938 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.0106, allocations: 7.984 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.01073, allocations: 173.8 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01074, allocations: 8 kB / 333.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.01077, allocations: 8 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01077, allocations: 3.984 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.01078, allocations: 4 kB / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01078, allocations: 0 / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01079, allocations: 0 / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.01091, allocations: 142 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.01096, allocations: 51.66 kB / 333.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.01098, allocations: 3.984 kB / 333.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-05/0.01103, allocations: 8 kB / 333.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.01107, allocations: 7.984 kB / 333.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.01108, allocations: 11.94 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.0113, allocations: 323.2 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0113, allocations: 0 / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.01146, allocations: 40 kB / 334.2 MB, free: 14.39 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.001183/0.01265, allocations: 0.4935 MB / 334.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01277, allocations: 64.69 kB / 334.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.01278, allocations: 8 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.01282, allocations: 36.91 kB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.01306, allocations: 80.16 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/0.01381, allocations: 0.6381 MB / 335.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.973e-05/0.01389, allocations: 128.2 kB / 335.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.01397, allocations: 51.38 kB / 335.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.01409, allocations: 95.36 kB / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01409, allocations: 0 / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Templates: time 0.007784/0.02187, allocations: 4.255 MB / 340.1 MB, free: 8.832 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.187292145099491]