Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.000951/0.000951, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002309, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006544/0.0006544, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009199/0.001574, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9868/0.9868, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.088, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2498/0.2498, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02574/0.2755, allocations: 13.11 MB / 291.5 MB, free: 7.324 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.49e-05, allocations: 4.531 kB / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003274/0.003299, allocations: 1.813 MB / 294.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.004998, allocations: 1.019 MB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.005074, allocations: 4 kB / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.005319, allocations: 59.56 kB / 295.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.005594, allocations: 95.48 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.005786, allocations: 83.53 kB / 296 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.005975, allocations: 111.6 kB / 296.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.00606, allocations: 4 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.006217, allocations: 87.8 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.006304, allocations: 23.92 kB / 296.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.006322, allocations: 4 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.00642, allocations: 51.86 kB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.006475, allocations: 23.86 kB / 296.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.006513, allocations: 19.94 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.006751, allocations: 111.5 kB / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.006762, allocations: 0 / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.006764, allocations: 0 / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.006774, allocations: 0 / 296.4 MB, free: 2.586 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.0005114/0.007285, allocations: 368.8 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.007319, allocations: 11.97 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.007358, allocations: 8.938 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.007556, allocations: 162.4 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.007573, allocations: 4.375 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.007593, allocations: 4.375 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.007721, allocations: 61.77 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.007731, allocations: 3.938 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.007739, allocations: 4 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.007744, allocations: 0 / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.007779, allocations: 7.984 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.008074, allocations: 165.9 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.008192, allocations: 93.25 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.008218, allocations: 20.92 kB / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.008229, allocations: 3.938 kB / 297.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.008343, allocations: 62.16 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.008344, allocations: 0 / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003662/0.008711, allocations: 121.5 kB / 297.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.008741, allocations: 55.41 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.008911, allocations: 217.2 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.008928, allocations: 29.7 kB / 297.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.008968, allocations: 96.11 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.008998, allocations: 23.84 kB / 297.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.009035, allocations: 21.7 kB / 297.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.009126, allocations: 330.8 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.009149, allocations: 10.81 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.009182, allocations: 29.7 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.009239, allocations: 36.52 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009241, allocations: 7.922 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.009349, allocations: 76.5 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.009363, allocations: 4 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.009367, allocations: 4.031 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.009379, allocations: 0 / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.00947, allocations: 19.94 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.009474, allocations: 3.984 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.009517, allocations: 8 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.009523, allocations: 0 / 298.5 MB, free: 376 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 7.654e-05/0.0096, allocations: 116.6 kB / 298.6 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.009625, allocations: 19.92 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.009765, allocations: 75.06 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.009769, allocations: 4 kB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.00977, allocations: 4 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.009773, allocations: 0 / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.01019, allocations: 303.4 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01019, allocations: 0 / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.01024, allocations: 15.98 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.01026, allocations: 11.91 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01026, allocations: 0 / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.01027, allocations: 4 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01027, allocations: 0 / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01027, allocations: 3.938 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.01041, allocations: 231 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01043, allocations: 0 / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.01051, allocations: 8 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.01055, allocations: 7.984 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01056, allocations: 384 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.01065, allocations: 75.75 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01065, allocations: 0 / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.01089, allocations: 24 kB / 299.4 MB, free: 15.41 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.001875/0.01276, allocations: 0.6485 MB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.01285, allocations: 36.83 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.01286, allocations: 11.98 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.0129, allocations: 28.92 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01312, allocations: 188.4 kB / 300.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.01358, allocations: 264.2 kB / 300.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.01362, allocations: 75.33 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.01365, allocations: 8.984 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.01371, allocations: 67.36 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01371, allocations: 0 / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of Templates: time 0.003694/0.01741, allocations: 2.071 MB / 302.7 MB, free: 12.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7765731420367956]