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.00134/0.00134, allocations: 113.4 kB / 17.72 MB, free: 5.445 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.001361/0.001361, allocations: 184.1 kB / 18.66 MB, free: 4.516 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.298/1.298, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001262/0.001262, allocations: 51.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08321, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.339/0.4222, allocations: 150.9 MB / 0.5132 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.4242, allocations: 1.486 MB / 0.5146 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4243, allocations: 4 kB / 0.5146 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.4247, allocations: 51.72 kB / 0.5147 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.4258, allocations: 399.6 kB / 0.5151 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.4263, allocations: 164 kB / 0.5152 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.4266, allocations: 191.2 kB / 0.5154 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.4266, allocations: 4 kB / 0.5154 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.4268, allocations: 71.75 kB / 0.5155 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.4269, allocations: 63.77 kB / 0.5155 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.427, allocations: 7.938 kB / 0.5155 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.428, allocations: 0.5807 MB / 0.5161 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.4281, allocations: 27.95 kB / 0.5161 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.4282, allocations: 51.78 kB / 0.5162 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.4289, allocations: 393.5 kB / 0.5166 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4289, allocations: 0 / 0.5166 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4289, allocations: 0 / 0.5166 GB, free: 5.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.4289, allocations: 0 / 0.5166 GB, free: 5.188 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.0006149/0.4295, allocations: 430.9 kB / 0.517 GB, free: 4.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4296, allocations: 12.03 kB / 0.517 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.4296, allocations: 44.38 kB / 0.517 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.432, allocations: 192.5 kB / 0.5172 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.4322, allocations: 208.4 kB / 0.5174 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4323, allocations: 7.938 kB / 0.5174 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.4323, allocations: 15.95 kB / 0.5174 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.4328, allocations: 205.5 kB / 0.5176 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4328, allocations: 2.5 kB / 0.5176 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.4328, allocations: 0 / 0.5176 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.4329, allocations: 7.938 kB / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.4334, allocations: 247.7 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.001757/0.4352, allocations: 0.6687 MB / 0.5185 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.4356, allocations: 190.5 kB / 0.5187 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.4358, allocations: 88.83 kB / 0.5188 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.436, allocations: 101.1 kB / 0.5189 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.436, allocations: 42.5 kB / 0.5189 GB, free: 2.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.4361, allocations: 0 / 0.5189 GB, free: 2.566 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.005654/0.4417, allocations: 1.526 MB / 0.5204 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4418, allocations: 51.41 kB / 0.5205 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.4419, allocations: 109.8 kB / 0.5206 GB, free: 0.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.4419, allocations: 33.64 kB / 0.5206 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.442, allocations: 100.4 kB / 0.5207 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.442, allocations: 75.41 kB / 0.5208 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.4421, allocations: 41.7 kB / 0.5208 GB, free: 500 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.4422, allocations: 318.8 kB / 0.5211 GB, free: 172 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.4425, allocations: 95.89 kB / 0.5212 GB, free: 76 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.4427, allocations: 127.3 kB / 0.5213 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.4432, allocations: 227.3 kB / 0.5215 GB, free: 15.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4432, allocations: 3.938 kB / 0.5215 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006205/0.4438, allocations: 290.2 kB / 0.5218 GB, free: 15.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4439, allocations: 8 kB / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4439, allocations: 0 / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.444, allocations: 24.84 kB / 0.5219 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.4445, allocations: 52.83 kB / 0.5219 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003472/0.4448, allocations: 0.5368 MB / 0.5224 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.4451, allocations: 11.98 kB / 0.5224 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.4452, allocations: 8 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.0001385/0.4453, allocations: 129.7 kB / 0.5226 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.4454, allocations: 11.94 kB / 0.5226 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007469/0.4461, allocations: 315.4 kB / 0.5229 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4462, allocations: 4 kB / 0.5229 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4462, allocations: 3.938 kB / 0.5229 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4462, allocations: 5.109 kB / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.4473, allocations: 0.6723 MB / 0.5236 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.4473, allocations: 4 kB / 0.5236 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.4478, allocations: 51.89 kB / 0.5236 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.478e-05/0.4479, allocations: 24.94 kB / 0.5236 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.4479, allocations: 7.984 kB / 0.5236 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009715/0.4489, allocations: 1.364 MB / 0.525 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4489, allocations: 4 kB / 0.525 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/0.4498, allocations: 454 kB / 0.5254 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.4498, allocations: 92.97 kB / 0.5255 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.4499, allocations: 8 kB / 0.5255 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.4502, allocations: 11.98 kB / 0.5255 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.4503, allocations: 11.98 kB / 0.5255 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.4503, allocations: 15.98 kB / 0.5255 GB, free: 11.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.4504, allocations: 87.64 kB / 0.5256 GB, free: 11.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4504, allocations: 3.938 kB / 0.5256 GB, free: 11.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005306/0.4509, allocations: 139.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.001676/0.4526, allocations: 1.133 MB / 0.5269 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000628/0.4533, allocations: 235.7 kB / 0.5271 GB, free: 9.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4533, allocations: 0 / 0.5271 GB, free: 9.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.4537, allocations: 234.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.0004408/0.4541, allocations: 43.89 kB / 0.5274 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.457, allocations: 2.131 MB / 0.5294 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4573, allocations: 0.7085 MB / 0.5301 GB, free: 6.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.4576, allocations: 57.72 kB / 0.5302 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.4577, allocations: 35.42 kB / 0.5302 GB, free: 6.305 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4578, allocations: 0 / 0.5302 GB, free: 6.305 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.4868, allocations: 8.019 MB / 0.5381 GB, free: 14.22 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.85, allocations: 4 kB / 0.5381 GB, free: 14.21 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