Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.000985/0.000985, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001432/0.001432, allocations: 172 kB / 24.91 MB, free: 8.613 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2503/0.2503, allocations: 34.27 MB / 296.1 MB, free: 0.7109 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.547e-05, allocations: 5.719 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002597/0.002623, allocations: 1.81 MB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003867, allocations: 1.006 MB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.003937, allocations: 4 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.004204, allocations: 47.69 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.004454, allocations: 95.48 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.004601, allocations: 83.59 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.004736, allocations: 99.69 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.004807, allocations: 15.98 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.004881, allocations: 55.78 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.004946, allocations: 27.89 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004961, allocations: 4 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.005084, allocations: 47.92 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.005127, allocations: 27.86 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.005161, allocations: 20.42 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.005314, allocations: 103.6 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.005315, allocations: 0 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005316, allocations: 0 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.00532, allocations: 0 / 328.8 MB, free: 4.098 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.0003312/0.005651, allocations: 345.4 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.00568, allocations: 12.03 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.005709, allocations: 4.938 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.005854, allocations: 146.4 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.005869, allocations: 12.36 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.005885, allocations: 4.359 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.005976, allocations: 65.77 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.005986, allocations: 3.938 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.005992, allocations: 0 / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005997, allocations: 0 / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.006022, allocations: 11.94 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.006284, allocations: 169.9 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.006366, allocations: 85.36 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.006386, allocations: 16.84 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.006395, allocations: 0 / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.183e-05/0.006477, allocations: 74.08 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.006478, allocations: 0 / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002834/0.006761, allocations: 117.5 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.006791, allocations: 51.41 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.006907, allocations: 197.6 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.006925, allocations: 33.7 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.006962, allocations: 104 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.006985, allocations: 19.8 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.007016, allocations: 29.69 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.00709, allocations: 326.8 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.007104, allocations: 6.828 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.007125, allocations: 25.7 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.007165, allocations: 44.45 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007166, allocations: 4 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.436e-05/0.00724, allocations: 72.44 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.007249, allocations: 4 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.007253, allocations: 0 / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.007267, allocations: 4 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.007324, allocations: 19.92 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.007326, allocations: 0 / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.007352, allocations: 8 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.007358, allocations: 4 kB / 330.8 MB, free: 1.934 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 5.766e-05/0.007416, allocations: 120.7 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.007429, allocations: 11.94 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.007518, allocations: 79.06 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007519, allocations: 0 / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.007521, allocations: 0 / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007524, allocations: 0 / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.007796, allocations: 299.6 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.007799, allocations: 7.984 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.007822, allocations: 8 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.007823, allocations: 0 / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.007828, allocations: 4.031 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.00783, allocations: 4 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007831, allocations: 0 / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.277e-05/0.007924, allocations: 219 kB / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.007936, allocations: 15.89 kB / 331.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.007952, allocations: 4 kB / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.007988, allocations: 384 / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.008012, allocations: 11.98 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.008022, allocations: 4 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.008068, allocations: 56.23 kB / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008068, allocations: 11.88 kB / 331.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.008213, allocations: 31.92 kB / 331.7 MB, free: 0.9883 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.001217/0.00943, allocations: 0.5671 MB / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.863e-05/0.009519, allocations: 52.77 kB / 332.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.009522, allocations: 0 / 332.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.009551, allocations: 24.84 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.009722, allocations: 31.02 kB / 332.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.01, allocations: 250.4 kB / 332.6 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.01004, allocations: 71.33 kB / 332.6 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.538e-05/0.01007, allocations: 13.41 kB / 332.7 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.01014, allocations: 75.36 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01014, allocations: 0 / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of Templates: time 0.003236/0.01337, allocations: 2.017 MB / 334.8 MB, free: 14.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.996145272627473]