Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0007931/0.0007931, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.00182, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000693/0.000693, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008556/0.001549, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.962/0.962, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09886/1.061, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2472/0.2472, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02124/0.2685, allocations: 13.09 MB / 291.3 MB, free: 7.383 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.008e-05, allocations: 7.078 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.001977/0.001997, allocations: 1.829 MB / 294.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003141, allocations: 1.022 MB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.003205, allocations: 3.938 kB / 295.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.003408, allocations: 103.7 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.003628, allocations: 135.3 kB / 295.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.003795, allocations: 79.66 kB / 295.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.003952, allocations: 139.5 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.805e-05/0.00403, allocations: 7.984 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.004156, allocations: 103.8 kB / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.004243, allocations: 63.86 kB / 296.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.00426, allocations: 8 kB / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.004349, allocations: 59.86 kB / 296.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.004389, allocations: 31.86 kB / 296.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.004423, allocations: 15.94 kB / 296.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004578, allocations: 123.5 kB / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.004592, allocations: 0 / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004592, allocations: 0 / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.004606, allocations: 0 / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004146/0.005021, allocations: 388.7 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.005047, allocations: 12.03 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.005079, allocations: 12.92 kB / 296.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.005222, allocations: 158.5 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.005236, allocations: 8.312 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.005252, allocations: 4.375 kB / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.005361, allocations: 69.75 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.00537, allocations: 7.875 kB / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.005377, allocations: 0 / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005381, allocations: 0 / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.005418, allocations: 23.98 kB / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.00562, allocations: 181.9 kB / 297.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.005763, allocations: 97.31 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.005784, allocations: 13.02 kB / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.005795, allocations: 0 / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/0.005888, allocations: 74.12 kB / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.005889, allocations: 4 kB / 297.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004041/0.006293, allocations: 185.9 kB / 297.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.006323, allocations: 63.39 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006436, allocations: 213.7 kB / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.006452, allocations: 29.7 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.006481, allocations: 96.11 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.006513, allocations: 43.67 kB / 298.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.006545, allocations: 29.69 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.006618, allocations: 326.8 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.006638, allocations: 14.83 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.006667, allocations: 36.02 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.326e-05/0.00672, allocations: 65.02 kB / 298.5 MB, free: 204 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006721, allocations: 0 / 298.5 MB, free: 204 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.288e-05/0.006804, allocations: 84.42 kB / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.006815, allocations: 8 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006819, allocations: 0 / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.006827, allocations: 0 / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.006897, allocations: 27.92 kB / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.006901, allocations: 4 kB / 298.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.006926, allocations: 4 kB / 298.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.006932, allocations: 4 kB / 298.7 MB, free: 64 kB / 282.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 (14): * Single equations (assignments): 14 * 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.356e-05/0.007006, allocations: 128.6 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.00702, allocations: 11.98 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.00714, allocations: 103 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007142, allocations: 0 / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007144, allocations: 3.984 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007147, allocations: 0 / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.0074, allocations: 346 kB / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007401, allocations: 0 / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.007443, allocations: 23.98 kB / 299.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.007457, allocations: 19.97 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007459, allocations: 0 / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.007468, allocations: 8 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007469, allocations: 3.938 kB / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.00747, allocations: 0 / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007583, allocations: 247.9 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.007603, allocations: 8 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.007643, allocations: 0 / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.007667, allocations: 15.98 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.007682, allocations: 11.92 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.495e-05/0.007737, allocations: 77.88 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007737, allocations: 0 / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.007895, allocations: 31.94 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001435/0.00933, allocations: 0.7167 MB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.009434, allocations: 56.77 kB / 300.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.009443, allocations: 4 kB / 300.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.009481, allocations: 44.83 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.009668, allocations: 51.42 kB / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.01015, allocations: 293 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.01019, allocations: 75.78 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.01024, allocations: 25.12 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.01031, allocations: 75.42 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01031, allocations: 4 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Templates: time 0.004137/0.01444, allocations: 2.478 MB / 303.5 MB, free: 11.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.9529297407716513]