Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0008928/0.0008928, 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.0009934/0.0009934, allocations: 168.4 kB / 24.92 MB, free: 8.258 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 0.9641/0.9641, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.3077/0.3077, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.112e-05, allocations: 2.312 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002186/0.002207, allocations: 1.767 MB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003789, allocations: 1.731 MB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.003859, allocations: 0 / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.004101, allocations: 35.77 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.004405, allocations: 115.3 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.004593, allocations: 71.69 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.004732, allocations: 115.6 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.004803, allocations: 7.984 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.004887, allocations: 55.83 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.004979, allocations: 27.91 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.004995, allocations: 8 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.005149, allocations: 111.7 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.005191, allocations: 23.91 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.005224, allocations: 28.42 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.005428, allocations: 151.5 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00543, allocations: 0 / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005431, allocations: 0 / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.005434, allocations: 0 / 329.6 MB, free: 3.352 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.0003481/0.005782, allocations: 333.4 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.005813, allocations: 8.031 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.005849, allocations: 16.92 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.006, allocations: 137.6 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.006014, allocations: 4.375 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.006032, allocations: 4.375 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.006159, allocations: 120.5 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006167, allocations: 0 / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.006174, allocations: 3.938 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006178, allocations: 0 / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.006201, allocations: 14.81 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.006382, allocations: 161.9 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.006463, allocations: 89.34 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.006482, allocations: 16.8 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.006491, allocations: 4 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/0.006569, allocations: 66.16 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00657, allocations: 0 / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002572/0.006828, allocations: 121.8 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.006861, allocations: 77.11 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.006954, allocations: 156.3 kB / 330.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.006968, allocations: 33.7 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.007004, allocations: 88.12 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.007029, allocations: 27.73 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.007056, allocations: 21.7 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.007138, allocations: 326.8 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.007155, allocations: 14.81 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.007189, allocations: 60.34 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.007232, allocations: 48.38 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007233, allocations: 0 / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.942e-05/0.007302, allocations: 68.44 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.007313, allocations: 4 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007317, allocations: 4 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.007328, allocations: 0 / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.007384, allocations: 16.06 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.007387, allocations: 3.984 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.007417, allocations: 8 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007422, allocations: 0 / 331.6 MB, free: 1.129 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 9.243e-05/0.007514, allocations: 117.5 kB / 331.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.007528, allocations: 15.98 kB / 331.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.007622, allocations: 70.39 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007624, allocations: 0 / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007625, allocations: 0 / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007628, allocations: 0 / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.007833, allocations: 303.6 kB / 332.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007834, allocations: 0 / 332.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.007855, allocations: 8 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007857, allocations: 0 / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007864, allocations: 4 kB / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007865, allocations: 4.016 kB / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.007868, allocations: 7.969 kB / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.007965, allocations: 211.1 kB / 332.3 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.007976, allocations: 7.953 kB / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.007992, allocations: 4 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.008033, allocations: 19.89 kB / 332.3 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.008054, allocations: 4 kB / 332.3 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.008067, allocations: 7.984 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.823e-05/0.008105, allocations: 43.52 kB / 332.4 MB, free: 260 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008105, allocations: 0 / 332.4 MB, free: 260 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.008282, allocations: 47.86 kB / 332.4 MB, free: 212 kB / 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.001475/0.009757, allocations: 0.7119 MB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.009855, allocations: 40.69 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.009858, allocations: 0 / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.00989, allocations: 36.77 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.01005, allocations: 34.73 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.01034, allocations: 203.8 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.01037, allocations: 63.34 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.01041, allocations: 17.28 kB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.01048, allocations: 75.36 kB / 333.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01048, allocations: 0 / 333.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of Templates: time 0.004174/0.01466, allocations: 2.768 MB / 336.4 MB, free: 12.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.9220307380892336]