Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.000958/0.000958, allocations: 80.8 kB / 21.5 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.001001/0.001001, allocations: 170.8 kB / 24.91 MB, free: 8.73 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.9675/0.9675, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2624/0.2624, allocations: 34.25 MB / 296.1 MB, free: 0.6016 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.484e-05, allocations: 7.562 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002439/0.002464, allocations: 1.759 MB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.003648, allocations: 1.006 MB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.003711, allocations: 0 / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.003949, allocations: 35.72 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.004187, allocations: 103.5 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.004329, allocations: 83.59 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.004463, allocations: 103.7 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.004532, allocations: 15.92 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.004609, allocations: 55.83 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.004672, allocations: 23.91 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.004684, allocations: 4 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.004752, allocations: 43.92 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.004794, allocations: 23.86 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.004823, allocations: 20.42 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.004967, allocations: 99.59 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.004969, allocations: 4 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00497, allocations: 4 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.004973, allocations: 0 / 328.7 MB, free: 4.207 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.0003207/0.005293, allocations: 309.6 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.005321, allocations: 8.031 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.005348, allocations: 8.922 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.005478, allocations: 145.6 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.00549, allocations: 4.375 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.005507, allocations: 4.375 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.005598, allocations: 65.7 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.005606, allocations: 11.88 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.005612, allocations: 0 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.005616, allocations: 0 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.005638, allocations: 11.98 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.005811, allocations: 174 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.889e-05/0.00589, allocations: 81.23 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.005907, allocations: 12.86 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.005916, allocations: 0 / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.438e-05/0.005991, allocations: 70.14 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.005991, allocations: 4 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002532/0.006244, allocations: 113.5 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.006272, allocations: 51.41 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.006362, allocations: 170.1 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.006376, allocations: 29.7 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.006406, allocations: 96.09 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.006431, allocations: 31.73 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.00646, allocations: 25.7 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.006528, allocations: 318.8 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.006543, allocations: 10.83 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.00657, allocations: 37.62 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.006607, allocations: 36.53 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006608, allocations: 0 / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.979e-05/0.006678, allocations: 80.36 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.006687, allocations: 4 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006691, allocations: 4 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.0067, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.006752, allocations: 15.98 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006755, allocations: 32 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.006779, allocations: 8.375 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.006783, allocations: 0 / 330.6 MB, free: 2.125 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.806e-05/0.006841, allocations: 128.6 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.006853, allocations: 11.94 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.989e-05/0.006943, allocations: 75.12 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.006944, allocations: 0 / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.006946, allocations: 4 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00695, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.007157, allocations: 291.5 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007158, allocations: 4.031 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.007183, allocations: 15.92 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.007184, allocations: 0 / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.007191, allocations: 8 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007192, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007194, allocations: 80 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.121e-05/0.007285, allocations: 219 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.007296, allocations: 11.91 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.007313, allocations: 11.98 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-05/0.00735, allocations: 0 / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.007371, allocations: 11.98 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.007381, allocations: 4 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.651e-05/0.007418, allocations: 48.34 kB / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007418, allocations: 0 / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.007552, allocations: 23.94 kB / 331.5 MB, free: 1.203 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.001172/0.008725, allocations: 0.5661 MB / 332 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.008798, allocations: 40.77 kB / 332.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.008801, allocations: 0 / 332.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.008829, allocations: 28.78 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.008989, allocations: 40 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.009256, allocations: 220 kB / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.009292, allocations: 75.45 kB / 332.4 MB, free: 488 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.009323, allocations: 17.27 kB / 332.4 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.009382, allocations: 63.38 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009382, allocations: 0 / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of Templates: time 0.003152/0.01253, allocations: 2.003 MB / 334.5 MB, free: 14.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.9321323591284454]