Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001126/0.001126, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001024/0.001024, allocations: 170 kB / 24.91 MB, free: 8.695 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.9831/0.9831, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2884/0.2884, allocations: 32.81 MB / 294.6 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 323.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.23e-05, allocations: 2.312 kB / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002259/0.002281, allocations: 1.805 MB / 325.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003678, allocations: 1.009 MB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.003749, allocations: 0 / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.004036, allocations: 51.69 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.004307, allocations: 91.48 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.004481, allocations: 83.66 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.004657, allocations: 107.6 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.004741, allocations: 8.75 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.004843, allocations: 51.84 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.004929, allocations: 31.89 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.004945, allocations: 4 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.00501, allocations: 51.86 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.005053, allocations: 23.86 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.005093, allocations: 23.92 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.005278, allocations: 111.6 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00528, allocations: 0 / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005281, allocations: 0 / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.005284, allocations: 0 / 326.8 MB, free: 6.113 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.0004271/0.005711, allocations: 333.3 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.005747, allocations: 8.031 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.005784, allocations: 12.92 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.005982, allocations: 158.3 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.005995, allocations: 384 / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.006012, allocations: 4.375 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.006128, allocations: 61.77 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.00614, allocations: 3.938 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.006146, allocations: 0 / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.006154, allocations: 4 kB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.006184, allocations: 7.984 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.006418, allocations: 173.9 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.006517, allocations: 85.28 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.006541, allocations: 12.86 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.006552, allocations: 7.938 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.889e-05/0.006651, allocations: 66.14 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.006653, allocations: 4 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000324/0.006977, allocations: 113.5 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.007009, allocations: 51.41 kB / 327.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.007162, allocations: 193.6 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.007179, allocations: 29.7 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.007226, allocations: 104 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.007256, allocations: 27.73 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.007294, allocations: 25.69 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.007393, allocations: 326.8 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.007413, allocations: 10.83 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.007446, allocations: 25.7 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.007501, allocations: 40.52 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007502, allocations: 384 / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001011/0.007603, allocations: 72.38 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.007624, allocations: 11.98 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007629, allocations: 4.031 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.007643, allocations: 0 / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.007722, allocations: 19.94 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007726, allocations: 4 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.007778, allocations: 4 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.007791, allocations: 11.98 kB / 328.8 MB, free: 3.953 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 6.935e-05/0.00786, allocations: 112.7 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.007879, allocations: 19.92 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.008002, allocations: 71.08 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008005, allocations: 8 kB / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.008007, allocations: 0 / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.008019, allocations: 0 / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.008257, allocations: 299.4 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008259, allocations: 0 / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.008287, allocations: 8 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.00829, allocations: 4 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.008296, allocations: 0 / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008297, allocations: 0 / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.008299, allocations: 3.984 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.008406, allocations: 227 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.008419, allocations: 15.89 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.008433, allocations: 0 / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.008473, allocations: 7.984 kB / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.008499, allocations: 8 kB / 329.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.008511, allocations: 3.984 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.193e-05/0.008563, allocations: 60.23 kB / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008563, allocations: 0 / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00015/0.008713, allocations: 27.94 kB / 329.6 MB, free: 3.023 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.001279/0.009992, allocations: 0.577 MB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.01008, allocations: 40.83 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01008, allocations: 0 / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.01011, allocations: 28.78 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.01029, allocations: 38.98 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.01059, allocations: 242.5 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.01063, allocations: 75.27 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.01067, allocations: 17.27 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.01073, allocations: 67.38 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01073, allocations: 0 / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of Templates: time 0.003473/0.01421, allocations: 2.023 MB / 332.7 MB, free: 208 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.04963322263211]