Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001075/0.001075, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004295/0.00537, 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.0009997/0.0009997, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004855/0.005855, 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.9711/0.9711, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09506/1.066, 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.2588/0.2588, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03192/0.2907, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 292.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.626e-05, allocations: 7.297 kB / 292.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002629/0.002645, allocations: 1.962 MB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005674/0.008319, allocations: 1.128 MB / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.008429, allocations: 4 kB / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.008729, allocations: 159.3 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.009087, allocations: 195.2 kB / 296.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.00934, allocations: 127.5 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.009622, allocations: 243.2 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.009715, allocations: 22.61 kB / 296.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.009955, allocations: 192.8 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.01011, allocations: 115.7 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.01013, allocations: 8 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.01025, allocations: 63.92 kB / 296.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.01031, allocations: 43.8 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00307/0.01338, allocations: 35.88 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.01362, allocations: 179.2 kB / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.01363, allocations: 0 / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01363, allocations: 0 / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.01365, allocations: 0 / 297.2 MB, free: 1.707 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005739/0.01422, allocations: 495.9 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.01425, allocations: 8.031 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.0143, allocations: 24.91 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.01452, allocations: 209.8 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.01454, allocations: 4.375 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.01456, allocations: 8.375 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.01472, allocations: 104.4 kB / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01473, allocations: 11.92 kB / 298 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.01474, allocations: 3.984 kB / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.01474, allocations: 7.938 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.0148, allocations: 29.62 kB / 298.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.0151, allocations: 300.7 kB / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.01532, allocations: 174.7 kB / 298.5 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.01536, allocations: 41.88 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.01538, allocations: 0 / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.01551, allocations: 117.3 kB / 298.7 MB, free: 68 kB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 9.61e-07/0.01551, allocations: 4 kB / 298.7 MB, free: 64 kB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006598/0.01617, allocations: 304.2 kB / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.01622, allocations: 89.05 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.01945, allocations: 288.6 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.01947, allocations: 33.7 kB / 299.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.01952, allocations: 117.2 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.01958, allocations: 67.42 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.01963, allocations: 45.69 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.01973, allocations: 350.7 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.01977, allocations: 26.81 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/0.01982, allocations: 54.05 kB / 300 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.01993, allocations: 107.8 kB / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01994, allocations: 0 / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000158/0.02009, allocations: 132.9 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.02011, allocations: 4 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02011, allocations: 8.062 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.02012, allocations: 0 / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.02025, allocations: 55.91 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.02025, allocations: 4.875 kB / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.02031, allocations: 11.88 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.02032, allocations: 11.98 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.168e-05/0.0204, allocations: 124.7 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.02043, allocations: 19.97 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.02063, allocations: 155.4 kB / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02064, allocations: 8 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.02064, allocations: 0 / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.02064, allocations: 0 / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.02109, allocations: 0.5632 MB / 301.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02109, allocations: 4 kB / 301.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.02117, allocations: 31.98 kB / 301.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.0212, allocations: 35.73 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.0212, allocations: 4 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.02122, allocations: 8.125 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.02122, allocations: 7.938 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.02122, allocations: 4 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.02144, allocations: 416.6 kB / 301.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.02147, allocations: 8 kB / 301.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.02158, allocations: 8 kB / 301.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.02162, allocations: 19.91 kB / 301.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.02164, allocations: 11.98 kB / 301.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.02175, allocations: 123.5 kB / 301.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02175, allocations: 0 / 301.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.02202, allocations: 55.92 kB / 302 MB, free: 12.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0045/0.02652, allocations: 0.7265 MB / 302.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.0267, allocations: 101.9 kB / 302.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.02671, allocations: 4 kB / 302.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.02677, allocations: 68.94 kB / 302.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.02706, allocations: 87.81 kB / 302.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.02798, allocations: 456.9 kB / 303.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.423e-05/0.02805, allocations: 96.25 kB / 303.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.02815, allocations: 41.92 kB / 303.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.02826, allocations: 95.38 kB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.02826, allocations: 0 / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of Templates: time 0.006579/0.03484, allocations: 3.679 MB / 307.3 MB, free: 7.676 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.8657487388700247]