Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.001185/0.001185, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001279/0.001279, allocations: 183.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.17 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 59.91 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4456, allocations: 60.83 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2243/0.67, allocations: 177.3 MB / 0.6915 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.6805, allocations: 6.507 MB / 0.6979 GB, free: 3.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.6817, allocations: 19.88 kB / 0.6979 GB, free: 3.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.6833, allocations: 421.6 kB / 0.6983 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00576/0.6892, allocations: 1.729 MB / 0.7 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.6939, allocations: 1.495 MB / 0.7015 GB, free: 28 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003655/0.6975, allocations: 2.107 MB / 0.7035 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.699, allocations: 0.544 MB / 0.7041 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004462/0.7035, allocations: 1.709 MB / 0.7057 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004044/0.7075, allocations: 1.46 MB / 0.7072 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004633/0.708, allocations: 76 kB / 0.7072 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/0.7126, allocations: 1.313 MB / 0.7085 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009928/0.7136, allocations: 446.8 kB / 0.7089 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.7154, allocations: 0.5523 MB / 0.7095 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005299/0.7207, allocations: 2.065 MB / 0.7115 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7207, allocations: 0 / 0.7115 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7207, allocations: 4 kB / 0.7115 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.674e-05/0.7208, allocations: 0 / 0.7115 GB, free: 5.73 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005202/0.726, allocations: 1.449 MB / 0.7129 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.7261, allocations: 8.031 kB / 0.7129 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003867/0.7265, allocations: 134.7 kB / 0.713 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.7283, allocations: 278.6 kB / 0.7133 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.7303, allocations: 0.6402 MB / 0.7139 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.7305, allocations: 108.7 kB / 0.714 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.7307, allocations: 64 kB / 0.7141 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.7331, allocations: 1.271 MB / 0.7153 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.7331, allocations: 7.938 kB / 0.7153 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.7333, allocations: 35.98 kB / 0.7154 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.7334, allocations: 81.27 kB / 0.7155 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.7352, allocations: 1.051 MB / 0.7165 GB, free: 440 kB / 0.5606 GB 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.3891/1.124, allocations: 4.923 MB / 0.7213 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/1.125, allocations: 308.3 kB / 0.7216 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/1.125, allocations: 142.9 kB / 0.7217 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/1.125, allocations: 96.88 kB / 0.7218 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.126, allocations: 39.52 kB / 0.7219 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/1.126, allocations: 0 / 0.7219 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.007097/1.133, allocations: 1.831 MB / 0.7236 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.133, allocations: 136.4 kB / 0.7238 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/1.134, allocations: 0.9385 MB / 0.7247 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/1.134, allocations: 32.45 kB / 0.7247 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/1.134, allocations: 0.5649 MB / 0.7253 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.135, allocations: 135.8 kB / 0.7254 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/1.135, allocations: 217.1 kB / 0.7256 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.135, allocations: 397.5 kB / 0.726 GB, free: 184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/1.135, allocations: 278.6 kB / 0.7263 GB, free: 184 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/1.136, allocations: 0.8691 MB / 0.7271 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.137, allocations: 1.182 MB / 0.7283 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.137, allocations: 6.938 kB / 0.7283 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001962/1.139, allocations: 1.247 MB / 0.7295 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.139, allocations: 13.5 kB / 0.7295 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/1.139, allocations: 20.19 kB / 0.7295 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/1.141, allocations: 290.6 kB / 0.7298 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/1.141, allocations: 203.6 kB / 0.73 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009565/1.142, allocations: 0.9168 MB / 0.7309 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/1.143, allocations: 45.42 kB / 0.7309 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/1.143, allocations: 71.03 kB / 0.731 GB, free: 180.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000443/1.144, allocations: 345.6 kB / 0.7313 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/1.144, allocations: 94.16 kB / 0.7314 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/1.145, allocations: 0.5072 MB / 0.7319 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.145, allocations: 4.312 kB / 0.7319 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.145, allocations: 3.938 kB / 0.7319 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.145, allocations: 5.031 kB / 0.7319 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/1.146, allocations: 1.129 MB / 0.733 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.147, allocations: 0 / 0.733 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.148, allocations: 189.6 kB / 0.7332 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.805e-05/1.148, allocations: 22.56 kB / 0.7332 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/1.148, allocations: 15.86 kB / 0.7332 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/1.149, allocations: 2.867 MB / 0.736 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.149, allocations: 1.062 kB / 0.736 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/1.15, allocations: 0.7063 MB / 0.7367 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/1.15, allocations: 192.9 kB / 0.7369 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.151, allocations: 7.625 kB / 0.7369 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/1.151, allocations: 14.83 kB / 0.7369 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/1.151, allocations: 28.09 kB / 0.737 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/1.151, allocations: 30.17 kB / 0.737 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007596/1.152, allocations: 0.6299 MB / 0.7376 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.152, allocations: 0 / 0.7376 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001393/1.153, allocations: 377.8 kB / 0.738 GB, free: 175.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002779/1.156, allocations: 1.789 MB / 0.7397 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.158, allocations: 0.6706 MB / 0.7404 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.158, allocations: 3.375 kB / 0.7404 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/1.159, allocations: 371.9 kB / 0.7407 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.161, allocations: 424.2 kB / 0.7411 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/1.17, allocations: 8.15 MB / 0.7491 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/1.171, allocations: 1.036 MB / 0.7501 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009242/1.172, allocations: 385.9 kB / 0.7505 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/1.172, allocations: 323.3 kB / 0.7508 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.884e-06/1.172, allocations: 3.938 kB / 0.7508 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/1.224, allocations: 31.28 MB / 0.7813 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/18.92, allocations: 15.41 kB / 0.7813 GB, free: 134.2 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches