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.Nitrogen.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.Nitrogen,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.0009758/0.0009802, allocations: 175.5 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.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007333/0.0007332, allocations: 82.38 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 11.98 kB / 327.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2317, allocations: 47.57 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3597/0.5915, allocations: 156.9 MB / 0.5197 GB, free: 1.184 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.5947, allocations: 2.997 MB / 0.5226 GB, free: 1.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.595, allocations: 4.5 kB / 0.5226 GB, free: 1.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.5955, allocations: 123.6 kB / 0.5227 GB, free: 1.094 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008242/0.5963, allocations: 363.8 kB / 0.5231 GB, free: 1.074 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.5971, allocations: 280.4 kB / 0.5233 GB, free: 1.062 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.5983, allocations: 1.112 MB / 0.5244 GB, free: 1.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.5985, allocations: 74.58 kB / 0.5245 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.6002, allocations: 0.7045 MB / 0.5252 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.6005, allocations: 273 kB / 0.5254 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.6006, allocations: 13.22 kB / 0.5255 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.6009, allocations: 104.8 kB / 0.5256 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.937e-05/0.601, allocations: 77.08 kB / 0.5256 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.6012, allocations: 188.2 kB / 0.5258 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.6017, allocations: 402.2 kB / 0.5262 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6017, allocations: 4 kB / 0.5262 GB, free: 0.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.6017, allocations: 0.75 kB / 0.5262 GB, free: 0.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.6017, allocations: 0 / 0.5262 GB, free: 0.957 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.0007804/0.6025, allocations: 0.5124 MB / 0.5267 GB, free: 16.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6025, allocations: 9.219 kB / 0.5267 GB, free: 16.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.6026, allocations: 63.31 kB / 0.5268 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.6028, allocations: 42.62 kB / 0.5268 GB, free: 16.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.6032, allocations: 293.6 kB / 0.5271 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6032, allocations: 18.88 kB / 0.5271 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.6032, allocations: 22.47 kB / 0.5271 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.6037, allocations: 318.9 kB / 0.5274 GB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.6038, allocations: 0.7188 kB / 0.5274 GB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.6038, allocations: 18.25 kB / 0.5275 GB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.6038, allocations: 10.45 kB / 0.5275 GB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.6042, allocations: 201.4 kB / 0.5277 GB, free: 16.14 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.001655/0.6058, allocations: 1.579 MB / 0.5292 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.6061, allocations: 174.8 kB / 0.5294 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.6063, allocations: 99.53 kB / 0.5295 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.6063, allocations: 7.109 kB / 0.5295 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6063, allocations: 41.22 kB / 0.5295 GB, free: 14.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.6063, allocations: 0 / 0.5295 GB, free: 14.87 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.005113/0.6115, allocations: 1.614 MB / 0.5311 GB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.6115, allocations: 54.06 kB / 0.5311 GB, free: 14.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.6117, allocations: 260.6 kB / 0.5314 GB, free: 13.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.6118, allocations: 35.11 kB / 0.5314 GB, free: 13.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.6119, allocations: 175.6 kB / 0.5316 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.6119, allocations: 94.09 kB / 0.5317 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.612, allocations: 9.094 kB / 0.5317 GB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6121, allocations: 339.8 kB / 0.532 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.6122, allocations: 90.81 kB / 0.5321 GB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.6124, allocations: 192.1 kB / 0.5323 GB, free: 13.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.6128, allocations: 307.2 kB / 0.5326 GB, free: 13.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6128, allocations: 0 / 0.5326 GB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005469/0.6133, allocations: 394 kB / 0.5329 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6134, allocations: 6.188 kB / 0.5329 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6134, allocations: 3.281 kB / 0.533 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.6136, allocations: 71.42 kB / 0.533 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.6139, allocations: 84.62 kB / 0.5331 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.615, allocations: 1.855 MB / 0.5349 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.6152, allocations: 27.95 kB / 0.5349 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.6153, allocations: 39.58 kB / 0.535 GB, free: 11.31 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.0001393/0.6154, allocations: 149 kB / 0.5351 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.6155, allocations: 33.75 kB / 0.5352 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008522/0.6164, allocations: 441.8 kB / 0.5356 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6164, allocations: 5.234 kB / 0.5356 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6164, allocations: 7.312 kB / 0.5356 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004374/0.6168, allocations: 0.5553 MB / 0.5361 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.6177, allocations: 0.7349 MB / 0.5368 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6177, allocations: 3.219 kB / 0.5368 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.618, allocations: 69.19 kB / 0.5369 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.208e-05/0.618, allocations: 21.42 kB / 0.5369 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6181, allocations: 14.05 kB / 0.5369 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007216/0.6188, allocations: 1.279 MB / 0.5382 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6188, allocations: 0 / 0.5382 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.6193, allocations: 487.3 kB / 0.5387 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.6194, allocations: 107.6 kB / 0.5388 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.6195, allocations: 13.95 kB / 0.5388 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.6197, allocations: 18.69 kB / 0.5388 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.6198, allocations: 25.98 kB / 0.5388 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.6198, allocations: 30.36 kB / 0.5388 GB, free: 8.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001556/0.62, allocations: 187.2 kB / 0.539 GB, free: 8.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.62, allocations: 0 / 0.539 GB, free: 8.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004686/0.6205, allocations: 126.6 kB / 0.5391 GB, free: 8.625 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.0009767/0.6215, allocations: 1.056 MB / 0.5402 GB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.622, allocations: 377.4 kB / 0.5405 GB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.622, allocations: 0.8125 kB / 0.5405 GB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.6222, allocations: 233.2 kB / 0.5408 GB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.6231, allocations: 151.6 kB / 0.5409 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.6255, allocations: 1.912 MB / 0.5428 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.6257, allocations: 0.7663 MB / 0.5435 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.626, allocations: 136.8 kB / 0.5437 GB, free: 6.02 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.626, allocations: 0 / 0.5437 GB, free: 6.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.556/4.182, allocations: 7.711 MB / 0.5512 GB, free: 2.082 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches