Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001321/0.001321, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001396/0.001396, allocations: 165.1 kB / 24.5 MB, free: 3.453 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.506/1.506, allocations: 177.2 MB / 204.9 MB, free: 9.066 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.2764/0.2764, allocations: 32.8 MB / 294.1 MB, free: 84 kB / 270.1 MB " [Timeout remaining time 179] 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [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.003354/0.003354, allocations: 75.89 kB / 440.6 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3595, allocations: 65.45 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00328/0.3628, allocations: 2.245 MB / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.365, allocations: 1.346 MB / 0.4977 GB, free: 29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.3653, allocations: 10.56 kB / 0.4977 GB, free: 29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.3659, allocations: 281.6 kB / 0.498 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007205/0.3666, allocations: 351.9 kB / 0.4983 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.3671, allocations: 210.8 kB / 0.4985 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006821/0.3678, allocations: 0.5671 MB / 0.4991 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.3679, allocations: 40.34 kB / 0.4991 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.3684, allocations: 241.3 kB / 0.4993 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.3688, allocations: 288 kB / 0.4996 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-05/0.3689, allocations: 18.97 kB / 0.4996 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.3691, allocations: 60.14 kB / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3693, allocations: 118.6 kB / 0.4998 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3694, allocations: 145.9 kB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.37, allocations: 433.9 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.37, allocations: 0 / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.37, allocations: 0 / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.37, allocations: 0 / 0.5004 GB, free: 27.86 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001436/0.3714, allocations: 0.7455 MB / 0.5011 GB, free: 27.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3715, allocations: 9.438 kB / 0.5011 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.3717, allocations: 60.91 kB / 0.5012 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.3724, allocations: 350.6 kB / 0.5015 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.3724, allocations: 11.59 kB / 0.5015 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.3725, allocations: 17.53 kB / 0.5015 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.3729, allocations: 215.8 kB / 0.5017 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3729, allocations: 7.312 kB / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3729, allocations: 4 kB / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3729, allocations: 3.25 kB / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.3732, allocations: 105.8 kB / 0.5018 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.374, allocations: 0.7974 MB / 0.5026 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.3746, allocations: 283.8 kB / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3747, allocations: 95.12 kB / 0.503 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3748, allocations: 4.312 kB / 0.503 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003742/0.3751, allocations: 239.9 kB / 0.5032 GB, free: 25.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.3751, allocations: 0 / 0.5032 GB, free: 25.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.001877/0.377, allocations: 1.073 MB / 0.5043 GB, free: 25.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.3771, allocations: 160.1 kB / 0.5044 GB, free: 25.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.3778, allocations: 0.6729 MB / 0.5051 GB, free: 24.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3778, allocations: 36.67 kB / 0.5051 GB, free: 24.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.378, allocations: 242 kB / 0.5053 GB, free: 24.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.3781, allocations: 127.5 kB / 0.5055 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.3781, allocations: 75.22 kB / 0.5055 GB, free: 24.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3783, allocations: 370.7 kB / 0.5059 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.3785, allocations: 115.2 kB / 0.506 GB, free: 24.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.3787, allocations: 192.5 kB / 0.5062 GB, free: 23.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.3792, allocations: 307.5 kB / 0.5065 GB, free: 23.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3792, allocations: 0 / 0.5065 GB, free: 23.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000675/0.3799, allocations: 430.3 kB / 0.5069 GB, free: 23.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3799, allocations: 6.031 kB / 0.5069 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.3799, allocations: 6.531 kB / 0.5069 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3799, allocations: 6.25 kB / 0.5069 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.3802, allocations: 76.59 kB / 0.507 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3802, allocations: 6.469 kB / 0.507 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.3804, allocations: 21.97 kB / 0.507 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.3804, allocations: 21.34 kB / 0.507 GB, free: 23.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002356/0.3807, allocations: 207.1 kB / 0.5072 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.3808, allocations: 67.89 kB / 0.5073 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.3816, allocations: 498.3 kB / 0.5078 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3816, allocations: 6 kB / 0.5078 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3816, allocations: 3.984 kB / 0.5078 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3816, allocations: 10.42 kB / 0.5078 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.383, allocations: 1.227 MB / 0.509 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.383, allocations: 2.906 kB / 0.509 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3831, allocations: 57.36 kB / 0.509 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3831, allocations: 3 kB / 0.509 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3831, allocations: 16.92 kB / 0.5091 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.3832, allocations: 15.06 kB / 0.5091 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3832, allocations: 6.969 kB / 0.5091 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.384, allocations: 0.8623 MB / 0.5099 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.3841, allocations: 49.56 kB / 0.51 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.3842, allocations: 17.12 kB / 0.51 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.3845, allocations: 16 kB / 0.51 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.3846, allocations: 43.08 kB / 0.51 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.3847, allocations: 21.47 kB / 0.5101 GB, free: 21.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005161/0.3852, allocations: 0.4978 MB / 0.5105 GB, free: 21.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3852, allocations: 0 / 0.5105 GB, free: 21.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006346/0.3858, allocations: 90.91 kB / 0.5106 GB, free: 21.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001932/0.3878, allocations: 0.523 MB / 0.5111 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.3885, allocations: 297.4 kB / 0.5114 GB, free: 21.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3885, allocations: 0.9062 kB / 0.5114 GB, free: 21.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.3889, allocations: 154.7 kB / 0.5116 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.39, allocations: 146 kB / 0.5117 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3921, allocations: 0.9367 MB / 0.5126 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.3927, allocations: 267.3 kB / 0.5129 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.3932, allocations: 85.56 kB / 0.513 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.3934, allocations: 57.42 kB / 0.513 GB, free: 20.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.013e-06/0.3934, allocations: 0 / 0.513 GB, free: 20.29 MB / 446.1 MB Notification: Performance of Templates: time 0.01575/0.4091, allocations: 6.236 MB / 0.5191 GB, free: 19.47 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.265129717998207]