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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001485/0.001485, allocations: 108.9 kB / 16.64 MB, free: 6.816 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.0013/0.0013, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.416/1.416, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2146/0.2146, allocations: 43.52 MB / 314.3 MB, free: 0.707 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.001473/0.001474, allocations: 76.45 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09214, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3729/0.4651, allocations: 181.4 MB / 0.6075 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.4729, allocations: 7.04 MB / 0.6144 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006882/0.4736, allocations: 24 kB / 0.6144 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4747, allocations: 379.5 kB / 0.6148 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.479, allocations: 1.876 MB / 0.6166 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.4828, allocations: 1.571 MB / 0.6181 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002498/0.4853, allocations: 2.112 MB / 0.6202 GB, free: 432 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.4861, allocations: 0.5377 MB / 0.6207 GB, free: 64 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.4899, allocations: 1.873 MB / 0.6226 GB, free: 15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.4924, allocations: 1.58 MB / 0.6241 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.4926, allocations: 76 kB / 0.6242 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.4959, allocations: 1.883 MB / 0.626 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.4964, allocations: 442.9 kB / 0.6264 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000658/0.497, allocations: 0.5601 MB / 0.627 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.4991, allocations: 1.696 MB / 0.6286 GB, free: 8.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4991, allocations: 0 / 0.6286 GB, free: 8.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4992, allocations: 3.938 kB / 0.6286 GB, free: 8.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4992, allocations: 8 kB / 0.6287 GB, free: 8.914 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.00272/0.5019, allocations: 1.414 MB / 0.63 GB, free: 7.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.502, allocations: 15.84 kB / 0.6301 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.5034, allocations: 278.6 kB / 0.6303 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.5043, allocations: 0.6052 MB / 0.6309 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.5044, allocations: 124.6 kB / 0.631 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5045, allocations: 64 kB / 0.6311 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.5063, allocations: 1.259 MB / 0.6323 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.5064, allocations: 0 / 0.6323 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.5065, allocations: 39.98 kB / 0.6324 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.935e-05/0.5066, allocations: 89.14 kB / 0.6324 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.5081, allocations: 1.047 MB / 0.6335 GB, free: 3.816 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.006369/0.5145, allocations: 4.968 MB / 0.6383 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.515, allocations: 319 kB / 0.6386 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.5153, allocations: 140.8 kB / 0.6388 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.5155, allocations: 147 kB / 0.6389 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.5155, allocations: 35.03 kB / 0.6389 GB, free: 13.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.5155, allocations: 4 kB / 0.6389 GB, free: 13.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.006042/0.5215, allocations: 1.813 MB / 0.6407 GB, free: 11.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.5216, allocations: 132.5 kB / 0.6408 GB, free: 11.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5227, allocations: 0.935 MB / 0.6417 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.5227, allocations: 37.64 kB / 0.6418 GB, free: 10.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.5231, allocations: 0.5633 MB / 0.6423 GB, free: 10.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-05/0.5232, allocations: 134.3 kB / 0.6425 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.5235, allocations: 214.6 kB / 0.6427 GB, free: 9.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5237, allocations: 406.7 kB / 0.643 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.5241, allocations: 274.5 kB / 0.6433 GB, free: 9.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000789/0.5249, allocations: 0.8639 MB / 0.6442 GB, free: 8.066 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.5261, allocations: 1.172 MB / 0.6453 GB, free: 6.617 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.5262, allocations: 8 kB / 0.6453 GB, free: 6.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001815/0.528, allocations: 1.235 MB / 0.6465 GB, free: 5.363 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.528, allocations: 16 kB / 0.6465 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.528, allocations: 20.91 kB / 0.6465 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.5293, allocations: 290 kB / 0.6468 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/0.5298, allocations: 199.7 kB / 0.647 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009989/0.5308, allocations: 0.9185 MB / 0.6479 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/0.5316, allocations: 59.97 kB / 0.648 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.5317, allocations: 71.94 kB / 0.648 GB, free: 3.777 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.0004059/0.5321, allocations: 353.2 kB / 0.6484 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5322, allocations: 94.81 kB / 0.6485 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008849/0.5331, allocations: 480.4 kB / 0.6489 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5331, allocations: 8 kB / 0.6489 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5331, allocations: 0 / 0.6489 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5332, allocations: 3.984 kB / 0.6489 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.5347, allocations: 1.133 MB / 0.65 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5348, allocations: 0 / 0.65 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.5357, allocations: 187.8 kB / 0.6502 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.5358, allocations: 20.84 kB / 0.6502 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.5359, allocations: 8 kB / 0.6502 GB, free: 1.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.5378, allocations: 2.885 MB / 0.6531 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5378, allocations: 0 / 0.6531 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.5389, allocations: 0.6951 MB / 0.6537 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.5392, allocations: 200 kB / 0.6539 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5393, allocations: 11.91 kB / 0.6539 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.5398, allocations: 28.11 kB / 0.654 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.5398, allocations: 23.91 kB / 0.654 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.5399, allocations: 19.98 kB / 0.654 GB, free: 13.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007396/0.5406, allocations: 0.6282 MB / 0.6546 GB, free: 12.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5406, allocations: 0 / 0.6546 GB, free: 12.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001309/0.542, allocations: 427.9 kB / 0.655 GB, free: 12.19 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.002097/0.5441, allocations: 0.7667 MB / 0.6558 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.5454, allocations: 0.709 MB / 0.6565 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5454, allocations: 0 / 0.6565 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.5463, allocations: 364 kB / 0.6568 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.5481, allocations: 436.7 kB / 0.6572 GB, free: 9.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.5506, allocations: 1.953 MB / 0.6591 GB, free: 7.934 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.5512, allocations: 1.021 MB / 0.6601 GB, free: 6.883 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.5515, allocations: 87.42 kB / 0.6602 GB, free: 6.797 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5515, allocations: 4 kB / 0.6602 GB, free: 6.793 MB / 478.1 MB Notification: Performance of Templates: time 0.02799/0.5795, allocations: 23.3 MB / 0.683 GB, free: 15.51 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches