Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00169/0.00169, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.386/1.386, 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.2087/0.2087, allocations: 44.2 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.417, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2159/0.633, allocations: 177.1 MB / 0.6919 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.6435, allocations: 6.505 MB / 0.6982 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.6447, allocations: 19.88 kB / 0.6983 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.6463, allocations: 429.6 kB / 0.6987 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.6517, allocations: 1.742 MB / 0.7004 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.6559, allocations: 1.516 MB / 0.7019 GB, free: 68 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.6593, allocations: 2.235 MB / 0.704 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.6608, allocations: 0.7733 MB / 0.7048 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.6652, allocations: 1.741 MB / 0.7065 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003329/0.6685, allocations: 1.574 MB / 0.708 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.669, allocations: 100 kB / 0.7081 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.673, allocations: 1.337 MB / 0.7094 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.6741, allocations: 0.6937 MB / 0.7101 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.6756, allocations: 0.7587 MB / 0.7108 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.6799, allocations: 2.602 MB / 0.7134 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6799, allocations: 7.938 kB / 0.7134 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6799, allocations: 0 / 0.7134 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.68, allocations: 4 kB / 0.7134 GB, free: 4.203 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003682/0.6837, allocations: 1.715 MB / 0.7151 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.6837, allocations: 12.02 kB / 0.7151 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.6852, allocations: 310.3 kB / 0.7154 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.6866, allocations: 0.7727 MB / 0.7161 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.6868, allocations: 141.4 kB / 0.7163 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.687, allocations: 100 kB / 0.7164 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2721/0.9591, allocations: 1.834 MB / 0.7182 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.9592, allocations: 5.156 kB / 0.7182 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.9594, allocations: 49.31 kB / 0.7182 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/0.9596, allocations: 95.81 kB / 0.7183 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.9627, allocations: 1.699 MB / 0.72 GB, free: 189.3 MB / 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.009548/0.9723, allocations: 6.875 MB / 0.7267 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.9736, allocations: 0.8753 MB / 0.7275 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.9742, allocations: 454.6 kB / 0.728 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.9743, allocations: 100.7 kB / 0.7281 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.9743, allocations: 46 kB / 0.7281 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.385e-06/0.9743, allocations: 0 / 0.7281 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.0101/0.9844, allocations: 4.119 MB / 0.7321 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.9845, allocations: 115.2 kB / 0.7322 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.9858, allocations: 1.104 MB / 0.7333 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.046e-05/0.9859, allocations: 44.17 kB / 0.7334 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.9861, allocations: 0.5195 MB / 0.7339 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.9863, allocations: 264.2 kB / 0.7341 GB, free: 180 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.9866, allocations: 207.1 kB / 0.7343 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.9867, allocations: 349.5 kB / 0.7346 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008206/0.9875, allocations: 0.5946 MB / 0.7352 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009822/0.9885, allocations: 0.8703 MB / 0.7361 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.9902, allocations: 1.442 MB / 0.7375 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.9902, allocations: 6.25 kB / 0.7375 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002738/0.993, allocations: 2.009 MB / 0.7395 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.993, allocations: 7.781 kB / 0.7395 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.993, allocations: 15.56 kB / 0.7395 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/0.9971, allocations: 1.342 MB / 0.7408 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.9977, allocations: 143 kB / 0.7409 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.9999, allocations: 1.932 MB / 0.7428 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/1.001, allocations: 44.72 kB / 0.7429 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.001, allocations: 63.98 kB / 0.7429 GB, free: 174.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0005357/1.001, allocations: 395.3 kB / 0.7433 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/1.002, allocations: 114.7 kB / 0.7434 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/1.004, allocations: 1.498 MB / 0.7449 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.004, allocations: 8 kB / 0.7449 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.004, allocations: 0 / 0.7449 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.004, allocations: 7.875 kB / 0.7449 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/1.007, allocations: 2.695 MB / 0.7475 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.007, allocations: 0 / 0.7475 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.009, allocations: 331.3 kB / 0.7478 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/1.009, allocations: 64.78 kB / 0.7479 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/1.009, allocations: 39.97 kB / 0.7479 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/1.01, allocations: 3.026 MB / 0.7509 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.01, allocations: 0 / 0.7509 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/1.013, allocations: 1.904 MB / 0.7527 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/1.013, allocations: 333.2 kB / 0.7531 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.013, allocations: 31.89 kB / 0.7531 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/1.014, allocations: 51.95 kB / 0.7531 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.014, allocations: 60.56 kB / 0.7532 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.014, allocations: 71.8 kB / 0.7533 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007575/1.015, allocations: 0.7971 MB / 0.754 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.015, allocations: 0 / 0.754 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001282/1.016, allocations: 487 kB / 0.7545 GB, free: 162.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.00159/1.018, allocations: 0.6711 MB / 0.7552 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002122/1.02, allocations: 1.474 MB / 0.7566 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.02, allocations: 4.656 kB / 0.7566 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.022, allocations: 0.8574 MB / 0.7574 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.024, allocations: 0.7677 MB / 0.7582 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/1.029, allocations: 2.885 MB / 0.761 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/1.029, allocations: 1.183 MB / 0.7622 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001239/1.03, allocations: 481.5 kB / 0.7626 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.031, allocations: 115.4 kB / 0.7627 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.12e-07/1.031, allocations: 0 / 0.7627 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.04957/1.08, allocations: 38.95 MB / 0.8008 GB, free: 115.4 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches