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.001297/0.001297, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001168/0.001168, allocations: 187 kB / 18.66 MB, free: 4.387 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.323/1.323, allocations: 205.1 MB / 224.5 MB, free: 12.27 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.001594/0.001594, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.0914, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3313/0.4227, allocations: 150.9 MB / 0.5132 GB, free: 8.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.4248, allocations: 1.49 MB / 0.5146 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.4249, allocations: 0 / 0.5146 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.4253, allocations: 59.66 kB / 0.5147 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008923/0.4262, allocations: 386.2 kB / 0.5151 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.4267, allocations: 160.7 kB / 0.5152 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.4269, allocations: 187.2 kB / 0.5154 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.427, allocations: 4 kB / 0.5154 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.4271, allocations: 79.75 kB / 0.5155 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4273, allocations: 59.7 kB / 0.5155 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.4273, allocations: 13.12 kB / 0.5156 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.4284, allocations: 0.569 MB / 0.5161 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.4285, allocations: 23.97 kB / 0.5161 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.152e-05/0.4286, allocations: 55.78 kB / 0.5162 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.4292, allocations: 389.5 kB / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4292, allocations: 0 / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4292, allocations: 0 / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.4293, 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.0005893/0.4299, allocations: 442.9 kB / 0.517 GB, free: 4.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4299, allocations: 11.97 kB / 0.517 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.4299, allocations: 42.73 kB / 0.517 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.4321, allocations: 184.6 kB / 0.5172 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.4324, allocations: 213.5 kB / 0.5174 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4324, allocations: 11.94 kB / 0.5174 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.4324, allocations: 7.953 kB / 0.5174 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.4329, allocations: 205.5 kB / 0.5176 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4329, allocations: 0 / 0.5176 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.4329, allocations: 4 kB / 0.5176 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.433, allocations: 7.984 kB / 0.5176 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.4336, allocations: 243.7 kB / 0.5179 GB, free: 3.734 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.001705/0.4353, allocations: 0.6726 MB / 0.5185 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.4357, allocations: 194.4 kB / 0.5187 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.436, allocations: 96.75 kB / 0.5188 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.4361, allocations: 85.09 kB / 0.5189 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4362, allocations: 42.56 kB / 0.5189 GB, free: 2.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.4362, allocations: 0 / 0.5189 GB, free: 2.555 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.005708/0.4419, allocations: 1.533 MB / 0.5204 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4419, allocations: 59.34 kB / 0.5205 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4421, allocations: 113.8 kB / 0.5206 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4421, allocations: 25.7 kB / 0.5206 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.4422, allocations: 104.3 kB / 0.5207 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/0.4422, allocations: 67.44 kB / 0.5208 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4424, allocations: 49.69 kB / 0.5208 GB, free: 476 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4425, allocations: 322.8 kB / 0.5211 GB, free: 144 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.4427, allocations: 87.95 kB / 0.5212 GB, free: 56 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.443, allocations: 119.3 kB / 0.5213 GB, free: 15.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.4435, allocations: 231.3 kB / 0.5215 GB, free: 15.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4435, allocations: 3.938 kB / 0.5216 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006385/0.4441, allocations: 290.2 kB / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4442, allocations: 4 kB / 0.5218 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4442, allocations: 3.938 kB / 0.5218 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.4443, allocations: 24.84 kB / 0.5219 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.4448, allocations: 55.89 kB / 0.5219 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003947/0.4452, allocations: 0.5369 MB / 0.5224 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.4455, allocations: 9.469 kB / 0.5224 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.4455, allocations: 11.98 kB / 0.5225 GB, free: 14.71 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.0001463/0.4457, allocations: 133.7 kB / 0.5226 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.4457, allocations: 11.95 kB / 0.5226 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.4465, allocations: 315.2 kB / 0.5229 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4465, allocations: 4 kB / 0.5229 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4465, allocations: 3.938 kB / 0.5229 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4466, allocations: 0 / 0.5229 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4477, allocations: 0.6685 MB / 0.5236 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4477, allocations: 0 / 0.5236 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.4482, allocations: 51.89 kB / 0.5236 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-05/0.4482, allocations: 20.84 kB / 0.5236 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.4483, allocations: 17.58 kB / 0.5236 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.4493, allocations: 1.363 MB / 0.525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4493, allocations: 7.969 kB / 0.525 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.4502, allocations: 450.7 kB / 0.5254 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.4502, allocations: 89.03 kB / 0.5255 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.4503, allocations: 4.875 kB / 0.5255 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.4506, allocations: 11.98 kB / 0.5255 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.4507, allocations: 15.98 kB / 0.5255 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.4507, allocations: 11.98 kB / 0.5255 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.4508, allocations: 95.33 kB / 0.5256 GB, free: 11.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4508, allocations: 0 / 0.5256 GB, free: 11.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005065/0.4513, allocations: 127.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.001873/0.4532, allocations: 1.134 MB / 0.5269 GB, free: 9.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007033/0.4539, allocations: 242.5 kB / 0.5271 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4539, allocations: 0 / 0.5271 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.4543, allocations: 234.9 kB / 0.5273 GB, free: 9.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.4547, allocations: 45.19 kB / 0.5274 GB, free: 9.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.4577, allocations: 2.139 MB / 0.5294 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4581, allocations: 0.7046 MB / 0.5301 GB, free: 6.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.4584, allocations: 57.38 kB / 0.5302 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.4585, allocations: 47.34 kB / 0.5302 GB, free: 6.281 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4585, allocations: 0 / 0.5302 GB, free: 6.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.4946, allocations: 8.015 MB / 0.5381 GB, free: 14.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.06, allocations: 8.062 kB / 0.5381 GB, free: 14.19 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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