Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001025/0.001025, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001084/0.001084, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.027/1.027, allocations: 177.2 MB / 205 MB, free: 5.277 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.2844/0.2844, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.464e-05, allocations: 2.312 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002254/0.002278, allocations: 1.758 MB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.00344, allocations: 1.009 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.003513, allocations: 7.938 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.0038, allocations: 47.7 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.004071, allocations: 99.53 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.004219, allocations: 79.61 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.00437, allocations: 115.5 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.004454, allocations: 4 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.00453, allocations: 51.89 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.004598, allocations: 27.84 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.004613, allocations: 8 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.004689, allocations: 43.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.004741, allocations: 23.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.004783, allocations: 27.84 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004957, allocations: 111.6 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004959, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00496, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004965, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.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.0004332/0.005398, allocations: 459.8 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.005436, allocations: 12.03 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.005623, allocations: 12.84 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.005791, allocations: 161.2 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.00581, allocations: 8.25 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.005834, allocations: 4.375 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.005954, allocations: 62.94 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005964, allocations: 7.938 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005974, allocations: 7.984 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.005981, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.006015, allocations: 11.98 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.006307, allocations: 291.8 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.006412, allocations: 55.11 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.00644, allocations: 15.62 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.006455, allocations: 7.984 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.822e-05/0.006553, allocations: 73.05 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006554, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003793/0.006934, allocations: 161.3 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.006962, allocations: 51.41 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.00711, allocations: 259.1 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.007123, allocations: 29.69 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.007184, allocations: 154.9 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.007213, allocations: 31.77 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.007247, allocations: 35.31 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.007357, allocations: 0.5001 MB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.007382, allocations: 12 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.007419, allocations: 35.36 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.007474, allocations: 51.38 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007475, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.007582, allocations: 93.52 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.007597, allocations: 9.875 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007602, allocations: 0 / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.007617, allocations: 0 / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.00769, allocations: 16 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.007696, allocations: 15.95 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.007723, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007729, allocations: 4 kB / 384.1 MB, free: 12.31 MB / 362.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 8.128e-05/0.007811, allocations: 164.5 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.007827, allocations: 15.91 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.007978, allocations: 107.1 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00798, allocations: 3.938 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.007983, allocations: 0 / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007986, allocations: 0 / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.008269, allocations: 408.9 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00827, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.008299, allocations: 8 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.008302, allocations: 4 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.00831, allocations: 4 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.008312, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.008314, allocations: 4 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.008459, allocations: 259.4 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.008473, allocations: 15.89 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.00849, allocations: 384 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.008534, allocations: 8.031 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.00857, allocations: 11.98 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.008584, allocations: 4 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.008671, allocations: 191 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008671, allocations: 0 / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.008851, allocations: 27.94 kB / 385.3 MB, free: 11.02 MB / 362.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.0008856/0.009737, allocations: 432.9 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.009851, allocations: 55.58 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.009853, allocations: 64 / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.009891, allocations: 31.67 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01012, allocations: 32.53 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.01049, allocations: 241.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.01053, allocations: 75.27 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.273e-05/0.01057, allocations: 12.97 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.0106, allocations: 20.5 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0106, allocations: 4.062 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003602/0.0142, allocations: 1.891 MB / 388.1 MB, free: 8.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.319672682788223]