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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 104.8 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3449/0.3449, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 51.92 kB / 457.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4628, allocations: 60.81 MB / 0.5064 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001812/0.4647, allocations: 0.5392 MB / 0.5069 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.4676, allocations: 2.05 MB / 0.5089 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.4676, allocations: 1.031 kB / 0.5089 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.4676, allocations: 0 / 0.5089 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.848e-05/0.4677, allocations: 0 / 0.5089 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.4686, allocations: 288.7 kB / 0.5092 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.145e-05/0.4687, allocations: 2.375 kB / 0.5092 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.4687, allocations: 1.156 kB / 0.5092 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.4688, allocations: 9.766 kB / 0.5092 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04135/0.5101, allocations: 3.203 MB / 0.5123 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.5102, allocations: 0 / 0.5123 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.5103, allocations: 10.48 kB / 0.5123 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.5103, allocations: 0 / 0.5123 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.5103, allocations: 3.281 kB / 0.5123 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.5104, allocations: 10.89 kB / 0.5124 GB, free: 35.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5104, allocations: 0 / 0.5124 GB, free: 35.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5104, allocations: 3.094 kB / 0.5124 GB, free: 35.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.5104, allocations: 0 / 0.5124 GB, free: 35.86 MB / 378.7 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.0002728/0.5107, allocations: 317.5 kB / 0.5127 GB, free: 35.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5108, allocations: 12.69 kB / 0.5127 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.511, allocations: 86.48 kB / 0.5128 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.5111, allocations: 239.6 kB / 0.513 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.5111, allocations: 154 kB / 0.5131 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.5111, allocations: 155.8 kB / 0.5133 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.201e-05/0.5112, allocations: 110.6 kB / 0.5134 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5112, allocations: 75.28 kB / 0.5135 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.5112, allocations: 154.5 kB / 0.5136 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.5113, allocations: 150.6 kB / 0.5137 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.5113, allocations: 152.1 kB / 0.5139 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.5115, allocations: 458.3 kB / 0.5143 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.5115, allocations: 166.7 kB / 0.5145 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.5116, allocations: 84.08 kB / 0.5146 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.5116, allocations: 75.28 kB / 0.5146 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.5116, allocations: 107.5 kB / 0.5147 GB, free: 33.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5116, allocations: 4 kB / 0.5147 GB, free: 33.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.853e-05/0.5117, allocations: 34.86 kB / 0.5148 GB, free: 33.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.5118, allocations: 179.6 kB / 0.515 GB, free: 33.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.5119, allocations: 98.52 kB / 0.515 GB, free: 32.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.5119, allocations: 25.7 kB / 0.5151 GB, free: 32.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.459e-05/0.5119, allocations: 81.52 kB / 0.5151 GB, free: 32.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.5119, allocations: 0 / 0.5151 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.5119, allocations: 16.34 kB / 0.5152 GB, free: 32.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.512, allocations: 315 kB / 0.5155 GB, free: 32.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.512, allocations: 0 / 0.5155 GB, free: 32.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.512, allocations: 12.53 kB / 0.5155 GB, free: 32.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.358e-05/0.512, allocations: 75.28 kB / 0.5155 GB, free: 32.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.5121, allocations: 80.78 kB / 0.5156 GB, free: 32.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.986e-05/0.5121, allocations: 38.17 kB / 0.5157 GB, free: 32.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.5121, allocations: 81 kB / 0.5157 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5122, allocations: 80.62 kB / 0.5158 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.5122, allocations: 150.6 kB / 0.516 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.184e-05/0.5122, allocations: 80.31 kB / 0.516 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.5122, allocations: 155.7 kB / 0.5162 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.5123, allocations: 87.44 kB / 0.5163 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5123, allocations: 76.38 kB / 0.5163 GB, free: 31.59 MB / 378.7 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 8.212e-05/0.5124, allocations: 266.4 kB / 0.5166 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.5125, allocations: 110.9 kB / 0.5167 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.5125, allocations: 108.4 kB / 0.5168 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/0.5125, allocations: 177.2 kB / 0.517 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/0.5126, allocations: 181.3 kB / 0.5171 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.5126, allocations: 189.4 kB / 0.5173 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.5128, allocations: 406.2 kB / 0.5177 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/0.5128, allocations: 102.1 kB / 0.5178 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.5129, allocations: 101 kB / 0.5179 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-05/0.5129, allocations: 185.1 kB / 0.5181 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.513, allocations: 185.3 kB / 0.5183 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.695e-05/0.513, allocations: 181.4 kB / 0.5184 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.785e-05/0.5131, allocations: 177.5 kB / 0.5186 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.5134, allocations: 0.8368 MB / 0.5194 GB, free: 28.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.5134, allocations: 190.7 kB / 0.5196 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.5135, allocations: 181.5 kB / 0.5198 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.5136, allocations: 107.3 kB / 0.5199 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.5136, allocations: 176.3 kB / 0.52 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.5137, allocations: 106.5 kB / 0.5201 GB, free: 27.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.5137, allocations: 83.22 kB / 0.5202 GB, free: 27.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5137, allocations: 4.875 kB / 0.5202 GB, free: 27.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.5142, allocations: 2.25 kB / 0.5202 GB, free: 27.39 MB / 378.7 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.0001348/0.5143, allocations: 167.2 kB / 0.5204 GB, free: 27.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.919e-05/0.5144, allocations: 5.062 kB / 0.5204 GB, free: 27.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5144, allocations: 0 / 0.5204 GB, free: 27.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.5144, allocations: 1.156 kB / 0.5204 GB, free: 27.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.5148, allocations: 0.5249 MB / 0.5209 GB, free: 26.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.515, allocations: 157.6 kB / 0.5211 GB, free: 26.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.5152, allocations: 0.6701 MB / 0.5217 GB, free: 25.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.5152, allocations: 1.188 kB / 0.5217 GB, free: 25.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.5153, allocations: 11.38 kB / 0.5217 GB, free: 25.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5153, allocations: 0 / 0.5217 GB, free: 25.82 MB / 378.7 MB Notification: Performance of Templates: time 0.002676/0.5179, allocations: 298.2 kB / 0.522 GB, free: 25.75 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches