Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001028/0.001028, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001269/0.001269, allocations: 174.5 kB / 24.91 MB, free: 9.195 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.113/1.113, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3023/0.3023, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.492e-05, allocations: 2.312 kB / 323.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002397/0.002412, allocations: 1.796 MB / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.003773, allocations: 1.006 MB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.003859, allocations: 3.938 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.004258, allocations: 59.69 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.004509, allocations: 99.47 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.004659, allocations: 79.66 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.004805, allocations: 103.6 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.004895, allocations: 13.36 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.56e-05/0.00498, allocations: 47.89 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.005057, allocations: 31.84 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.005072, allocations: 8 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.005154, allocations: 51.84 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.005203, allocations: 27.92 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.005235, allocations: 19.88 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.005402, allocations: 115.6 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.005403, allocations: 0 / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005405, allocations: 3.938 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005408, allocations: 0 / 326.8 MB, free: 6.078 MB / 298.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.0003838/0.005792, allocations: 345.2 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.005826, allocations: 8.031 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.005857, allocations: 12.92 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.006018, allocations: 166.4 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.006034, allocations: 4.375 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.006051, allocations: 384 / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.006171, allocations: 65.75 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.006183, allocations: 7.938 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.006191, allocations: 0 / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.006197, allocations: 0 / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.006221, allocations: 4 kB / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.006436, allocations: 173.9 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.006536, allocations: 85.3 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.00656, allocations: 12.86 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.006571, allocations: 0 / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.006673, allocations: 74.12 kB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.006675, allocations: 0 / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002926/0.006967, allocations: 117.5 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.006996, allocations: 51.41 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.007122, allocations: 217 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.007135, allocations: 25.7 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.007166, allocations: 104.1 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.007193, allocations: 27.78 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.007221, allocations: 25.64 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.007302, allocations: 334.7 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.007318, allocations: 10.83 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.007342, allocations: 17.72 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.007393, allocations: 44.5 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007394, allocations: 384 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.461e-05/0.007469, allocations: 76.38 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.007482, allocations: 12.03 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007486, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.007495, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.007557, allocations: 19.98 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.007561, allocations: 7.938 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.007588, allocations: 4 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.007594, allocations: 4 kB / 328.8 MB, free: 3.879 MB / 298.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.434e-05/0.007659, allocations: 115.2 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.007671, allocations: 15.92 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.007786, allocations: 83.06 kB / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.00779, allocations: 4 kB / 329 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007791, allocations: 0 / 329 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007794, allocations: 0 / 329 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.00802, allocations: 307.4 kB / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008021, allocations: 0 / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.008047, allocations: 11.98 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.00805, allocations: 0 / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008057, allocations: 4 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.008058, allocations: 0 / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008059, allocations: 0 / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.008163, allocations: 231 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.008176, allocations: 11.91 kB / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008192, allocations: 0 / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.008231, allocations: 4 kB / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.008258, allocations: 11.98 kB / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.008268, allocations: 0 / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.509e-05/0.008323, allocations: 76.98 kB / 329.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008323, allocations: 0 / 329.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.008466, allocations: 27.94 kB / 329.7 MB, free: 2.926 MB / 298.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.001182/0.009648, allocations: 0.586 MB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.009723, allocations: 36.84 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.009725, allocations: 0 / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.009754, allocations: 28.91 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.009925, allocations: 42.03 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.01025, allocations: 260.2 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.0103, allocations: 71.33 kB / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.01033, allocations: 9.297 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.0104, allocations: 71.3 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0104, allocations: 0 / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of Templates: time 0.00432/0.01472, allocations: 2.044 MB / 332.9 MB, free: 60 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.172829565126449]