Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001703/0.001703, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001417/0.001417, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.499/1.499, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.207/0.207, allocations: 32.81 MB / 294.1 MB, free: 16 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 72.17 kB / 440.6 MB, free: 9.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 65.45 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00301/0.3574, allocations: 2.176 MB / 0.4964 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3592, allocations: 1.266 MB / 0.4976 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3594, allocations: 3.125 kB / 0.4976 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.3597, allocations: 144.3 kB / 0.4977 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.3602, allocations: 261.5 kB / 0.498 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.3605, allocations: 191.1 kB / 0.4982 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.3609, allocations: 471 kB / 0.4986 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.361, allocations: 50.06 kB / 0.4987 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.3613, allocations: 333.4 kB / 0.499 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.3615, allocations: 170.6 kB / 0.4991 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.3616, allocations: 18.94 kB / 0.4992 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3617, allocations: 73.38 kB / 0.4992 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.3618, allocations: 160.9 kB / 0.4994 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3619, allocations: 144.6 kB / 0.4995 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.3623, allocations: 499.6 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3623, allocations: 3.344 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3623, allocations: 4 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3623, allocations: 0 / 0.5 GB, free: 28.03 MB / 446.1 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.0009744/0.3633, allocations: 0.8374 MB / 0.5008 GB, free: 27.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3633, allocations: 13.05 kB / 0.5008 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3634, allocations: 73.94 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.3639, allocations: 368.5 kB / 0.5013 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3639, allocations: 17.64 kB / 0.5013 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.364, allocations: 29.27 kB / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.3643, allocations: 197 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3643, allocations: 3.281 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3644, allocations: 4 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3644, allocations: 3.25 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.3646, allocations: 98.58 kB / 0.5016 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.3654, allocations: 0.7478 MB / 0.5023 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.366, allocations: 248.8 kB / 0.5026 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3661, allocations: 88.48 kB / 0.5026 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3661, allocations: 7.203 kB / 0.5027 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.3665, allocations: 205.8 kB / 0.5028 GB, free: 26.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3665, allocations: 0 / 0.5028 GB, free: 26.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002246/0.3687, allocations: 1.223 MB / 0.504 GB, free: 25.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3688, allocations: 135.5 kB / 0.5042 GB, free: 25.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.3696, allocations: 0.9847 MB / 0.5051 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3696, allocations: 36.73 kB / 0.5052 GB, free: 24.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3698, allocations: 275.4 kB / 0.5054 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.3698, allocations: 149.6 kB / 0.5056 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.3699, allocations: 86.38 kB / 0.5057 GB, free: 24.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.37, allocations: 324.5 kB / 0.506 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.3702, allocations: 115.6 kB / 0.5061 GB, free: 24.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.3704, allocations: 188.9 kB / 0.5063 GB, free: 24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.3709, allocations: 334.2 kB / 0.5066 GB, free: 23.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3709, allocations: 0 / 0.5066 GB, free: 23.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006264/0.3715, allocations: 462.2 kB / 0.507 GB, free: 23.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3715, allocations: 6.031 kB / 0.507 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3715, allocations: 0 / 0.507 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3715, allocations: 3.031 kB / 0.507 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3718, allocations: 91.47 kB / 0.5071 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3718, allocations: 15.05 kB / 0.5071 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3719, allocations: 20.48 kB / 0.5071 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.3719, allocations: 16.06 kB / 0.5072 GB, free: 23.57 MB / 446.1 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.0002136/0.3722, allocations: 258.7 kB / 0.5074 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.3722, allocations: 84.17 kB / 0.5075 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008208/0.3731, allocations: 0.5299 MB / 0.508 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3731, allocations: 6.188 kB / 0.508 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3731, allocations: 3.641 kB / 0.508 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3731, allocations: 7.188 kB / 0.508 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3744, allocations: 1.271 MB / 0.5093 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3744, allocations: 3.125 kB / 0.5093 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3746, allocations: 70.03 kB / 0.5093 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3746, allocations: 3.094 kB / 0.5093 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3746, allocations: 19.84 kB / 0.5094 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3746, allocations: 6.156 kB / 0.5094 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3746, allocations: 3.156 kB / 0.5094 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.3753, allocations: 0.8364 MB / 0.5102 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3755, allocations: 114.4 kB / 0.5103 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.3755, allocations: 19.94 kB / 0.5103 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.3758, allocations: 19.58 kB / 0.5103 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.3759, allocations: 50.14 kB / 0.5104 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.3759, allocations: 23.17 kB / 0.5104 GB, free: 21.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007751/0.3767, allocations: 0.712 MB / 0.5111 GB, free: 21.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3767, allocations: 384 / 0.5111 GB, free: 21.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000542/0.3773, allocations: 95.83 kB / 0.5112 GB, free: 21.38 MB / 446.1 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.002111/0.3794, allocations: 0.5774 MB / 0.5117 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.38, allocations: 327 kB / 0.5121 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.38, allocations: 1.188 kB / 0.5121 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.3803, allocations: 161.5 kB / 0.5122 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.3812, allocations: 129.8 kB / 0.5123 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3827, allocations: 1.225 MB / 0.5135 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3831, allocations: 330.6 kB / 0.5138 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.3832, allocations: 82.08 kB / 0.5139 GB, free: 20.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3834, allocations: 55.72 kB / 0.514 GB, free: 20.12 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3834, allocations: 0 / 0.514 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Templates: time 0.01264/0.396, allocations: 5.768 MB / 0.5196 GB, free: 19.32 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.18499709200114]