Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.001533/0.001533, 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.001567/0.001567, allocations: 204.1 kB / 24.47 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.622/1.622, allocations: 230.2 MB / 257.8 MB, free: 8.523 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.2762/0.2762, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45") [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.002434/0.002434, allocations: 79.88 kB / 0.4968 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4698, allocations: 65.97 MB / 0.5613 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002999/0.4728, allocations: 1.753 MB / 0.563 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.4742, allocations: 1.05 MB / 0.564 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.4742, allocations: 0 / 0.564 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.4746, allocations: 47.7 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.4748, allocations: 98.56 kB / 0.5641 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.475, allocations: 75.97 kB / 0.5642 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.4752, allocations: 103.3 kB / 0.5643 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.4753, allocations: 13.12 kB / 0.5643 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.4754, allocations: 41.86 kB / 0.5644 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.4755, allocations: 32.77 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.4755, allocations: 3 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.4756, allocations: 39.78 kB / 0.5644 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.4756, allocations: 24.86 kB / 0.5645 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.4757, allocations: 43.52 kB / 0.5645 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.4759, allocations: 126.9 kB / 0.5646 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4759, allocations: 0 / 0.5646 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4759, allocations: 0 / 0.5646 GB, free: 32.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.4759, allocations: 3.469 kB / 0.5646 GB, free: 32.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005226/0.4764, allocations: 427.8 kB / 0.565 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4764, allocations: 10.53 kB / 0.565 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.4765, allocations: 13.97 kB / 0.5651 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.4767, allocations: 214.5 kB / 0.5653 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4767, allocations: 4.312 kB / 0.5653 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.4768, allocations: 7.156 kB / 0.5653 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4769, allocations: 59.77 kB / 0.5653 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4769, allocations: 0 / 0.5653 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4769, allocations: 3.094 kB / 0.5653 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4769, allocations: 0 / 0.5653 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.887e-05/0.477, allocations: 17.2 kB / 0.5654 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.4773, allocations: 300.8 kB / 0.5656 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.4775, allocations: 53.38 kB / 0.5657 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.4775, allocations: 21.61 kB / 0.5657 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4775, allocations: 0 / 0.5657 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.4777, allocations: 70.06 kB / 0.5658 GB, free: 31.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4777, allocations: 4.781 kB / 0.5658 GB, free: 31.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005083/0.4782, allocations: 179.9 kB / 0.566 GB, free: 31.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.4782, allocations: 52.06 kB / 0.566 GB, free: 31.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4784, allocations: 210.1 kB / 0.5662 GB, free: 31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.4784, allocations: 32.33 kB / 0.5662 GB, free: 30.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.4784, allocations: 105.3 kB / 0.5663 GB, free: 30.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.4784, allocations: 26.2 kB / 0.5664 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.4785, allocations: 22.61 kB / 0.5664 GB, free: 30.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.4785, allocations: 328.8 kB / 0.5667 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.4786, allocations: 22.42 kB / 0.5667 GB, free: 30.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.4786, allocations: 38.59 kB / 0.5668 GB, free: 30.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.4787, allocations: 64.5 kB / 0.5668 GB, free: 30.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4787, allocations: 3.156 kB / 0.5668 GB, free: 30.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001523/0.4789, allocations: 99.06 kB / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4789, allocations: 5.969 kB / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4789, allocations: 0 / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4789, allocations: 3.062 kB / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.479, allocations: 19 kB / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.479, allocations: 3.062 kB / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.479, allocations: 4 kB / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4791, allocations: 6.125 kB / 0.567 GB, free: 30.38 MB / 446.1 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 7.183e-05/0.4791, allocations: 133.8 kB / 0.5671 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.4791, allocations: 13.83 kB / 0.5671 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.4793, allocations: 108.6 kB / 0.5672 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4794, allocations: 1.562 kB / 0.5672 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4794, allocations: 3.938 kB / 0.5672 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4794, allocations: 3.141 kB / 0.5672 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4797, allocations: 399.3 kB / 0.5676 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4797, allocations: 0 / 0.5676 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.4797, allocations: 16.02 kB / 0.5676 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4797, allocations: 6.984 kB / 0.5676 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4797, allocations: 4.062 kB / 0.5676 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4797, allocations: 6.969 kB / 0.5676 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4797, allocations: 0 / 0.5676 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.4799, allocations: 205.9 kB / 0.5678 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.48, allocations: 89.45 kB / 0.5679 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.48, allocations: 0.8438 kB / 0.5679 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.4801, allocations: 11.77 kB / 0.5679 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.4801, allocations: 9.172 kB / 0.5679 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4801, allocations: 8.391 kB / 0.5679 GB, free: 29.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.4802, allocations: 159.2 kB / 0.5681 GB, free: 29.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4802, allocations: 3.938 kB / 0.5681 GB, free: 29.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.4805, allocations: 28.02 kB / 0.5681 GB, free: 29.41 MB / 446.1 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 (8): * Single equations (assignments): 6 * 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.001614/0.4821, allocations: 460.4 kB / 0.5686 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.4823, allocations: 59.19 kB / 0.5686 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4823, allocations: 0 / 0.5686 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.4823, allocations: 22.25 kB / 0.5686 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.4827, allocations: 37.91 kB / 0.5687 GB, free: 29.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.4831, allocations: 258.6 kB / 0.5689 GB, free: 28.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.4833, allocations: 0.7064 MB / 0.5696 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.4833, allocations: 16.88 kB / 0.5696 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.4833, allocations: 22.77 kB / 0.5696 GB, free: 28.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4833, allocations: 3.031 kB / 0.5696 GB, free: 28.27 MB / 446.1 MB Notification: Performance of Templates: time 0.004794/0.4881, allocations: 1.772 MB / 0.5714 GB, free: 28.06 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.704384403768927]