Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001272/0.001272, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001321/0.001321, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2425/0.2425, allocations: 32.81 MB / 294.6 MB, free: 1.281 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 376.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.355e-05, allocations: 2.312 kB / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002477/0.002501, allocations: 1.77 MB / 377.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.00378, allocations: 1.001 MB / 378.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.003866, allocations: 3.938 kB / 378.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.004169, allocations: 43.77 kB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.004478, allocations: 103.4 kB / 379 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.004655, allocations: 75.66 kB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.004804, allocations: 107.6 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.00489, allocations: 8 kB / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.004969, allocations: 59.81 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.005035, allocations: 23.92 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.005049, allocations: 4 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.964e-05/0.005129, allocations: 47.91 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.00518, allocations: 27.8 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.005218, allocations: 15.94 kB / 379.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005388, allocations: 103.6 kB / 379.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.00539, allocations: 0 / 379.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005391, allocations: 0 / 379.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.005395, allocations: 0 / 379.5 MB, free: 1.516 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004624/0.005857, allocations: 463.8 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.005893, allocations: 8.031 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.00594, allocations: 12.89 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.006104, allocations: 160.8 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.006122, allocations: 4.375 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.006142, allocations: 4.375 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.006258, allocations: 62.94 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.00627, allocations: 7.922 kB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.006278, allocations: 0 / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.006286, allocations: 0 / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.006324, allocations: 15.98 kB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.006623, allocations: 283.8 kB / 380.5 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.006723, allocations: 55.11 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.006754, allocations: 23.61 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.006767, allocations: 4 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.531e-05/0.006862, allocations: 65.05 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.006863, allocations: 0 / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003715/0.007235, allocations: 161.5 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.007265, allocations: 55.41 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.007413, allocations: 237.9 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.007426, allocations: 33.64 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.007479, allocations: 154.8 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.007504, allocations: 23.8 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.007537, allocations: 31.36 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.007646, allocations: 0.4962 MB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.007669, allocations: 12.17 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.007705, allocations: 35.38 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/0.00776, allocations: 51.3 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007761, allocations: 4 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.007864, allocations: 93.56 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.007877, allocations: 11.94 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007882, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007894, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.007962, allocations: 19.92 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.007968, allocations: 4 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.007998, allocations: 3.953 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.008004, allocations: 4 kB / 382 MB, free: 14.73 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 (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 7.707e-05/0.008081, allocations: 168.5 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.008098, allocations: 15.94 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.008249, allocations: 103.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.008253, allocations: 4 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.008257, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008262, allocations: 3.984 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.008553, allocations: 393 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.008556, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.008583, allocations: 12 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008586, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.008596, allocations: 8.016 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.008599, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008599, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.008749, allocations: 259.4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.00876, allocations: 11.91 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.008777, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.008818, allocations: 4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.008857, allocations: 19.91 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.008868, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.395e-05/0.008952, allocations: 184.1 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008952, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000182/0.009134, allocations: 23.94 kB / 383.2 MB, free: 13.45 MB / 362.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.0009462/0.01008, allocations: 436.6 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.0102, allocations: 55.59 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0102, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.01024, allocations: 31.67 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.01046, allocations: 38.23 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.01077, allocations: 230 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.01081, allocations: 71.34 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.01085, allocations: 17.27 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.01088, allocations: 16.5 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01088, allocations: 0 / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Templates: time 0.003757/0.01463, allocations: 1.871 MB / 386 MB, free: 10.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.2402162421494722]