Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0009757/0.0009757, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007318/0.0007318, allocations: 94.36 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003173, allocations: 8 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.224, allocations: 47.58 MB / 375.2 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.364/0.588, allocations: 157 MB / 0.5197 GB, free: 1.176 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.5916, allocations: 3.001 MB / 0.5226 GB, free: 1.086 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.592, allocations: 8.375 kB / 0.5227 GB, free: 1.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.5925, allocations: 126.5 kB / 0.5228 GB, free: 1.082 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.5936, allocations: 359.8 kB / 0.5231 GB, free: 1.062 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.5944, allocations: 276.4 kB / 0.5234 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.5959, allocations: 1.115 MB / 0.5245 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.5962, allocations: 71.7 kB / 0.5245 GB, free: 1.035 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.5984, allocations: 0.6998 MB / 0.5252 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.5988, allocations: 270.2 kB / 0.5255 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.5989, allocations: 14.34 kB / 0.5255 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.5992, allocations: 109.1 kB / 0.5256 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.5993, allocations: 73.44 kB / 0.5257 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.5996, allocations: 191.8 kB / 0.5259 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.6, allocations: 401.4 kB / 0.5262 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6001, allocations: 4 kB / 0.5262 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6001, allocations: 2.531 kB / 0.5262 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.6001, allocations: 0.9688 kB / 0.5262 GB, free: 0.9492 MB / 378.7 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.0008865/0.601, allocations: 0.5122 MB / 0.5267 GB, free: 16.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.601, allocations: 10.22 kB / 0.5268 GB, free: 16.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.848e-05/0.6011, allocations: 61.94 kB / 0.5268 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.6014, allocations: 49.5 kB / 0.5269 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.6017, allocations: 278 kB / 0.5271 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.6018, allocations: 20.28 kB / 0.5271 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.6018, allocations: 25.09 kB / 0.5272 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.6023, allocations: 324.2 kB / 0.5275 GB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6023, allocations: 4.75 kB / 0.5275 GB, free: 16.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.6024, allocations: 12.34 kB / 0.5275 GB, free: 16.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.6024, allocations: 6.531 kB / 0.5275 GB, free: 16.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.6027, allocations: 200.3 kB / 0.5277 GB, free: 16.13 MB / 394.7 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.001671/0.6044, allocations: 1.584 MB / 0.5292 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.6047, allocations: 170.6 kB / 0.5294 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.6049, allocations: 103.8 kB / 0.5295 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.6049, allocations: 2.844 kB / 0.5295 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.6049, allocations: 43.62 kB / 0.5295 GB, free: 14.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.6049, allocations: 0 / 0.5295 GB, free: 14.86 MB / 394.7 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.005227/0.6102, allocations: 1.617 MB / 0.5311 GB, free: 14.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.6102, allocations: 54.34 kB / 0.5312 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.6105, allocations: 260.8 kB / 0.5314 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.6105, allocations: 34.98 kB / 0.5315 GB, free: 13.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.6106, allocations: 181.1 kB / 0.5316 GB, free: 13.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.6107, allocations: 91.19 kB / 0.5317 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.6107, allocations: 9.375 kB / 0.5317 GB, free: 13.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.6108, allocations: 338.6 kB / 0.532 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.6109, allocations: 90.27 kB / 0.5321 GB, free: 13.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.6111, allocations: 190 kB / 0.5323 GB, free: 13.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.6115, allocations: 301 kB / 0.5326 GB, free: 13.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6115, allocations: 3.062 kB / 0.5326 GB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005395/0.612, allocations: 390.7 kB / 0.533 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6121, allocations: 6.156 kB / 0.533 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6121, allocations: 5.406 kB / 0.533 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.6123, allocations: 75.38 kB / 0.5331 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.6126, allocations: 86.05 kB / 0.5331 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.6138, allocations: 1.855 MB / 0.535 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.6141, allocations: 28.28 kB / 0.535 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.6141, allocations: 39.3 kB / 0.535 GB, free: 11.3 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.6143, allocations: 150.4 kB / 0.5352 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.6144, allocations: 33.22 kB / 0.5352 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.6152, allocations: 442 kB / 0.5356 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6152, allocations: 3.281 kB / 0.5356 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6153, allocations: 2.344 kB / 0.5356 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004606/0.6157, allocations: 0.5581 MB / 0.5362 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008754/0.6166, allocations: 0.7368 MB / 0.5369 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6166, allocations: 2.062 kB / 0.5369 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.6169, allocations: 66.25 kB / 0.5369 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.805e-05/0.617, allocations: 22.84 kB / 0.537 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.617, allocations: 14.73 kB / 0.537 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007454/0.6178, allocations: 1.28 MB / 0.5382 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6178, allocations: 160 / 0.5382 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.6184, allocations: 487.7 kB / 0.5387 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.6184, allocations: 107.4 kB / 0.5388 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.6185, allocations: 7.031 kB / 0.5388 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.6188, allocations: 18.44 kB / 0.5388 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.6188, allocations: 35.95 kB / 0.5389 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.6189, allocations: 28.78 kB / 0.5389 GB, free: 8.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.619, allocations: 186.3 kB / 0.5391 GB, free: 8.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.619, allocations: 0 / 0.5391 GB, free: 8.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004649/0.6195, allocations: 125.6 kB / 0.5392 GB, free: 8.621 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.6205, allocations: 1.056 MB / 0.5402 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005496/0.6211, allocations: 369.5 kB / 0.5406 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6211, allocations: 9.125 kB / 0.5406 GB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.6213, allocations: 233.8 kB / 0.5408 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.6222, allocations: 157.9 kB / 0.541 GB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.6246, allocations: 1.905 MB / 0.5428 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.6249, allocations: 0.7589 MB / 0.5436 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.6252, allocations: 139.9 kB / 0.5437 GB, free: 6.016 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6252, allocations: 0 / 0.5437 GB, free: 6.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.554/4.18, allocations: 7.715 MB / 0.5512 GB, free: 2.074 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches