Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 183.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08798, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3402/0.4282, allocations: 150.9 MB / 0.5132 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.4301, allocations: 1.486 MB / 0.5146 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.4302, allocations: 4 kB / 0.5146 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.4306, allocations: 51.72 kB / 0.5147 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.4317, allocations: 390.2 kB / 0.5151 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.4322, allocations: 173.4 kB / 0.5152 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.4325, allocations: 183.3 kB / 0.5154 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.4326, allocations: 7.984 kB / 0.5154 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.4328, allocations: 75.7 kB / 0.5155 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.4329, allocations: 67.75 kB / 0.5155 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.433, allocations: 4 kB / 0.5156 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.4342, allocations: 0.5768 MB / 0.5161 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.4342, allocations: 23.97 kB / 0.5161 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.4343, allocations: 59.72 kB / 0.5162 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009356/0.4353, allocations: 389.5 kB / 0.5166 GB, free: 5.184 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4353, allocations: 3.938 kB / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4353, allocations: 0 / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4353, allocations: 0 / 0.5166 GB, free: 5.18 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006937/0.436, allocations: 438.9 kB / 0.517 GB, free: 4.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4361, allocations: 12.03 kB / 0.517 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.4361, allocations: 43.61 kB / 0.517 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.4382, allocations: 184.6 kB / 0.5172 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.4385, allocations: 204.5 kB / 0.5174 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.4385, allocations: 11.94 kB / 0.5174 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.4386, allocations: 23.88 kB / 0.5174 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.4391, allocations: 197.5 kB / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4391, allocations: 0 / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.4391, allocations: 4.5 kB / 0.5176 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4391, allocations: 4 kB / 0.5176 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.4397, allocations: 239.8 kB / 0.5179 GB, free: 3.746 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.4415, allocations: 0.6765 MB / 0.5185 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.4419, allocations: 186.4 kB / 0.5187 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.4421, allocations: 95.25 kB / 0.5188 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.4423, allocations: 97.09 kB / 0.5189 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4423, allocations: 34.56 kB / 0.5189 GB, free: 2.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4423, allocations: 0 / 0.5189 GB, free: 2.57 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005336/0.4477, allocations: 1.545 MB / 0.5204 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.4477, allocations: 51.41 kB / 0.5205 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.4478, allocations: 113.8 kB / 0.5206 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.4479, allocations: 25.7 kB / 0.5206 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.4479, allocations: 108.3 kB / 0.5207 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.448, allocations: 67.44 kB / 0.5208 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4481, allocations: 45.69 kB / 0.5208 GB, free: 484 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4482, allocations: 322.8 kB / 0.5211 GB, free: 152 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.4484, allocations: 87.95 kB / 0.5212 GB, free: 64 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.4487, allocations: 123.2 kB / 0.5213 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.4491, allocations: 227.3 kB / 0.5216 GB, free: 15.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4492, allocations: 3.938 kB / 0.5216 GB, free: 15.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006352/0.4498, allocations: 286.2 kB / 0.5218 GB, free: 15.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4498, allocations: 8 kB / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4498, allocations: 0 / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.45, allocations: 24.84 kB / 0.5219 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.4504, allocations: 59.89 kB / 0.5219 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003797/0.4508, allocations: 0.5291 MB / 0.5224 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.4511, allocations: 12.02 kB / 0.5224 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.4512, allocations: 12 kB / 0.5225 GB, free: 14.73 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.4513, allocations: 133.6 kB / 0.5226 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.4514, allocations: 11.95 kB / 0.5226 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/0.4521, allocations: 312.1 kB / 0.5229 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4521, allocations: 4 kB / 0.5229 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4522, allocations: 3.938 kB / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4522, allocations: 3.984 kB / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4532, allocations: 0.6732 MB / 0.5236 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4532, allocations: 3.938 kB / 0.5236 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.4537, allocations: 49.08 kB / 0.5236 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.471e-05/0.4538, allocations: 28.88 kB / 0.5236 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.4538, allocations: 15.92 kB / 0.5237 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009683/0.4548, allocations: 1.356 MB / 0.525 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4548, allocations: 3.938 kB / 0.525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.4556, allocations: 450.8 kB / 0.5254 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.4557, allocations: 89.03 kB / 0.5255 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.4557, allocations: 8 kB / 0.5255 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.456, allocations: 11.98 kB / 0.5255 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4561, allocations: 19.92 kB / 0.5255 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.4561, allocations: 11.98 kB / 0.5255 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.4562, allocations: 95.62 kB / 0.5256 GB, free: 11.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4562, allocations: 0 / 0.5256 GB, free: 11.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005363/0.4567, allocations: 131.7 kB / 0.5258 GB, free: 11.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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.00165/0.4584, allocations: 1.129 MB / 0.5269 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.459, allocations: 242.9 kB / 0.5271 GB, free: 9.664 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.459, allocations: 0 / 0.5271 GB, free: 9.664 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.4594, allocations: 230.8 kB / 0.5273 GB, free: 9.426 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.4598, allocations: 39.91 kB / 0.5274 GB, free: 9.387 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.4628, allocations: 2.146 MB / 0.5295 GB, free: 7.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.4631, allocations: 0.7046 MB / 0.5301 GB, free: 6.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.4634, allocations: 53.78 kB / 0.5302 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4635, allocations: 43.41 kB / 0.5302 GB, free: 6.293 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4635, allocations: 0 / 0.5302 GB, free: 6.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.492, allocations: 8.021 MB / 0.5381 GB, free: 14.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.75, allocations: 3.938 kB / 0.5381 GB, free: 14.2 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches