Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001228/0.001228, 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.001137/0.001137, allocations: 184.1 kB / 18.65 MB, free: 4.52 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.331/1.331, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001645/0.001645, allocations: 47.94 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08769, allocations: 46.62 MB / 374.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.347/0.4347, allocations: 172.8 MB / 0.5346 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004344/0.4391, allocations: 3.217 MB / 0.5378 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.4395, allocations: 4 kB / 0.5378 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.4401, allocations: 178.9 kB / 0.5379 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009475/0.4411, allocations: 401.8 kB / 0.5383 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.4419, allocations: 343.8 kB / 0.5386 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.443, allocations: 0.8953 MB / 0.5395 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.4432, allocations: 104.7 kB / 0.5396 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.445, allocations: 0.7857 MB / 0.5404 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.4454, allocations: 274.9 kB / 0.5406 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.4455, allocations: 32 kB / 0.5407 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.4458, allocations: 119.9 kB / 0.5408 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.4459, allocations: 103.7 kB / 0.5409 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.4462, allocations: 195.2 kB / 0.5411 GB, free: 12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.4468, allocations: 0.5092 MB / 0.5416 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4469, allocations: 8 kB / 0.5416 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4469, allocations: 0 / 0.5416 GB, free: 11.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.4469, allocations: 0 / 0.5416 GB, free: 11.49 MB / 478.1 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.0009307/0.4478, allocations: 0.5882 MB / 0.5422 GB, free: 10.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4479, allocations: 16.02 kB / 0.5422 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.804e-05/0.448, allocations: 62.48 kB / 0.5422 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.4482, allocations: 43.8 kB / 0.5423 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.4487, allocations: 294.6 kB / 0.5425 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.4487, allocations: 20.5 kB / 0.5426 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.4488, allocations: 24 kB / 0.5426 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.4493, allocations: 319.7 kB / 0.5429 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4493, allocations: 3.938 kB / 0.5429 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.4494, allocations: 12 kB / 0.5429 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4494, allocations: 11.98 kB / 0.5429 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.4497, allocations: 201.6 kB / 0.5431 GB, free: 9.789 MB / 478.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.001898/0.4516, allocations: 1.593 MB / 0.5447 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.452, allocations: 171.2 kB / 0.5448 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.4521, allocations: 96.77 kB / 0.5449 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.4522, allocations: 4 kB / 0.5449 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4522, allocations: 43.38 kB / 0.545 GB, free: 7.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.4522, allocations: 4 kB / 0.545 GB, free: 7.715 MB / 478.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005438/0.4577, allocations: 1.614 MB / 0.5466 GB, free: 5.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4577, allocations: 59.41 kB / 0.5466 GB, free: 5.898 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.458, allocations: 253 kB / 0.5468 GB, free: 5.645 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.4581, allocations: 33.7 kB / 0.5469 GB, free: 5.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.4582, allocations: 180.5 kB / 0.5471 GB, free: 5.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.4583, allocations: 99.12 kB / 0.5471 GB, free: 5.324 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.4584, allocations: 81.69 kB / 0.5472 GB, free: 5.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4586, allocations: 334.8 kB / 0.5475 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.4588, allocations: 91.95 kB / 0.5476 GB, free: 4.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.459, allocations: 191.8 kB / 0.5478 GB, free: 4.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.4595, allocations: 300.3 kB / 0.5481 GB, free: 4.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4595, allocations: 3.938 kB / 0.5481 GB, free: 4.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007057/0.4602, allocations: 404.1 kB / 0.5485 GB, free: 3.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4602, allocations: 11.88 kB / 0.5485 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4602, allocations: 4 kB / 0.5485 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.4605, allocations: 77.61 kB / 0.5486 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.4608, allocations: 83.89 kB / 0.5487 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.4624, allocations: 1.96 MB / 0.5506 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.4626, allocations: 8 kB / 0.5506 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.4627, allocations: 43.98 kB / 0.5506 GB, free: 1.484 MB / 478.1 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.4628, allocations: 158.3 kB / 0.5508 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.4629, allocations: 27.81 kB / 0.5508 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000867/0.4638, allocations: 444.9 kB / 0.5512 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4638, allocations: 7.984 kB / 0.5512 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4638, allocations: 0 / 0.5512 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005651/0.4644, allocations: 0.5552 MB / 0.5518 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1531/0.6175, allocations: 0.7241 MB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6175, allocations: 0.7969 kB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.6179, allocations: 71.09 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.3e-05/0.618, allocations: 21.84 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.618, allocations: 12.33 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006487/0.6187, allocations: 1.387 MB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6187, allocations: 1.375 kB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.6193, allocations: 482 kB / 0.5544 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.6194, allocations: 110.2 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.6194, allocations: 7.109 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.6197, allocations: 7.5 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.6197, allocations: 27 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.6198, allocations: 35.7 kB / 0.5546 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.62, allocations: 188.2 kB / 0.5548 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.62, allocations: 0 / 0.5548 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005223/0.6205, allocations: 122.5 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001109/0.6216, allocations: 1.055 MB / 0.5559 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.6223, allocations: 376.4 kB / 0.5563 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6223, allocations: 1.125 kB / 0.5563 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.6226, allocations: 235 kB / 0.5565 GB, free: 167.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008912/0.6235, allocations: 163.1 kB / 0.5566 GB, free: 167.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.6269, allocations: 3.19 MB / 0.5598 GB, free: 165.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.6272, allocations: 0.7618 MB / 0.5605 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004218/0.6276, allocations: 117 kB / 0.5606 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.6278, allocations: 130 kB / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6278, allocations: 4.938 kB / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04252/0.6703, allocations: 11.92 MB / 0.5724 GB, free: 161.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.65, allocations: 3.812 kB / 0.5724 GB, free: 161.3 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches