Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001039/0.001039, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.001083/0.001083, allocations: 166.3 kB / 25.61 MB, free: 8.457 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/1, allocations: 177.1 MB / 206 MB, free: 4.473 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.1485/0.1485, allocations: 32.8 MB / 295.4 MB, free: 15.26 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.238e-05, allocations: 2.312 kB / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001797/0.001809, allocations: 1.746 MB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.002792, allocations: 0.9897 MB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.00286, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.003095, allocations: 43.7 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.003326, allocations: 99.48 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.00348, allocations: 83.59 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.003612, allocations: 111.6 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.003693, allocations: 4 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.003763, allocations: 51.84 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.003828, allocations: 35.83 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.003842, allocations: 4 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.485e-05/0.003907, allocations: 43.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.003948, allocations: 23.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.003979, allocations: 19.92 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.004107, allocations: 95.59 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004109, allocations: 4 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00411, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.004113, allocations: 3.938 kB / 380.7 MB, free: 22.14 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.0003353/0.004448, allocations: 447.9 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.004479, allocations: 11.98 kB / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.00451, allocations: 16.84 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.004619, allocations: 154.5 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.004633, allocations: 384 / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.004648, allocations: 8.359 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.937e-05/0.004727, allocations: 62.88 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.004736, allocations: 7.938 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004743, allocations: 4 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.004747, allocations: 0 / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.00477, allocations: 11.98 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.004948, allocations: 268.3 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.39e-05/0.005022, allocations: 51.09 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.005039, allocations: 11.69 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.005049, allocations: 4 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.04e-05/0.00512, allocations: 76.97 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.005121, allocations: 0 / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002631/0.005384, allocations: 133.5 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.005401, allocations: 51.41 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.005476, allocations: 229.8 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.005483, allocations: 29.7 kB / 382.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.005513, allocations: 150.9 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.005533, allocations: 27.77 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.00556, allocations: 27.38 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.0056, allocations: 0.5039 MB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.005614, allocations: 7.984 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.005635, allocations: 39.3 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.005672, allocations: 43.36 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.005673, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.597e-05/0.005749, allocations: 93.53 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.005759, allocations: 10.17 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.005763, allocations: 0 / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005773, allocations: 4 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.005825, allocations: 12 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005827, allocations: 32 / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.005853, allocations: 8 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.005858, allocations: 3.984 kB / 383.2 MB, free: 19.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.483e-05/0.005903, allocations: 167 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.005917, allocations: 19.84 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.921e-05/0.006016, allocations: 99.06 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006018, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.00602, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.006023, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.006209, allocations: 366 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006209, allocations: 4.031 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.006231, allocations: 15.98 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006232, allocations: 4 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.006237, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006238, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.006239, allocations: 4 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.006331, allocations: 251.4 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.00634, allocations: 11.94 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.006354, allocations: 4 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.006391, allocations: 7.984 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.006413, allocations: 8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.006422, allocations: 3.984 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.785e-05/0.00646, allocations: 167.1 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00646, allocations: 0 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.006623, allocations: 23.94 kB / 384.3 MB, free: 18.24 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.0008741/0.007497, allocations: 440.7 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.007587, allocations: 47.55 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.007589, allocations: 0 / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.007619, allocations: 35.88 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.00783, allocations: 40.05 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.008077, allocations: 215.8 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.664e-05/0.008104, allocations: 71.2 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.06e-05/0.008134, allocations: 12.97 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.008186, allocations: 90.19 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008186, allocations: 0 / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003293/0.01148, allocations: 2.075 MB / 387.3 MB, free: 15.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.357374425046146]