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.0009698/0.0009698, 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.001244/0.001244, 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.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2683/0.2683, 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.392e-06/1.392e-06, allocations: 0 / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.63e-05, allocations: 3.891 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002378/0.002404, allocations: 1.898 MB / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003828, allocations: 1.08 MB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.68e-05/0.003905, allocations: 4 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.004307, allocations: 299.1 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.004636, allocations: 255 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.004901, allocations: 107.6 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.005159, allocations: 267.7 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.005205, allocations: 10.45 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.00536, allocations: 155.6 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.005529, allocations: 168.1 kB / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.005548, allocations: 8 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.005635, allocations: 55.84 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.005739, allocations: 136.5 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.005803, allocations: 71.66 kB / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.006085, allocations: 282.9 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.006086, allocations: 0 / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006087, allocations: 0 / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.006092, allocations: 0 / 330.1 MB, free: 2.785 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.0005273/0.006619, allocations: 0.6356 MB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.006648, allocations: 8.031 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.00669, allocations: 28.91 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.006945, allocations: 301.9 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.00696, allocations: 384 / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.006969, allocations: 4.375 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.007092, allocations: 91.44 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007103, allocations: 7.875 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.00711, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.007117, allocations: 4 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.007149, allocations: 29.58 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.007285, allocations: 118.3 kB / 331.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.00739, allocations: 74.86 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.007417, allocations: 25.7 kB / 331.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.00743, allocations: 7.938 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.007535, allocations: 91.89 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.31e-07/0.007535, allocations: 4 kB / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001533/0.007689, allocations: 111.2 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.007726, allocations: 85.05 kB / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.008096, allocations: 0.5868 MB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.008111, allocations: 29.7 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.008168, allocations: 145.3 kB / 332.5 MB, free: 232 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.008206, allocations: 35.72 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.008238, allocations: 21.72 kB / 332.5 MB, free: 168 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.008345, allocations: 374.6 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.008368, allocations: 14.83 kB / 332.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.008399, allocations: 43.41 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.555e-05/0.008464, allocations: 76.31 kB / 333 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008467, allocations: 0 / 333 MB, free: 15.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001019/0.008569, allocations: 103.2 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.008581, allocations: 6.344 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.008588, allocations: 4 kB / 333.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.008599, allocations: 0 / 333.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.008672, allocations: 31.92 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.008675, allocations: 4 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.008725, allocations: 8 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.008734, allocations: 7.984 kB / 333.2 MB, free: 15.46 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.805e-05/0.008812, allocations: 117.3 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.008839, allocations: 27.97 kB / 333.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.008969, allocations: 121.8 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008971, allocations: 0 / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008974, allocations: 7.938 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008978, allocations: 0 / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.009118, allocations: 181.8 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.009121, allocations: 4 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.009149, allocations: 11.94 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.009152, allocations: 4 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.009158, allocations: 0 / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.00916, allocations: 0 / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.009162, allocations: 3.984 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.009269, allocations: 135.2 kB / 333.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.009314, allocations: 51.66 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.009338, allocations: 0 / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.009376, allocations: 15.98 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.009405, allocations: 7.984 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.009417, allocations: 7.938 kB / 333.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.009627, allocations: 315.2 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.009627, allocations: 0 / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.009781, allocations: 47.92 kB / 334.2 MB, free: 14.36 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.001045/0.01083, allocations: 0.5041 MB / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.803e-05/0.01092, allocations: 60.77 kB / 334.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.01093, allocations: 8 kB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.01097, allocations: 32.78 kB / 334.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.01117, allocations: 78.19 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.0118, allocations: 0.6381 MB / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.091e-05/0.01188, allocations: 136.2 kB / 335.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.869e-05/0.01195, allocations: 39.45 kB / 335.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.01205, allocations: 95.34 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01205, allocations: 4 kB / 335.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of Templates: time 0.006054/0.01811, allocations: 4.262 MB / 340.1 MB, free: 8.797 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 -s gbode -gbm=radauIIA3 -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: 3.0217442349530756]