Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001402/0.001402, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001102/0.001102, allocations: 170.1 kB / 24.91 MB, free: 8.723 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.9934/0.9934, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.162/0.162, allocations: 34.26 MB / 296.1 MB, free: 13.98 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 325.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.668e-05, allocations: 5.266 kB / 325.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003309/0.003336, allocations: 1.988 MB / 327.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.004835, allocations: 1.107 MB / 328.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.004931, allocations: 4 kB / 328.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.005375, allocations: 227.2 kB / 328.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.005792, allocations: 211.1 kB / 328.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.006023, allocations: 123.6 kB / 329 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.006298, allocations: 263.2 kB / 329.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.0064, allocations: 22.61 kB / 329.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.006565, allocations: 147.6 kB / 329.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.006721, allocations: 139.6 kB / 329.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.006742, allocations: 8 kB / 329.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.846e-05/0.00684, allocations: 59.92 kB / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.00691, allocations: 63.77 kB / 329.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.006964, allocations: 55.78 kB / 329.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.007195, allocations: 195.1 kB / 330 MB, free: 12.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.007197, allocations: 0 / 330 MB, free: 12.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007198, allocations: 0 / 330 MB, free: 12.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.007203, allocations: 4 kB / 330 MB, free: 12.03 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004628/0.007666, allocations: 478.9 kB / 330.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.007695, allocations: 8.031 kB / 330.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.007738, allocations: 24.91 kB / 330.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.007935, allocations: 213.8 kB / 330.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.00795, allocations: 4.375 kB / 330.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.007972, allocations: 12.38 kB / 330.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.008112, allocations: 114.9 kB / 330.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.008122, allocations: 3.938 kB / 330.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.008131, allocations: 4 kB / 330.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.008136, allocations: 8 kB / 330.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.971e-05/0.008176, allocations: 29.58 kB / 330.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.008473, allocations: 304.8 kB / 331.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.008664, allocations: 178.6 kB / 331.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.008696, allocations: 33.84 kB / 331.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.008708, allocations: 4 kB / 331.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.008828, allocations: 107.8 kB / 331.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.008829, allocations: 0 / 331.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005734/0.009402, allocations: 311.2 kB / 331.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.00944, allocations: 93.03 kB / 331.9 MB, free: 9.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.009635, allocations: 320.6 kB / 332.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.009654, allocations: 33.7 kB / 332.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.009703, allocations: 117.5 kB / 332.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.009752, allocations: 75.38 kB / 332.4 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.009796, allocations: 45.69 kB / 332.4 MB, free: 9.367 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.009882, allocations: 354.7 kB / 332.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.009914, allocations: 26.81 kB / 332.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.501e-05/0.009959, allocations: 52.06 kB / 332.9 MB, free: 8.922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.04e-05/0.01005, allocations: 109.1 kB / 333 MB, free: 8.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.01005, allocations: 0 / 333 MB, free: 8.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001326/0.01018, allocations: 143.1 kB / 333.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.01019, allocations: 8.062 kB / 333.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.0102, allocations: 4 kB / 333.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.01021, allocations: 0 / 333.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.0103, allocations: 47.92 kB / 333.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.0103, allocations: 0 / 333.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.01035, allocations: 15.86 kB / 333.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.01036, allocations: 8 kB / 333.2 MB, free: 8.57 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.971e-05/0.01044, allocations: 128.6 kB / 333.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.01047, allocations: 23.97 kB / 333.3 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.01065, allocations: 153.4 kB / 333.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01065, allocations: 8 kB / 333.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01065, allocations: 3.984 kB / 333.5 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01066, allocations: 3.938 kB / 333.5 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.01105, allocations: 0.5633 MB / 334.1 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01106, allocations: 0 / 334.1 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.01111, allocations: 31.92 kB / 334.1 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01112, allocations: 7.938 kB / 334.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01113, allocations: 8 kB / 334.1 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.01113, allocations: 12.11 kB / 334.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01113, allocations: 0 / 334.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.01133, allocations: 415.5 kB / 334.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.01135, allocations: 31.7 kB / 334.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.01138, allocations: 11.98 kB / 334.6 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.01145, allocations: 8 kB / 334.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.01149, allocations: 15.97 kB / 334.6 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.01151, allocations: 15.98 kB / 334.6 MB, free: 7.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.01161, allocations: 139.4 kB / 334.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 334.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01181, allocations: 55.94 kB / 334.8 MB, free: 6.863 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001416/0.01323, allocations: 0.6687 MB / 335.5 MB, free: 6.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.01339, allocations: 98.88 kB / 335.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.0134, allocations: 4 kB / 335.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.01346, allocations: 57.02 kB / 335.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01374, allocations: 67.52 kB / 335.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.01425, allocations: 491.1 kB / 336.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.164e-05/0.01431, allocations: 100.3 kB / 336.3 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.189e-05/0.01438, allocations: 45.91 kB / 336.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01448, allocations: 91.34 kB / 336.4 MB, free: 5.504 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01448, allocations: 0 / 336.4 MB, free: 5.504 MB / 314.7 MB Notification: Performance of Templates: time 0.005223/0.01971, allocations: 3.64 MB / 340 MB, free: 1.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.151973258238286]