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.001531/0.001531, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001906/0.001906, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8 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.229/0.229, allocations: 44.91 MB / 359.6 MB, free: 6.305 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.002216/0.002216, allocations: 63.91 kB / 0.4943 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3744, allocations: 65.47 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001974/0.3764, allocations: 0.4901 MB / 0.5587 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003668/0.38, allocations: 2.167 MB / 0.5608 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.3801, allocations: 0 / 0.5608 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.3801, allocations: 0 / 0.5608 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.3801, allocations: 4 kB / 0.5608 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.3814, allocations: 402.7 kB / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.767e-05/0.3814, allocations: 4 kB / 0.5612 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.3815, allocations: 4 kB / 0.5612 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.3815, allocations: 7.984 kB / 0.5612 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02098/0.4025, allocations: 3.383 MB / 0.5645 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4025, allocations: 0 / 0.5645 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4026, allocations: 8 kB / 0.5645 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.4026, allocations: 0 / 0.5645 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.4026, allocations: 7.984 kB / 0.5645 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.4028, allocations: 7.984 kB / 0.5645 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4028, allocations: 4 kB / 0.5645 GB, free: 1.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4028, allocations: 0 / 0.5645 GB, free: 1.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4028, allocations: 0 / 0.5645 GB, free: 1.867 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.0003997/0.4032, allocations: 246.3 kB / 0.5648 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4033, allocations: 12.03 kB / 0.5648 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.4035, allocations: 84.16 kB / 0.5649 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.4037, allocations: 181.8 kB / 0.565 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.4037, allocations: 162.9 kB / 0.5652 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/0.4038, allocations: 154.7 kB / 0.5654 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.4039, allocations: 105 kB / 0.5655 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.4039, allocations: 75.28 kB / 0.5655 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.404, allocations: 150.6 kB / 0.5657 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/0.4041, allocations: 154.5 kB / 0.5658 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.4042, allocations: 158.5 kB / 0.566 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.4045, allocations: 417 kB / 0.5664 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4046, allocations: 165.1 kB / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.4047, allocations: 84.08 kB / 0.5666 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.4047, allocations: 79.28 kB / 0.5667 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.918e-05/0.4048, allocations: 113.8 kB / 0.5668 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4048, allocations: 3.938 kB / 0.5668 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.841e-05/0.4049, allocations: 25.7 kB / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.405, allocations: 182.1 kB / 0.567 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4051, allocations: 93.86 kB / 0.5671 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.4051, allocations: 29.83 kB / 0.5671 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.4052, allocations: 80.14 kB / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.4052, allocations: 0 / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.4052, allocations: 13.72 kB / 0.5672 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4053, allocations: 310.8 kB / 0.5675 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.4054, allocations: 0 / 0.5675 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.4054, allocations: 13.7 kB / 0.5675 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.4054, allocations: 87.31 kB / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-05/0.4055, allocations: 75.28 kB / 0.5677 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.724e-05/0.4055, allocations: 37.58 kB / 0.5677 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.4056, allocations: 83.28 kB / 0.5678 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/0.4056, allocations: 75.28 kB / 0.5678 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.168e-05/0.4057, allocations: 158.5 kB / 0.568 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.249e-05/0.4057, allocations: 75.28 kB / 0.5681 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001059/0.4058, allocations: 162.5 kB / 0.5682 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.4059, allocations: 79.22 kB / 0.5683 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.406, allocations: 79.28 kB / 0.5684 GB, free: 13.73 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.0001584/0.4061, allocations: 264.3 kB / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.4062, allocations: 112.8 kB / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.4063, allocations: 111.8 kB / 0.5688 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-05/0.4063, allocations: 188.2 kB / 0.569 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.401e-05/0.4064, allocations: 176.3 kB / 0.5692 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.183e-05/0.4065, allocations: 180.3 kB / 0.5694 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.4068, allocations: 380.2 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/0.4068, allocations: 101 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.4069, allocations: 108.9 kB / 0.5699 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-05/0.407, allocations: 180.3 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.114e-05/0.4071, allocations: 180.3 kB / 0.5703 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.534e-05/0.4071, allocations: 180.2 kB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-05/0.4072, allocations: 184.2 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.4074, allocations: 312.1 kB / 0.5709 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.4075, allocations: 108.9 kB / 0.571 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.601e-05/0.4076, allocations: 188.2 kB / 0.5712 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4077, allocations: 101 kB / 0.5713 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.4078, allocations: 184.2 kB / 0.5715 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.4078, allocations: 109 kB / 0.5716 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.4079, allocations: 75.28 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4079, allocations: 0 / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.4081, allocations: 4 kB / 0.5716 GB, free: 10.17 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.0001573/0.4083, allocations: 166.5 kB / 0.5718 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.901e-05/0.4083, allocations: 3.984 kB / 0.5718 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4083, allocations: 4.094 kB / 0.5718 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.4084, allocations: 3.938 kB / 0.5718 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.4088, allocations: 459.6 kB / 0.5723 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.4091, allocations: 174 kB / 0.5724 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4094, allocations: 0.669 MB / 0.5731 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.4094, allocations: 11.44 kB / 0.5731 GB, free: 8.621 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4094, allocations: 4 kB / 0.5731 GB, free: 8.617 MB / 414.1 MB Notification: Performance of Templates: time 0.0023/0.4117, allocations: 367.5 kB / 0.5734 GB, free: 8.262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/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: 7.369409404927865]