Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.0009805/0.0009805, allocations: 80.92 kB / 21.5 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.001116/0.001116, allocations: 171.1 kB / 24.92 MB, free: 8.727 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.9542/0.9542, allocations: 177.2 MB / 205.3 MB, free: 4.477 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.1691/0.1691, allocations: 34.25 MB / 296.1 MB, free: 13.97 MB / 282.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.4 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.499e-05, allocations: 2.312 kB / 325.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002594/0.002619, allocations: 1.905 MB / 327.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.003965, allocations: 1.076 MB / 328.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.004053, allocations: 3.938 kB / 328.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.004587, allocations: 303.2 kB / 328.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.004994, allocations: 259 kB / 328.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.00523, allocations: 115.5 kB / 329 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.005525, allocations: 267.2 kB / 329.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.005577, allocations: 6.469 kB / 329.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.00576, allocations: 151.6 kB / 329.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.005939, allocations: 183.6 kB / 329.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.00596, allocations: 8 kB / 329.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.006074, allocations: 47.91 kB / 329.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.006193, allocations: 143.6 kB / 329.8 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.006268, allocations: 71.66 kB / 329.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.006585, allocations: 282.9 kB / 330.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.006591, allocations: 0 / 330.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.006593, allocations: 0 / 330.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.0066, allocations: 0 / 330.1 MB, free: 11.84 MB / 314.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.0006949/0.007295, allocations: 0.642 MB / 330.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.00733, allocations: 12.03 kB / 330.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.007377, allocations: 28.91 kB / 330.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.007649, allocations: 305.8 kB / 331.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.007666, allocations: 4.375 kB / 331.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.007676, allocations: 4.375 kB / 331.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.007809, allocations: 95.38 kB / 331.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.007818, allocations: 3.938 kB / 331.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.007826, allocations: 0 / 331.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.007835, allocations: 4 kB / 331.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.007868, allocations: 21.64 kB / 331.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.008009, allocations: 114.4 kB / 331.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.008116, allocations: 82.75 kB / 331.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.008142, allocations: 21.72 kB / 331.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.008153, allocations: 0 / 331.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.008265, allocations: 99.83 kB / 331.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.008266, allocations: 3.938 kB / 331.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000157/0.008423, allocations: 115.2 kB / 331.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.008456, allocations: 81.05 kB / 331.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.008822, allocations: 0.6062 MB / 332.4 MB, free: 9.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.008841, allocations: 29.7 kB / 332.4 MB, free: 9.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.008896, allocations: 153.3 kB / 332.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.008934, allocations: 27.78 kB / 332.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.008966, allocations: 25.72 kB / 332.6 MB, free: 9.191 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.009057, allocations: 370.7 kB / 333 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.009081, allocations: 10.83 kB / 333 MB, free: 8.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.009113, allocations: 50.89 kB / 333 MB, free: 8.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.06e-05/0.009174, allocations: 72.33 kB / 333.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009176, allocations: 0 / 333.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001034/0.00928, allocations: 111.2 kB / 333.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.009292, allocations: 4 kB / 333.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009297, allocations: 0 / 333.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.00931, allocations: 4 kB / 333.2 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.009387, allocations: 23.92 kB / 333.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.009391, allocations: 8.062 kB / 333.2 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.009439, allocations: 11.92 kB / 333.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.009447, allocations: 8 kB / 333.3 MB, free: 8.488 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 8.678e-05/0.009534, allocations: 125.2 kB / 333.4 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.009563, allocations: 27.97 kB / 333.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.009704, allocations: 117.9 kB / 333.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.009707, allocations: 0 / 333.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00971, allocations: 7.938 kB / 333.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009714, allocations: 0 / 333.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.009851, allocations: 173.7 kB / 333.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.009852, allocations: 0 / 333.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.009885, allocations: 12 kB / 333.7 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009888, allocations: 0 / 333.7 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.009895, allocations: 3.984 kB / 333.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009897, allocations: 0 / 333.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009898, allocations: 4 kB / 333.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.01001, allocations: 142.5 kB / 333.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.01006, allocations: 55.59 kB / 333.9 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01008, allocations: 4 kB / 333.9 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.01012, allocations: 7.984 kB / 333.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.01016, allocations: 15.98 kB / 333.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.01017, allocations: 3.938 kB / 333.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.01038, allocations: 327.2 kB / 334.3 MB, free: 7.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0 / 334.3 MB, free: 7.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000147/0.01053, allocations: 40 kB / 334.3 MB, free: 7.383 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.001145/0.01167, allocations: 0.5169 MB / 334.8 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01179, allocations: 52.78 kB / 334.9 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.0118, allocations: 8.125 kB / 334.9 MB, free: 7.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.01184, allocations: 32.78 kB / 334.9 MB, free: 7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.01205, allocations: 79.06 kB / 335 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.01281, allocations: 0.6607 MB / 335.7 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.835e-05/0.01289, allocations: 136.2 kB / 335.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.912e-05/0.01296, allocations: 38.95 kB / 335.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.01306, allocations: 99.34 kB / 335.9 MB, free: 5.938 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01307, allocations: 4 kB / 335.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of Templates: time 0.006544/0.01961, allocations: 4.309 MB / 340.2 MB, free: 1.703 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.1343563948757946]