Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.001127/0.001127, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001109/0.001109, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9537/0.9537, allocations: 158.6 MB / 185.9 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1356/0.1356, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.533e-05, allocations: 6.312 kB / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002445/0.002471, allocations: 1.721 MB / 349.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003503, allocations: 0.7881 MB / 350.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.00359, allocations: 4 kB / 350.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.003898, allocations: 55.69 kB / 350.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.0041, allocations: 55.75 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.004315, allocations: 87.64 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.004458, allocations: 103.6 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.004549, allocations: 12.23 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.004637, allocations: 43.91 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.004707, allocations: 31.89 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.004724, allocations: 4 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.004805, allocations: 35.94 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.004854, allocations: 31.86 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.00489, allocations: 23.91 kB / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.005042, allocations: 99.59 kB / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005045, allocations: 0 / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005046, allocations: 0 / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.005049, allocations: 0 / 351.3 MB, free: 6 MB / 282.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.0003538/0.005403, allocations: 463.7 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005439, allocations: 8.031 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.005475, allocations: 20.84 kB / 351.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.005596, allocations: 148.4 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005611, allocations: 4.375 kB / 351.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.005625, allocations: 4.312 kB / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.005727, allocations: 62.94 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.005737, allocations: 7.922 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.005743, allocations: 0 / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.005749, allocations: 0 / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.005775, allocations: 12 kB / 352 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.005973, allocations: 264.4 kB / 352.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/0.00605, allocations: 55.03 kB / 352.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.006071, allocations: 19.75 kB / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.006084, allocations: 0 / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.279e-05/0.006167, allocations: 68.97 kB / 352.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006168, allocations: 0 / 352.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003153/0.006483, allocations: 133.5 kB / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.006502, allocations: 59.41 kB / 352.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.006606, allocations: 241.8 kB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.006616, allocations: 29.7 kB / 352.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.006659, allocations: 162.8 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.006684, allocations: 23.8 kB / 353 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.006719, allocations: 35.34 kB / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.00677, allocations: 0.5 MB / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.006791, allocations: 11.94 kB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.006819, allocations: 31.34 kB / 353.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.006867, allocations: 51.34 kB / 353.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006869, allocations: 0 / 353.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001067/0.006975, allocations: 89.55 kB / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.006988, allocations: 8 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006993, allocations: 80 / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.007006, allocations: 0 / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.007071, allocations: 15.98 kB / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007076, allocations: 11.92 kB / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.00711, allocations: 0 / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.007116, allocations: 4 kB / 353.8 MB, free: 3.277 MB / 282.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 5.969e-05/0.007176, allocations: 160.6 kB / 354 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.007194, allocations: 19.84 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.007326, allocations: 107.1 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.007328, allocations: 0 / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00733, allocations: 0 / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.007333, allocations: 0 / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.007571, allocations: 369.5 kB / 354.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.007573, allocations: 0 / 354.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.007601, allocations: 8 kB / 354.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007604, allocations: 4 kB / 354.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.007611, allocations: 4.406 kB / 354.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007612, allocations: 3.984 kB / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.007614, allocations: 4 kB / 354.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.007721, allocations: 251.4 kB / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.007733, allocations: 15.91 kB / 354.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.007749, allocations: 0 / 354.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.007808, allocations: 4 kB / 354.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.00783, allocations: 7.984 kB / 354.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.007843, allocations: 4 kB / 354.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.007891, allocations: 175.1 kB / 354.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007891, allocations: 7.938 kB / 354.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.008122, allocations: 27.94 kB / 354.9 MB, free: 2.047 MB / 282.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.0009256/0.009047, allocations: 435.5 kB / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.009146, allocations: 55.53 kB / 355.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009147, allocations: 0 / 355.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.00918, allocations: 31.81 kB / 355.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.009454, allocations: 32.06 kB / 355.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.009744, allocations: 241.5 kB / 355.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.192e-05/0.009776, allocations: 71.33 kB / 355.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.479e-05/0.009811, allocations: 8.5 kB / 355.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.009867, allocations: 86.19 kB / 355.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.009868, allocations: 0 / 355.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of Templates: time 0.003852/0.01372, allocations: 2.025 MB / 357.9 MB, free: 15.14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.170357041992247]