Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001277/0.001277, 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.001682/0.001682, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.012/1.012, 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.2658/0.2658, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 325.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.402e-05, allocations: 5.359 kB / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002675/0.002709, allocations: 1.819 MB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003922, allocations: 0.9981 MB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.003995, allocations: 0 / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.004278, allocations: 43.7 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.004513, allocations: 103.5 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.004658, allocations: 75.61 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.004801, allocations: 104.2 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.004883, allocations: 7.984 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.004975, allocations: 59.77 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.005047, allocations: 27.91 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.005063, allocations: 4 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.005139, allocations: 43.92 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.005189, allocations: 23.91 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.005219, allocations: 19.88 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.005377, allocations: 99.66 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005379, allocations: 4 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00538, allocations: 0 / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.005384, allocations: 0 / 328.8 MB, free: 4.105 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003486/0.005733, allocations: 325.5 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.005761, allocations: 8.031 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.005791, allocations: 12.92 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005937, allocations: 143.4 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.005953, allocations: 8.375 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.005966, allocations: 384 / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.006069, allocations: 69.7 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.006079, allocations: 7.938 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.006085, allocations: 0 / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.00609, allocations: 0 / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.006114, allocations: 15.92 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.006307, allocations: 165.9 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.006388, allocations: 85.36 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.006407, allocations: 12.86 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.006418, allocations: 0 / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.309e-05/0.006511, allocations: 74.09 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.006513, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002589/0.006772, allocations: 113.5 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.006798, allocations: 55.41 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006902, allocations: 169.3 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.006926, allocations: 33.69 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.006966, allocations: 100.1 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.006994, allocations: 27.78 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.007025, allocations: 21.7 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.007099, allocations: 322.8 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.007117, allocations: 18.81 kB / 330.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.007142, allocations: 21.7 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.007185, allocations: 44.45 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007186, allocations: 0 / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.422e-05/0.00726, allocations: 72.42 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.007271, allocations: 4 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007275, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.007287, allocations: 7.938 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.007343, allocations: 12 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.007346, allocations: 4.031 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.007374, allocations: 15.98 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.007378, allocations: 0 / 330.7 MB, free: 1.996 MB / 298.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 (10): * Single equations (assignments): 10 * 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 6.422e-05/0.007443, allocations: 116.7 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.007457, allocations: 15.92 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/0.007557, allocations: 71.08 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007559, allocations: 0 / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.00756, allocations: 0 / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.007564, allocations: 7.922 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.007776, allocations: 307.5 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007777, allocations: 0 / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.007803, allocations: 8 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007806, allocations: 4 kB / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.007812, allocations: 0 / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007813, allocations: 0 / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.007814, allocations: 0 / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.953e-05/0.007914, allocations: 227 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.007923, allocations: 7.953 kB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.007937, allocations: 0 / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.007976, allocations: 8.375 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.008, allocations: 8.016 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.008012, allocations: 7.938 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.008052, allocations: 51.64 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008052, allocations: 0 / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.008186, allocations: 23.94 kB / 331.6 MB, free: 1.074 MB / 298.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: 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 (9): * Single equations (assignments): 7 * 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.0012/0.009386, allocations: 0.5752 MB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.473e-05/0.009481, allocations: 44.77 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.009485, allocations: 4 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.009513, allocations: 20.84 kB / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.009688, allocations: 37.73 kB / 332.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.009986, allocations: 219.8 kB / 332.5 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.01002, allocations: 75.33 kB / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.314e-05/0.01006, allocations: 13.28 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.01012, allocations: 67.36 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01012, allocations: 0 / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of Templates: time 0.003498/0.01362, allocations: 2.024 MB / 334.6 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.9774587056599557]