Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3029/0.3029, allocations: 46.9 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.88 kB / 0.4968 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4515, allocations: 65.97 MB / 0.5613 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003841/0.4553, allocations: 2.376 MB / 0.5636 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.4577, allocations: 1.425 MB / 0.565 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.4578, allocations: 9.406 kB / 0.565 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.4584, allocations: 284.1 kB / 0.5652 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.4591, allocations: 341.6 kB / 0.5656 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.4596, allocations: 215.1 kB / 0.5658 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.4603, allocations: 0.5544 MB / 0.5663 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.4604, allocations: 42.48 kB / 0.5664 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.4607, allocations: 250.2 kB / 0.5666 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.4611, allocations: 288.1 kB / 0.5669 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.4611, allocations: 22.25 kB / 0.5669 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.4612, allocations: 61.88 kB / 0.567 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.4614, allocations: 117.9 kB / 0.5671 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.4616, allocations: 184.8 kB / 0.5672 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.4621, allocations: 425.4 kB / 0.5677 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4621, allocations: 0 / 0.5677 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4621, allocations: 0 / 0.5677 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4621, allocations: 0 / 0.5677 GB, free: 30.71 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.001251/0.4634, allocations: 0.8116 MB / 0.5684 GB, free: 30.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4634, allocations: 13.56 kB / 0.5685 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4635, allocations: 60.73 kB / 0.5685 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.4642, allocations: 435.1 kB / 0.5689 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.4642, allocations: 12.97 kB / 0.5689 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.4643, allocations: 13.28 kB / 0.569 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.4647, allocations: 202 kB / 0.5691 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4647, allocations: 6.719 kB / 0.5692 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.4647, allocations: 5.562 kB / 0.5692 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4647, allocations: 6.031 kB / 0.5692 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.465, allocations: 104.3 kB / 0.5693 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.4658, allocations: 0.8644 MB / 0.5701 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.4664, allocations: 272 kB / 0.5704 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.4666, allocations: 90.41 kB / 0.5705 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.4666, allocations: 6 kB / 0.5705 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.467, allocations: 231.4 kB / 0.5707 GB, free: 28.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.467, allocations: 1.188 kB / 0.5707 GB, free: 28.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.002368/0.4694, allocations: 1.047 MB / 0.5717 GB, free: 27.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.4694, allocations: 159.8 kB / 0.5719 GB, free: 27.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.4705, allocations: 0.6585 MB / 0.5725 GB, free: 27.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.4705, allocations: 35.95 kB / 0.5725 GB, free: 27.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.4707, allocations: 234.7 kB / 0.5728 GB, free: 27.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.4708, allocations: 128.2 kB / 0.5729 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4709, allocations: 69.64 kB / 0.5729 GB, free: 27.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4711, allocations: 383.2 kB / 0.5733 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.4713, allocations: 99.72 kB / 0.5734 GB, free: 26.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.4716, allocations: 182.4 kB / 0.5736 GB, free: 26.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.4722, allocations: 302.4 kB / 0.5739 GB, free: 26.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4722, allocations: 0 / 0.5739 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007354/0.4729, allocations: 402.4 kB / 0.5743 GB, free: 26.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4729, allocations: 10.41 kB / 0.5743 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4729, allocations: 2.219 kB / 0.5743 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.4729, allocations: 5.375 kB / 0.5743 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.4733, allocations: 94.31 kB / 0.5744 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4733, allocations: 9.625 kB / 0.5744 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.4735, allocations: 20.84 kB / 0.5744 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.4735, allocations: 18.69 kB / 0.5744 GB, free: 26.17 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.0002073/0.4737, allocations: 206.3 kB / 0.5746 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.4738, allocations: 68.22 kB / 0.5747 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009231/0.4747, allocations: 459.2 kB / 0.5751 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4747, allocations: 5.656 kB / 0.5751 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4747, allocations: 2.25 kB / 0.5751 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4748, allocations: 3.328 kB / 0.5751 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.4763, allocations: 1.28 MB / 0.5764 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4763, allocations: 3 kB / 0.5764 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.4765, allocations: 46.11 kB / 0.5764 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.4765, allocations: 3.422 kB / 0.5764 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.4765, allocations: 14.88 kB / 0.5764 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.4765, allocations: 5.484 kB / 0.5764 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.4765, allocations: 6.875 kB / 0.5764 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/0.4774, allocations: 0.8266 MB / 0.5773 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.4775, allocations: 124.9 kB / 0.5774 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.4776, allocations: 17.52 kB / 0.5774 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.4779, allocations: 21.45 kB / 0.5774 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.478, allocations: 42.75 kB / 0.5774 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.4781, allocations: 23.02 kB / 0.5775 GB, free: 24.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000586/0.4786, allocations: 486.7 kB / 0.5779 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4786, allocations: 0 / 0.5779 GB, free: 23.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005783/0.4792, allocations: 84.61 kB / 0.578 GB, free: 23.93 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 (40): * Single equations (assignments): 30 * 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.001722/0.4809, allocations: 483.7 kB / 0.5785 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006306/0.4816, allocations: 272.3 kB / 0.5787 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4816, allocations: 0 / 0.5787 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.4819, allocations: 142.2 kB / 0.5789 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.483, allocations: 141.3 kB / 0.579 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4844, allocations: 0.9382 MB / 0.5799 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4848, allocations: 0.8598 MB / 0.5808 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.4851, allocations: 87.56 kB / 0.5808 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.4852, allocations: 54.02 kB / 0.5809 GB, free: 22.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4852, allocations: 0 / 0.5809 GB, free: 22.24 MB / 446.1 MB Notification: Performance of Templates: time 0.01366/0.4988, allocations: 5.924 MB / 0.5867 GB, free: 21.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.842434628866613]