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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.00123/0.00123, allocations: 191 kB / 19.34 MB, free: 3.641 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.357/1.357, allocations: 222.9 MB / 243 MB, free: 15.18 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.2061/0.2061, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 65.88 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3857/0.488, allocations: 177.3 MB / 0.6328 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008304/0.4963, allocations: 6.514 MB / 0.6392 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005327/0.4969, allocations: 19.88 kB / 0.6392 GB, free: 8.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.498, allocations: 417.6 kB / 0.6396 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.5018, allocations: 1.724 MB / 0.6413 GB, free: 6.277 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.5053, allocations: 1.488 MB / 0.6427 GB, free: 4.801 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.5077, allocations: 2.11 MB / 0.6448 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.5085, allocations: 0.5471 MB / 0.6453 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.5117, allocations: 1.702 MB / 0.647 GB, free: 436 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.5142, allocations: 1.468 MB / 0.6484 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.5144, allocations: 76 kB / 0.6485 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.5171, allocations: 1.298 MB / 0.6497 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004728/0.5175, allocations: 446.8 kB / 0.6502 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.5183, allocations: 0.5561 MB / 0.6507 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.5211, allocations: 2.072 MB / 0.6527 GB, free: 10.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5211, allocations: 0 / 0.6527 GB, free: 10.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5211, allocations: 0 / 0.6527 GB, free: 10.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.5211, allocations: 0 / 0.6527 GB, free: 10.5 MB / 494.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.003179/0.5243, allocations: 1.457 MB / 0.6542 GB, free: 8.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5244, allocations: 8.031 kB / 0.6542 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.5257, allocations: 278.6 kB / 0.6544 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.527, allocations: 0.6321 MB / 0.655 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.5271, allocations: 120.6 kB / 0.6552 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5272, allocations: 63.98 kB / 0.6552 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.5291, allocations: 1.267 MB / 0.6565 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.5291, allocations: 3.938 kB / 0.6565 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/0.5292, allocations: 32 kB / 0.6565 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.132e-05/0.5293, allocations: 77.27 kB / 0.6566 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.531, allocations: 1.055 MB / 0.6576 GB, free: 5.352 MB / 494.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.006515/0.5375, allocations: 4.941 MB / 0.6624 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.5381, allocations: 303.6 kB / 0.6627 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.5383, allocations: 154.7 kB / 0.6629 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.5385, allocations: 93.09 kB / 0.663 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.5385, allocations: 39.75 kB / 0.663 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 1.754e-06/0.5385, allocations: 3.938 kB / 0.663 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0063/0.5448, allocations: 1.817 MB / 0.6648 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.5449, allocations: 136.5 kB / 0.6649 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.546, allocations: 0.9426 MB / 0.6658 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.5461, allocations: 37.7 kB / 0.6659 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.5465, allocations: 0.5633 MB / 0.6664 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.5466, allocations: 134.3 kB / 0.6665 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.5469, allocations: 222.6 kB / 0.6667 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5471, allocations: 398.7 kB / 0.6671 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.5475, allocations: 270.5 kB / 0.6674 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.5484, allocations: 0.8717 MB / 0.6682 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.5497, allocations: 1.173 MB / 0.6694 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.5497, allocations: 4 kB / 0.6694 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001897/0.5516, allocations: 1.239 MB / 0.6706 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5516, allocations: 12 kB / 0.6706 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.5516, allocations: 20 kB / 0.6706 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.5529, allocations: 298.2 kB / 0.6709 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.5535, allocations: 203.7 kB / 0.6711 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.5546, allocations: 0.9245 MB / 0.672 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.5553, allocations: 47.92 kB / 0.6721 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/0.5554, allocations: 68 kB / 0.6721 GB, free: 5.383 MB / 0.4981 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.000422/0.5559, allocations: 345.3 kB / 0.6724 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.556, allocations: 94.97 kB / 0.6725 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.557, allocations: 0.5243 MB / 0.673 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.557, allocations: 4 kB / 0.6731 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5571, allocations: 0 / 0.6731 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5571, allocations: 0 / 0.6731 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.5588, allocations: 1.125 MB / 0.6742 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5588, allocations: 3.938 kB / 0.6742 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.5598, allocations: 183.8 kB / 0.6743 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.541e-05/0.5599, allocations: 24.84 kB / 0.6744 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.5599, allocations: 11.94 kB / 0.6744 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.562, allocations: 2.873 MB / 0.6772 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.562, allocations: 4 kB / 0.6772 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.5631, allocations: 0.7003 MB / 0.6779 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.5634, allocations: 199.9 kB / 0.678 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5635, allocations: 15.94 kB / 0.6781 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.564, allocations: 15.98 kB / 0.6781 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.5641, allocations: 23.97 kB / 0.6781 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.5641, allocations: 19.98 kB / 0.6781 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007993/0.5649, allocations: 0.6243 MB / 0.6787 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5649, allocations: 0 / 0.6787 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001231/0.5662, allocations: 379.9 kB / 0.6791 GB, free: 13.82 MB / 0.5137 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.001694/0.5679, allocations: 0.6252 MB / 0.6797 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.5692, allocations: 0.678 MB / 0.6804 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5692, allocations: 4 kB / 0.6804 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009149/0.5702, allocations: 370.9 kB / 0.6807 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.5718, allocations: 434.6 kB / 0.6811 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.5743, allocations: 1.612 MB / 0.6827 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.575, allocations: 1.024 MB / 0.6837 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009363/0.5759, allocations: 387 kB / 0.6841 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.5761, allocations: 83.42 kB / 0.6842 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of SimCode: time 5.1e-07/0.5761, allocations: 0 / 0.6842 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of Templates: time 0.03647/0.6126, allocations: 21.54 MB / 0.7052 GB, free: 3.227 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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