Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.00112/0.00112, allocations: 80.41 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.001336/0.001336, allocations: 173.7 kB / 25.61 MB, free: 8.926 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.01/1.01, allocations: 177.2 MB / 206.1 MB, free: 4.492 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.1519/0.1519, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.894e-05, allocations: 2.312 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002251/0.00227, allocations: 1.75 MB / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.003675, allocations: 1.711 MB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.003768, allocations: 11.94 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.004041, allocations: 39.7 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.004315, allocations: 103.5 kB / 381 MB, free: 21.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.004459, allocations: 87.53 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.004577, allocations: 107.6 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.004649, allocations: 7.984 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.004716, allocations: 59.78 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.004801, allocations: 35.89 kB / 381.3 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.004814, allocations: 4 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.004935, allocations: 103.9 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.004978, allocations: 23.92 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.005004, allocations: 19.92 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.005191, allocations: 159.4 kB / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005192, allocations: 0 / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005193, allocations: 0 / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005197, allocations: 0 / 381.6 MB, free: 21.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004021/0.005599, allocations: 467.7 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.005635, allocations: 11.98 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.005675, allocations: 12.89 kB / 382.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.005825, allocations: 149 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.005844, allocations: 4.375 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.005862, allocations: 4.375 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.005994, allocations: 111.3 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.006006, allocations: 3.984 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.006013, allocations: 4 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.00602, allocations: 3.984 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.006045, allocations: 4 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.006228, allocations: 264.4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.006296, allocations: 55.03 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.006314, allocations: 19.69 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.006324, allocations: 4 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/0.006388, allocations: 61.03 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.006389, allocations: 4 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002618/0.006651, allocations: 137.4 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.006673, allocations: 85.11 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.006748, allocations: 208.7 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-06/0.006756, allocations: 25.7 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.006784, allocations: 146.8 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.006804, allocations: 19.86 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.006831, allocations: 43.28 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.006876, allocations: 0.4961 MB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.006891, allocations: 8 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.006918, allocations: 64.75 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.006953, allocations: 47.34 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006954, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.345e-05/0.007027, allocations: 77.58 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.007037, allocations: 8 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.00704, allocations: 0 / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.007049, allocations: 4.062 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.0071, allocations: 23.92 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.007103, allocations: 4 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.007131, allocations: 11.83 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.007136, allocations: 4 kB / 384.1 MB, free: 18.45 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 (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 4.739e-05/0.007184, allocations: 171.7 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.007198, allocations: 7.953 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.007298, allocations: 102.5 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.0073, allocations: 4 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007302, allocations: 4 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007305, allocations: 0 / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.007482, allocations: 357.6 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007483, allocations: 0 / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.007504, allocations: 15.98 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007507, allocations: 4 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.007512, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.007513, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007515, allocations: 4 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.007603, allocations: 255.4 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.007612, allocations: 11.98 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.007627, allocations: 4 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.007667, allocations: 8.359 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.007687, allocations: 4 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.007696, allocations: 3.984 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.007735, allocations: 170.3 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007735, allocations: 0 / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000195/0.00793, allocations: 47.81 kB / 385.3 MB, free: 17.23 MB / 314.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.001076/0.009006, allocations: 0.5325 MB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.009098, allocations: 51.61 kB / 385.9 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009099, allocations: 0 / 385.9 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.009126, allocations: 31.66 kB / 385.9 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.00933, allocations: 37.92 kB / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.009549, allocations: 207.6 kB / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.044e-05/0.00957, allocations: 63.34 kB / 386.2 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.009605, allocations: 21.25 kB / 386.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.009665, allocations: 102.3 kB / 386.3 MB, free: 16.35 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009666, allocations: 0 / 386.3 MB, free: 16.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003422/0.01309, allocations: 2.797 MB / 389.1 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.489443773869425]