Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001014/0.001014, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009281/0.0009281, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9043/0.9043, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1565/0.1565, allocations: 34.27 MB / 296.9 MB, free: 13.9 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.671e-05, allocations: 6.25 kB / 379.4 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00258/0.002607, allocations: 1.766 MB / 381.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003677, allocations: 0.9974 MB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.003765, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.004041, allocations: 87.62 kB / 382.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.004343, allocations: 127.4 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.004535, allocations: 79.61 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004685, allocations: 123.7 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.004774, allocations: 19.92 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.004862, allocations: 67.75 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.004954, allocations: 67.86 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.00497, allocations: 4 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.516e-05/0.005065, allocations: 63.89 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.005112, allocations: 27.86 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.005144, allocations: 23.94 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.005314, allocations: 119.6 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005316, allocations: 4 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005317, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.005322, allocations: 0 / 383 MB, free: 19.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003713/0.005693, allocations: 471.6 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.005726, allocations: 12.02 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.005765, allocations: 20.84 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.005895, allocations: 153.2 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.005912, allocations: 8.375 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.005928, allocations: 4.375 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.006027, allocations: 62.92 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006038, allocations: 7.938 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.006045, allocations: 3.938 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00605, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.006077, allocations: 15.92 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.006315, allocations: 276.3 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.006466, allocations: 63.02 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.006488, allocations: 11.69 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.006503, allocations: 11.88 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.269e-05/0.006595, allocations: 69.16 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.006597, allocations: 0 / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004556/0.007052, allocations: 189.4 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.007078, allocations: 51.41 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.007181, allocations: 260.9 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.007198, allocations: 29.7 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.007239, allocations: 162.8 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.007271, allocations: 39.67 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.007309, allocations: 27.38 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.00736, allocations: 0.5117 MB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.007378, allocations: 8 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.007407, allocations: 43.28 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/0.007457, allocations: 51.3 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007458, allocations: 0 / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001034/0.007561, allocations: 113.5 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.007573, allocations: 4 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007577, allocations: 0 / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007588, allocations: 4 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.007643, allocations: 20 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.007646, allocations: 3.984 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.007675, allocations: 4 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.007681, allocations: 7.938 kB / 385.6 MB, free: 16.81 MB / 314.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 (13): * Single equations (assignments): 13 * 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 4.911e-05/0.007731, allocations: 164.5 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.007748, allocations: 23.94 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.007879, allocations: 119.8 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007882, allocations: 4 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.007884, allocations: 0 / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007887, allocations: 0 / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.008127, allocations: 413.1 kB / 386.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.008129, allocations: 0 / 386.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.008161, allocations: 23.92 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.008164, allocations: 0 / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.00817, allocations: 12.06 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008172, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.008174, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.008283, allocations: 279.3 kB / 386.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.008295, allocations: 15.91 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.008312, allocations: 7.984 kB / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.008355, allocations: 0 / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.008379, allocations: 19.86 kB / 386.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.008391, allocations: 4 kB / 386.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.008439, allocations: 179.1 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008439, allocations: 0 / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.008626, allocations: 31.94 kB / 386.9 MB, free: 15.45 MB / 314.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 (12): * Single equations (assignments): 10 * 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.0009835/0.009609, allocations: 487.2 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.009721, allocations: 67.52 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009723, allocations: 4.062 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.009758, allocations: 35.61 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.009992, allocations: 41.08 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.01031, allocations: 273.2 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.01034, allocations: 75.33 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.01038, allocations: 20.77 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.01045, allocations: 90.19 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01045, allocations: 0 / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Templates: time 0.003667/0.01411, allocations: 2.349 MB / 390.3 MB, free: 12.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.0670741368085146]