Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 178.1 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007255/0.0007255, allocations: 94.17 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002509/0.000251, allocations: 4 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1944, allocations: 47.58 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2905/0.485, allocations: 132.6 MB / 0.4973 GB, free: 2.094 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.4869, allocations: 1.869 MB / 0.4991 GB, free: 17.76 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.4871, allocations: 2.656 kB / 0.4991 GB, free: 17.76 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.4875, allocations: 147.4 kB / 0.4993 GB, free: 17.76 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.488, allocations: 323.3 kB / 0.4996 GB, free: 17.74 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.4888, allocations: 392.9 kB / 0.4999 GB, free: 17.71 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.4896, allocations: 1.301 MB / 0.5012 GB, free: 17.71 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.4898, allocations: 74.53 kB / 0.5013 GB, free: 17.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.4902, allocations: 361.4 kB / 0.5016 GB, free: 17.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.4906, allocations: 332 kB / 0.5019 GB, free: 17.7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.4906, allocations: 19.34 kB / 0.502 GB, free: 17.7 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.4909, allocations: 138.5 kB / 0.5021 GB, free: 17.69 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.491, allocations: 75.31 kB / 0.5022 GB, free: 17.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.4912, allocations: 197.1 kB / 0.5023 GB, free: 17.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.4916, allocations: 480.9 kB / 0.5028 GB, free: 17.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4916, allocations: 1.859 kB / 0.5028 GB, free: 17.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4916, allocations: 0 / 0.5028 GB, free: 17.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.4916, allocations: 0 / 0.5028 GB, free: 17.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006496/0.4923, allocations: 0.518 MB / 0.5033 GB, free: 17.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4923, allocations: 11.77 kB / 0.5033 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.4926, allocations: 44.53 kB / 0.5034 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.4929, allocations: 286.6 kB / 0.5036 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4929, allocations: 18.81 kB / 0.5037 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.493, allocations: 23.31 kB / 0.5037 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.4934, allocations: 302 kB / 0.504 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4934, allocations: 0 / 0.504 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.4934, allocations: 15.28 kB / 0.504 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4934, allocations: 15.33 kB / 0.504 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.4937, allocations: 203.5 kB / 0.5042 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.4951, allocations: 1.286 MB / 0.5054 GB, free: 16.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.4954, allocations: 188.5 kB / 0.5056 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4956, allocations: 92.25 kB / 0.5057 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.4957, allocations: 172.1 kB / 0.5059 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.4957, allocations: 37.16 kB / 0.5059 GB, free: 15.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.4957, allocations: 3.938 kB / 0.5059 GB, free: 15.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002034/0.4978, allocations: 1.039 MB / 0.5069 GB, free: 15.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.4978, allocations: 54.38 kB / 0.507 GB, free: 15.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4981, allocations: 255.4 kB / 0.5072 GB, free: 15.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4981, allocations: 32.2 kB / 0.5073 GB, free: 15.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.4982, allocations: 186.4 kB / 0.5074 GB, free: 14.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.4982, allocations: 92.42 kB / 0.5075 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.4983, allocations: 4.656 kB / 0.5075 GB, free: 14.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4984, allocations: 336.6 kB / 0.5079 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4985, allocations: 83.62 kB / 0.5079 GB, free: 14.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4987, allocations: 186.3 kB / 0.5081 GB, free: 14.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.499, allocations: 288.7 kB / 0.5084 GB, free: 14.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.499, allocations: 0 / 0.5084 GB, free: 14.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004877/0.4995, allocations: 432.2 kB / 0.5088 GB, free: 14.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4995, allocations: 12.66 kB / 0.5088 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4995, allocations: 3 kB / 0.5088 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.4997, allocations: 42.16 kB / 0.5089 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.5, allocations: 77.27 kB / 0.5089 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.5015, allocations: 2.569 MB / 0.5114 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5017, allocations: 23.31 kB / 0.5115 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.5017, allocations: 17.61 kB / 0.5115 GB, free: 11.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.5019, allocations: 157.8 kB / 0.5116 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.5019, allocations: 26.28 kB / 0.5116 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.5025, allocations: 366.8 kB / 0.512 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5025, allocations: 4.578 kB / 0.512 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5025, allocations: 1.031 kB / 0.512 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005217/0.503, allocations: 0.614 MB / 0.5126 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.5039, allocations: 0.7605 MB / 0.5133 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.504, allocations: 0 / 0.5133 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.5042, allocations: 58.05 kB / 0.5134 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.983e-05/0.5043, allocations: 27.36 kB / 0.5134 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.5043, allocations: 6.031 kB / 0.5134 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006843/0.505, allocations: 1.287 MB / 0.5147 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.505, allocations: 0 / 0.5147 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.5055, allocations: 0.5094 MB / 0.5152 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.5056, allocations: 100.6 kB / 0.5153 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.5057, allocations: 16.16 kB / 0.5153 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.5059, allocations: 12.44 kB / 0.5153 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.506, allocations: 17.89 kB / 0.5153 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.506, allocations: 14.61 kB / 0.5153 GB, free: 8.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.5061, allocations: 185.8 kB / 0.5155 GB, free: 8.566 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5062, allocations: 0 / 0.5155 GB, free: 8.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.5065, allocations: 104.2 kB / 0.5156 GB, free: 8.559 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.5068, allocations: 150.4 kB / 0.5158 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005429/0.5073, allocations: 450 kB / 0.5162 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5073, allocations: 1.125 kB / 0.5162 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.5076, allocations: 222.4 kB / 0.5164 GB, free: 8.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.5084, allocations: 163.7 kB / 0.5166 GB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.5094, allocations: 0.8367 MB / 0.5174 GB, free: 7.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.5098, allocations: 0.7643 MB / 0.5181 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003234/0.5101, allocations: 58.62 kB / 0.5182 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.5102, allocations: 33.53 kB / 0.5182 GB, free: 6.906 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5102, allocations: 0.5625 kB / 0.5182 GB, free: 6.906 MB / 394.7 MB Notification: Performance of Templates: time 0.009424/0.5196, allocations: 5.874 MB / 0.5239 GB, free: 6.488 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches