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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 107.6 kB / 21.18 MB, free: 0.5781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 217 kB / 24.48 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 58.73 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.257, allocations: 49.16 MB / 396.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1681/0.4251, allocations: 129.7 MB / 0.5138 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.4273, allocations: 1.343 MB / 0.5151 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.4274, allocations: 0 / 0.5151 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.4278, allocations: 51.73 kB / 0.5151 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.429, allocations: 394 kB / 0.5155 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.4295, allocations: 171.4 kB / 0.5157 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.4298, allocations: 187.2 kB / 0.5158 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.4299, allocations: 8 kB / 0.5158 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.4301, allocations: 79.69 kB / 0.5159 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.4302, allocations: 63.73 kB / 0.516 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4302, allocations: 4 kB / 0.516 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.4313, allocations: 0.5183 MB / 0.5165 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.4314, allocations: 27.91 kB / 0.5165 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.4314, allocations: 47.84 kB / 0.5166 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.4322, allocations: 389.2 kB / 0.5169 GB, free: 13.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4322, allocations: 3.938 kB / 0.5169 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4322, allocations: 0 / 0.5169 GB, free: 13.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4322, allocations: 7.938 kB / 0.5169 GB, free: 13.66 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.0006655/0.4329, allocations: 353.8 kB / 0.5173 GB, free: 13.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.4329, allocations: 15.98 kB / 0.5173 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.433, allocations: 46.75 kB / 0.5173 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.4352, allocations: 188.6 kB / 0.5175 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.4355, allocations: 150.4 kB / 0.5177 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4356, allocations: 11.94 kB / 0.5177 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.4356, allocations: 8 kB / 0.5177 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.4362, allocations: 286.5 kB / 0.518 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4362, allocations: 3.984 kB / 0.518 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.4362, allocations: 4 kB / 0.518 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4362, allocations: 0 / 0.518 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/0.4369, allocations: 239.8 kB / 0.5182 GB, free: 12.29 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.001873/0.4387, allocations: 0.5747 MB / 0.5188 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.4392, allocations: 186.4 kB / 0.5189 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.4394, allocations: 92.81 kB / 0.519 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.4396, allocations: 11.98 kB / 0.519 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.4396, allocations: 38.56 kB / 0.5191 GB, free: 11.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.624e-06/0.4396, allocations: 0 / 0.5191 GB, free: 11.32 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.005767/0.4454, allocations: 1.385 MB / 0.5204 GB, free: 9.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4454, allocations: 59.41 kB / 0.5205 GB, free: 9.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4455, allocations: 105.8 kB / 0.5206 GB, free: 9.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4456, allocations: 33.7 kB / 0.5206 GB, free: 9.637 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.4456, allocations: 96.36 kB / 0.5207 GB, free: 9.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.4457, allocations: 71.41 kB / 0.5208 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.4458, allocations: 41.7 kB / 0.5208 GB, free: 9.422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.446, allocations: 322.8 kB / 0.5211 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.4462, allocations: 91.95 kB / 0.5212 GB, free: 9.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.4464, allocations: 131.2 kB / 0.5213 GB, free: 8.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.4469, allocations: 235.2 kB / 0.5216 GB, free: 8.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4469, allocations: 0 / 0.5216 GB, free: 8.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006619/0.4476, allocations: 278.3 kB / 0.5218 GB, free: 8.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4476, allocations: 8.094 kB / 0.5218 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.4476, allocations: 4 kB / 0.5218 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.4477, allocations: 24.84 kB / 0.5219 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.4482, allocations: 55.89 kB / 0.5219 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000426/0.4486, allocations: 0.529 MB / 0.5224 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.4489, allocations: 15.95 kB / 0.5224 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.449, allocations: 11.94 kB / 0.5225 GB, free: 7.668 MB / 446.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.4491, allocations: 125.9 kB / 0.5226 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.4492, allocations: 11.95 kB / 0.5226 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/0.45, allocations: 315.3 kB / 0.5229 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.45, allocations: 11.94 kB / 0.5229 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.45, allocations: 0 / 0.5229 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.45, allocations: 3.984 kB / 0.5229 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4512, allocations: 0.6163 MB / 0.5235 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4512, allocations: 0 / 0.5235 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/0.4516, allocations: 47.95 kB / 0.5235 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.273e-05/0.4517, allocations: 32.88 kB / 0.5236 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.4518, allocations: 4 kB / 0.5236 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.4529, allocations: 1.259 MB / 0.5248 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4529, allocations: 4.031 kB / 0.5248 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.4538, allocations: 459.1 kB / 0.5253 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.4539, allocations: 7.984 kB / 0.5253 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.4539, allocations: 8 kB / 0.5253 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.4542, allocations: 15.97 kB / 0.5253 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4543, allocations: 19.91 kB / 0.5253 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.4543, allocations: 11.98 kB / 0.5253 GB, free: 4.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.4544, allocations: 83.28 kB / 0.5254 GB, free: 4.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4544, allocations: 0 / 0.5254 GB, free: 4.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005746/0.455, allocations: 131.7 kB / 0.5255 GB, free: 4.301 MB / 446.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.001925/0.4569, allocations: 1.141 MB / 0.5266 GB, free: 3.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006681/0.4575, allocations: 227.8 kB / 0.5269 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4575, allocations: 0 / 0.5269 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.458, allocations: 234.8 kB / 0.5271 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4584, allocations: 51.89 kB / 0.5271 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.4619, allocations: 2.129 MB / 0.5292 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.462, allocations: 89.97 kB / 0.5293 GB, free: 248 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003196/0.4624, allocations: 61.75 kB / 0.5294 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.4625, allocations: 43.36 kB / 0.5294 GB, free: 144 kB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4625, allocations: 0 / 0.5294 GB, free: 144 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.5048, allocations: 8.72 MB / 0.5379 GB, free: 7.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.15, allocations: 4.25 kB / 0.5379 GB, free: 7.34 MB / 462.1 MB " [Timeout remaining time 647] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.542261447291821]