Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.0009454/0.0009454, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001129/0.002075, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001195/0.001195, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.002197, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9426/0.9426, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1713/1.114, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1251/0.1251, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02735/0.1524, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.352e-05, allocations: 10.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00184/0.001853, allocations: 1.766 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.002718, allocations: 0.8075 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.002775, allocations: 4 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.002948, allocations: 43.7 kB / 269.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.003066, allocations: 55.7 kB / 270 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.00323, allocations: 91.62 kB / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.00336, allocations: 91.7 kB / 270.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.003433, allocations: 8.234 kB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.003542, allocations: 75.77 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.003614, allocations: 27.91 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.00363, allocations: 4 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.159e-05/0.003702, allocations: 39.92 kB / 270.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.003741, allocations: 15.94 kB / 270.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.003775, allocations: 19.94 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003924, allocations: 99.59 kB / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.00394, allocations: 0 / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003941, allocations: 0 / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.003955, allocations: 0 / 270.4 MB, free: 3.281 MB / 266.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.0004138/0.004369, allocations: 331.8 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.004401, allocations: 8.031 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.004437, allocations: 8.938 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.004577, allocations: 145.5 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.004591, allocations: 384 / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.004607, allocations: 8.375 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.004707, allocations: 61.77 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.004716, allocations: 3.938 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004723, allocations: 0 / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004729, allocations: 4 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.004754, allocations: 11.92 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.004956, allocations: 170 kB / 271.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.005059, allocations: 93.27 kB / 271.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.005078, allocations: 8.859 kB / 271.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.005089, allocations: 4 kB / 271.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.005194, allocations: 74.09 kB / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005195, allocations: 3.938 kB / 271.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000313/0.005508, allocations: 109.5 kB / 271.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.005542, allocations: 51.41 kB / 271.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.005652, allocations: 172.3 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.005666, allocations: 25.7 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.005698, allocations: 96.06 kB / 271.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.005725, allocations: 19.86 kB / 271.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.005761, allocations: 29.69 kB / 271.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.005829, allocations: 322.8 kB / 272.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.005844, allocations: 10.83 kB / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.005867, allocations: 25.7 kB / 272.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.00591, allocations: 44.52 kB / 272.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005911, allocations: 0 / 272.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.059e-05/0.005981, allocations: 80.41 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005992, allocations: 4 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.005997, allocations: 4 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.006005, allocations: 32 / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.006075, allocations: 27.92 kB / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006078, allocations: 0 / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.006103, allocations: 3.938 kB / 272.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.006108, allocations: 4 kB / 272.4 MB, free: 1.172 MB / 266.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.056e-05/0.006169, allocations: 116.7 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.006182, allocations: 11.92 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.211e-05/0.006274, allocations: 74.39 kB / 272.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.006276, allocations: 4 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.006278, allocations: 0 / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006281, allocations: 7.984 kB / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.006483, allocations: 283.4 kB / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.006485, allocations: 0 / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.006515, allocations: 12 kB / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.006528, allocations: 11.91 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.00653, allocations: 0 / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006537, allocations: 7.984 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.00654, allocations: 4 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006541, allocations: 0 / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.006644, allocations: 215 kB / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.00666, allocations: 12.34 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.006695, allocations: 4 kB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.006721, allocations: 7.984 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.006732, allocations: 4 kB / 273.1 MB, free: 360 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.006766, allocations: 52.45 kB / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006766, allocations: 4 kB / 273.2 MB, free: 300 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.0069, allocations: 20 kB / 273.2 MB, free: 280 kB / 266.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.001254/0.008153, allocations: 0.64 MB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.008241, allocations: 44.78 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.008248, allocations: 3.984 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.961e-05/0.008278, allocations: 20.86 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.008453, allocations: 51.88 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.008862, allocations: 218.5 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.008901, allocations: 71.33 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.134e-05/0.008933, allocations: 12.48 kB / 274.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.008993, allocations: 67.38 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008994, allocations: 0 / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.004538/0.01353, allocations: 2.025 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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: 2.83741800673306]