Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001228/0.001228, 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.001377/0.001377, allocations: 169.1 kB / 24.91 MB, free: 8.773 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.006/1.006, 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.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.2477/0.2477, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.617e-05, allocations: 2.312 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003938/0.003964, allocations: 2.245 MB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.006341, allocations: 1.306 MB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.006501, allocations: 11.94 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.006893, allocations: 127.3 kB / 329 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.007419, allocations: 270.7 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.007803, allocations: 199.4 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.008292, allocations: 471 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.008418, allocations: 53.16 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.008726, allocations: 367.1 kB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.008866, allocations: 143.5 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.008895, allocations: 16 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.00903, allocations: 71.91 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.009187, allocations: 167.4 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.009274, allocations: 103.5 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.009639, allocations: 374.3 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.009642, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009643, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.009649, allocations: 3.938 kB / 331.2 MB, free: 1.648 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006642/0.01031, allocations: 0.7872 MB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.01034, allocations: 8.031 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.01041, allocations: 52.88 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.01076, allocations: 370.2 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.01078, allocations: 8.375 kB / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.01081, allocations: 16.38 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.011, allocations: 177 kB / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01101, allocations: 11.88 kB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.01102, allocations: 12 kB / 332.7 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01103, allocations: 4 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.0111, allocations: 51.22 kB / 332.7 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.01157, allocations: 0.5533 MB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.01188, allocations: 369.6 kB / 333.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.01193, allocations: 59.53 kB / 333.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01195, allocations: 7.938 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.01211, allocations: 176.2 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.01211, allocations: 0 / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.000964/0.01307, allocations: 0.6125 MB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.01313, allocations: 140.5 kB / 334.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.01353, allocations: 0.6578 MB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.01356, allocations: 33.7 kB / 335.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.01363, allocations: 166.9 kB / 335.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.0137, allocations: 142.8 kB / 335.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.01377, allocations: 78.11 kB / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.01384, allocations: 325.9 kB / 336 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.0139, allocations: 43.8 kB / 336 MB, free: 12.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.01397, allocations: 115.8 kB / 336.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.01413, allocations: 219.8 kB / 336.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01413, allocations: 0 / 336.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002171/0.01435, allocations: 246.3 kB / 336.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.01436, allocations: 10.44 kB / 336.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01437, allocations: 8.125 kB / 336.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01438, allocations: 4 kB / 336.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.01453, allocations: 79.89 kB / 336.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01454, allocations: 4 kB / 336.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.01461, allocations: 19.98 kB / 336.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.01463, allocations: 8 kB / 336.7 MB, free: 11.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001168/0.01474, allocations: 154.9 kB / 336.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.01479, allocations: 59.88 kB / 337 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.01508, allocations: 294.4 kB / 337.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.01508, allocations: 8 kB / 337.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01509, allocations: 4 kB / 337.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01509, allocations: 3.984 kB / 337.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.01582, allocations: 1.057 MB / 338.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01583, allocations: 7.984 kB / 338.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.01592, allocations: 60.17 kB / 338.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01592, allocations: 7.938 kB / 338.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01594, allocations: 19.98 kB / 338.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01594, allocations: 7.938 kB / 338.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.01594, allocations: 4 kB / 338.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.01628, allocations: 0.7593 MB / 339.2 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.482e-05/0.01637, allocations: 87.44 kB / 339.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.01642, allocations: 19.94 kB / 339.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.01655, allocations: 19.98 kB / 339.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.01661, allocations: 43.88 kB / 339.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.01663, allocations: 23.98 kB / 339.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.01685, allocations: 347.4 kB / 339.7 MB, free: 8.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01685, allocations: 0 / 339.7 MB, free: 8.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.01715, allocations: 95.86 kB / 339.8 MB, free: 8.637 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001342/0.01849, allocations: 0.6726 MB / 340.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.0187, allocations: 208.9 kB / 340.7 MB, free: 8.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.0187, allocations: 8 kB / 340.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.0188, allocations: 109.6 kB / 340.8 MB, free: 7.961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.01928, allocations: 137.8 kB / 340.9 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008794/0.02016, allocations: 0.9897 MB / 341.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.02026, allocations: 166.2 kB / 342.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.02038, allocations: 75.25 kB / 342.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.02054, allocations: 139.3 kB / 342.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02054, allocations: 0 / 342.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of Templates: time 0.007867/0.02841, allocations: 6.326 MB / 348.6 MB, free: 176 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.229322628118098]