Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001873/0.001873, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002164/0.002164, allocations: 209.8 kB / 23.73 MB, free: 4.387 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.2279/0.2279, allocations: 44.95 MB / 358.8 MB, free: 6.039 MB / 286.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [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.00221/0.00221, allocations: 67.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3729, allocations: 65.47 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001715/0.3746, allocations: 492.9 kB / 0.5579 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.3781, allocations: 2.058 MB / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.3781, allocations: 0 / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.3781, allocations: 0 / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.383e-05/0.3782, allocations: 0 / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3793, allocations: 410.7 kB / 0.5603 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.3794, allocations: 4 kB / 0.5603 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.3794, allocations: 7.938 kB / 0.5603 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.3794, allocations: 0 / 0.5603 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02088/0.4003, allocations: 3.395 MB / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.4003, allocations: 0 / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.4004, allocations: 4 kB / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.4004, allocations: 0 / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.4004, allocations: 0 / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.4006, allocations: 8 kB / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4006, allocations: 0 / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4006, allocations: 0 / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.4006, allocations: 3.938 kB / 0.5636 GB, free: 1.738 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003375/0.4009, allocations: 242.4 kB / 0.5639 GB, free: 1.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.401, allocations: 12.03 kB / 0.5639 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.4012, allocations: 88.2 kB / 0.564 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4013, allocations: 181.8 kB / 0.5641 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.738e-05/0.4014, allocations: 150.9 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.4015, allocations: 158.7 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.4015, allocations: 104.9 kB / 0.5645 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.4016, allocations: 75.28 kB / 0.5646 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.4017, allocations: 154.5 kB / 0.5648 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.443e-05/0.4018, allocations: 154.6 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.4018, allocations: 150.6 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.4022, allocations: 401.6 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4023, allocations: 173.1 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.4023, allocations: 80.14 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.4024, allocations: 75.28 kB / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.163e-05/0.4024, allocations: 117.8 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4024, allocations: 0 / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.588e-05/0.4025, allocations: 25.7 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.4026, allocations: 182 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.4027, allocations: 93.86 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4028, allocations: 25.7 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.4028, allocations: 84.27 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.4028, allocations: 0 / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.4028, allocations: 21.7 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.403, allocations: 310.8 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-06/0.403, allocations: 0 / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.4031, allocations: 65.12 kB / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.4031, allocations: 75.28 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.194e-05/0.4031, allocations: 75.28 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.71e-05/0.4032, allocations: 33.64 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.4032, allocations: 79.28 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.051e-05/0.4033, allocations: 83.22 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.613e-05/0.4034, allocations: 162.6 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-05/0.4034, allocations: 83.22 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.729e-05/0.4035, allocations: 158.5 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.4036, allocations: 75.28 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.4036, allocations: 83.22 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001499/0.4038, allocations: 260.4 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.4038, allocations: 112.9 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.4039, allocations: 119.7 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.643e-05/0.404, allocations: 176.3 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.484e-05/0.4041, allocations: 180.3 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-05/0.4042, allocations: 184.2 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4044, allocations: 356.8 kB / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/0.4045, allocations: 108.9 kB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.4045, allocations: 101 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.023e-05/0.4046, allocations: 184.1 kB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/0.4047, allocations: 180.3 kB / 0.5694 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-05/0.4048, allocations: 180.2 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.329e-05/0.4049, allocations: 184.2 kB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.405, allocations: 312.1 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.4051, allocations: 105 kB / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/0.4052, allocations: 192.2 kB / 0.5703 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4053, allocations: 108.9 kB / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.4054, allocations: 180.3 kB / 0.5706 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.4055, allocations: 104.9 kB / 0.5707 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.191e-05/0.4055, allocations: 75.28 kB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4055, allocations: 0 / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.4058, allocations: 4 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000161/0.4059, allocations: 170.5 kB / 0.5709 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.464e-05/0.406, allocations: 0 / 0.5709 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.406, allocations: 4.094 kB / 0.5709 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.406, allocations: 0 / 0.5709 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4064, allocations: 459.7 kB / 0.5714 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.4066, allocations: 156.2 kB / 0.5715 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.443e-05/0.4067, allocations: 51.36 kB / 0.5716 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.315e-05/0.4067, allocations: 3.984 kB / 0.5716 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.4067, allocations: 11.44 kB / 0.5716 GB, free: 9.145 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4067, allocations: 0 / 0.5716 GB, free: 9.145 MB / 414.1 MB Notification: Performance of Templates: time 0.002565/0.4093, allocations: 325.7 kB / 0.5719 GB, free: 8.836 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.216696187853813]