Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_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.001507/0.001512, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001771/0.001771, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.375/1.375, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2061/0.2061, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.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.002633/0.002633, allocations: 68.64 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1371, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4126/0.5498, allocations: 183.2 MB / 0.6092 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009547/0.5593, allocations: 6.976 MB / 0.616 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/0.5601, allocations: 18.09 kB / 0.6161 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.5612, allocations: 414.6 kB / 0.6165 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.5658, allocations: 2.01 MB / 0.6184 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.5698, allocations: 1.683 MB / 0.6201 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.5721, allocations: 2.106 MB / 0.6221 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.5729, allocations: 0.5368 MB / 0.6226 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.577, allocations: 1.885 MB / 0.6245 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.5796, allocations: 1.46 MB / 0.6259 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.5799, allocations: 76 kB / 0.626 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.5835, allocations: 1.591 MB / 0.6275 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005883/0.5841, allocations: 450.8 kB / 0.628 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.5852, allocations: 0.5562 MB / 0.6285 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.5895, allocations: 2.213 MB / 0.6307 GB, free: 6.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5896, allocations: 0 / 0.6307 GB, free: 6.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5896, allocations: 0 / 0.6307 GB, free: 6.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.5896, allocations: 0 / 0.6307 GB, free: 6.27 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003814/0.5934, allocations: 1.414 MB / 0.6321 GB, free: 4.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.5935, allocations: 12.03 kB / 0.6321 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003205/0.5938, allocations: 126.6 kB / 0.6322 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.5955, allocations: 290.5 kB / 0.6325 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.5967, allocations: 0.6052 MB / 0.6331 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.5968, allocations: 116.6 kB / 0.6332 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.597, allocations: 71.89 kB / 0.6332 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.599, allocations: 1.265 MB / 0.6345 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.599, allocations: 0 / 0.6345 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.5992, allocations: 32 kB / 0.6345 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.5993, allocations: 85.2 kB / 0.6346 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.6009, allocations: 1.043 MB / 0.6356 GB, free: 1.043 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.007168/0.6081, allocations: 4.994 MB / 0.6405 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.6087, allocations: 304.9 kB / 0.6408 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.609, allocations: 152.7 kB / 0.6409 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.6091, allocations: 135 kB / 0.641 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6092, allocations: 39.03 kB / 0.6411 GB, free: 11.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/0.6092, allocations: 0 / 0.6411 GB, free: 11.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.006791/0.616, allocations: 1.829 MB / 0.6429 GB, free: 9.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.6161, allocations: 132.5 kB / 0.643 GB, free: 9.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.6174, allocations: 0.9349 MB / 0.6439 GB, free: 8.055 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.6174, allocations: 37.7 kB / 0.6439 GB, free: 8.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.6179, allocations: 0.5633 MB / 0.6445 GB, free: 7.438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.618, allocations: 134.3 kB / 0.6446 GB, free: 7.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.6183, allocations: 214.6 kB / 0.6448 GB, free: 7.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6185, allocations: 402.7 kB / 0.6452 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.619, allocations: 274.5 kB / 0.6455 GB, free: 6.422 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.6199, allocations: 0.8678 MB / 0.6463 GB, free: 5.266 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.6213, allocations: 1.169 MB / 0.6475 GB, free: 3.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.6213, allocations: 11.94 kB / 0.6475 GB, free: 3.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002291/0.6236, allocations: 1.239 MB / 0.6487 GB, free: 2.559 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.6236, allocations: 12 kB / 0.6487 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/0.6237, allocations: 20 kB / 0.6487 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.625, allocations: 289.3 kB / 0.649 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.6256, allocations: 199.6 kB / 0.6492 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.6267, allocations: 0.922 MB / 0.6501 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.6275, allocations: 44.06 kB / 0.6501 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.6276, allocations: 71.98 kB / 0.6502 GB, free: 0.9883 MB / 462.1 MB 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.0004892/0.6281, allocations: 341.2 kB / 0.6505 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.6283, allocations: 98.81 kB / 0.6506 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009292/0.6293, allocations: 481.8 kB / 0.6511 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6293, allocations: 7.938 kB / 0.6511 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6293, allocations: 0 / 0.6511 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6293, allocations: 3.984 kB / 0.6511 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.631, allocations: 1.129 MB / 0.6522 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.631, allocations: 0 / 0.6522 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6321, allocations: 179.8 kB / 0.6524 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.6322, allocations: 24.84 kB / 0.6524 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.6322, allocations: 15.94 kB / 0.6524 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.6345, allocations: 2.881 MB / 0.6552 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6345, allocations: 0 / 0.6552 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.6359, allocations: 0.6913 MB / 0.6559 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.6364, allocations: 211.8 kB / 0.6561 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.6365, allocations: 4 kB / 0.6561 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.637, allocations: 12 kB / 0.6561 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.6371, allocations: 27.95 kB / 0.6561 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.6371, allocations: 23.98 kB / 0.6561 GB, free: 10.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009154/0.638, allocations: 0.6165 MB / 0.6567 GB, free: 9.852 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6381, allocations: 3.938 kB / 0.6568 GB, free: 9.848 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001561/0.6396, allocations: 431.9 kB / 0.6572 GB, free: 9.426 MB / 478.1 MB 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.003687/0.6433, allocations: 1.909 MB / 0.659 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.6449, allocations: 0.7135 MB / 0.6597 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6449, allocations: 0 / 0.6597 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009264/0.6459, allocations: 374.7 kB / 0.6601 GB, free: 6.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.6481, allocations: 421.6 kB / 0.6605 GB, free: 5.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.659, allocations: 8.583 MB / 0.6689 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.6597, allocations: 1.036 MB / 0.6699 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.6608, allocations: 318.8 kB / 0.6702 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.6612, allocations: 315.3 kB / 0.6705 GB, free: 10.98 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6612, allocations: 0 / 0.6705 GB, free: 10.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06732/0.7285, allocations: 31.22 MB / 0.701 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.04, allocations: 20.34 kB / 0.701 GB, free: 11.68 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches