Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001128/0.001128, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002765, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007412/0.0007412, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009658/0.001707, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9953/0.9953, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1059/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2505/0.2505, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02906/0.2796, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.475e-05, allocations: 3.188 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002893/0.002918, allocations: 1.804 MB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.004594, allocations: 1.018 MB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.004683, allocations: 8 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.00498, allocations: 83.64 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.005426, allocations: 119.4 kB / 295.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.005668, allocations: 79.66 kB / 295.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.005869, allocations: 123.6 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.005955, allocations: 7.938 kB / 295.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.006086, allocations: 95.8 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.888e-05/0.006185, allocations: 51.81 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.0062, allocations: 4 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.00629, allocations: 43.92 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.006333, allocations: 19.92 kB / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.006366, allocations: 15.94 kB / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.006542, allocations: 99.61 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.006559, allocations: 0 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.006561, allocations: 0 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.006577, allocations: 0 / 296.3 MB, free: 2.637 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.000444/0.007021, allocations: 349 kB / 296.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.007055, allocations: 19.97 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.007087, allocations: 8.922 kB / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.007249, allocations: 150 kB / 296.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.007267, allocations: 384 / 296.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.007285, allocations: 8.359 kB / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.0074, allocations: 61.77 kB / 296.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.00741, allocations: 3.938 kB / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.007418, allocations: 7.984 kB / 296.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.007423, allocations: 0 / 296.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.902e-05/0.007452, allocations: 7.984 kB / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.007683, allocations: 174 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.007799, allocations: 85.28 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.007823, allocations: 8.859 kB / 297.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.007837, allocations: 7.938 kB / 297.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.007959, allocations: 70.16 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.00796, allocations: 0 / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003442/0.008304, allocations: 109.5 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.008339, allocations: 51.41 kB / 297.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.008453, allocations: 197 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.008469, allocations: 29.7 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.008508, allocations: 100.1 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.008533, allocations: 23.78 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.008568, allocations: 21.7 kB / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.008648, allocations: 326.8 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.008666, allocations: 10.83 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.008697, allocations: 25.7 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.008738, allocations: 40.52 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008739, allocations: 3.938 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.58e-05/0.008815, allocations: 76.5 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.008831, allocations: 11.98 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.008836, allocations: 0 / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.008844, allocations: 0 / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.008908, allocations: 19.94 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.008911, allocations: 0 / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.00894, allocations: 7.984 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.008945, allocations: 4 kB / 298.2 MB, free: 484 kB / 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 6.322e-05/0.009008, allocations: 112.7 kB / 298.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.009022, allocations: 19.95 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.009125, allocations: 75.08 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009127, allocations: 0 / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.009128, allocations: 0 / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009132, allocations: 0 / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.009375, allocations: 303.4 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009376, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.009406, allocations: 12 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.009418, allocations: 7.953 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.009421, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.009429, allocations: 12.02 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.00943, allocations: 384 / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.009432, allocations: 3.938 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.009539, allocations: 223 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.009555, allocations: 8 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.009601, allocations: 3.984 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.009626, allocations: 8 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.009638, allocations: 7.984 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.465e-05/0.009683, allocations: 57.61 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009683, allocations: 0 / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.009823, allocations: 23.94 kB / 299.1 MB, free: 15.55 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.001404/0.01123, allocations: 0.6338 MB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.01133, allocations: 52.69 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.01134, allocations: 8 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/0.01137, allocations: 20.84 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01159, allocations: 57.86 kB / 299.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.01206, allocations: 234.3 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.0121, allocations: 71.33 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.01213, allocations: 13.09 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.0122, allocations: 75.36 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0122, allocations: 0 / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.004108/0.01631, allocations: 2.051 MB / 302.3 MB, free: 12.67 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.974817730486393]