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.001382/0.001381, allocations: 110.4 kB / 18.45 MB, free: 4.594 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.001462/0.001462, allocations: 187.2 kB / 19.38 MB, free: 3.672 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.392/1.392, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2212/0.2212, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1931/0.526, allocations: 177.3 MB / 0.6927 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008415/0.5345, allocations: 6.503 MB / 0.6991 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007704/0.5353, allocations: 19.88 kB / 0.6991 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5365, allocations: 433.6 kB / 0.6995 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.5411, allocations: 1.762 MB / 0.7012 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.5453, allocations: 1.491 MB / 0.7027 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00282/0.5481, allocations: 2.11 MB / 0.7047 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.5492, allocations: 0.5479 MB / 0.7053 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.553, allocations: 1.706 MB / 0.7069 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.5558, allocations: 1.476 MB / 0.7084 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003726/0.5562, allocations: 76 kB / 0.7084 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.559, allocations: 1.306 MB / 0.7097 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005281/0.5596, allocations: 450.9 kB / 0.7101 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009108/0.5605, allocations: 0.5562 MB / 0.7107 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.5639, allocations: 2.068 MB / 0.7127 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.564, allocations: 3.984 kB / 0.7127 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.564, allocations: 7.938 kB / 0.7127 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.439e-05/0.564, allocations: 0 / 0.7127 GB, free: 5.602 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.003498/0.5675, allocations: 1.477 MB / 0.7142 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5676, allocations: 12.03 kB / 0.7142 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.5692, allocations: 283.1 kB / 0.7144 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.5704, allocations: 0.6408 MB / 0.7151 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.5706, allocations: 120.7 kB / 0.7152 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.5707, allocations: 60 kB / 0.7152 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.5727, allocations: 1.263 MB / 0.7165 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.5727, allocations: 7.922 kB / 0.7165 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5729, allocations: 39.98 kB / 0.7165 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.573, allocations: 81.27 kB / 0.7166 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5747, allocations: 1.055 MB / 0.7176 GB, free: 408 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.2496/0.8243, allocations: 4.934 MB / 0.7224 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.8249, allocations: 316.5 kB / 0.7227 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.8252, allocations: 142.2 kB / 0.7229 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.8253, allocations: 97.38 kB / 0.723 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.8253, allocations: 38.47 kB / 0.723 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 4.138e-06/0.8253, allocations: 0 / 0.723 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006517/0.8318, allocations: 1.835 MB / 0.7248 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.8319, allocations: 132.4 kB / 0.7249 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.8329, allocations: 0.9386 MB / 0.7258 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.833, allocations: 37.59 kB / 0.7259 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.8333, allocations: 0.5821 MB / 0.7265 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-05/0.8334, allocations: 136.2 kB / 0.7266 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.8336, allocations: 222.9 kB / 0.7268 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8337, allocations: 399.5 kB / 0.7272 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.8341, allocations: 276.8 kB / 0.7274 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.8347, allocations: 0.8649 MB / 0.7283 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.8358, allocations: 1.178 MB / 0.7294 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.8358, allocations: 7.797 kB / 0.7294 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001739/0.8375, allocations: 1.251 MB / 0.7307 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.8375, allocations: 17.5 kB / 0.7307 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.8376, allocations: 19.84 kB / 0.7307 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.8388, allocations: 293.7 kB / 0.731 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.8394, allocations: 200.3 kB / 0.7312 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008499/0.8402, allocations: 0.9173 MB / 0.7321 GB, free: 181 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.841, allocations: 42.75 kB / 0.7321 GB, free: 181 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.8411, allocations: 70.98 kB / 0.7322 GB, free: 181 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.0003516/0.8414, allocations: 344.7 kB / 0.7325 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.8416, allocations: 103 kB / 0.7326 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.8425, allocations: 0.5066 MB / 0.7331 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.8425, allocations: 5.078 kB / 0.7331 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8425, allocations: 4 kB / 0.7331 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.8428, allocations: 204.9 kB / 0.7333 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.8429, allocations: 16.28 kB / 0.7333 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.8433, allocations: 11.53 kB / 0.7333 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.8434, allocations: 27.42 kB / 0.7334 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001301/0.8447, allocations: 0.5408 MB / 0.7339 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008379/0.8456, allocations: 0.7429 MB / 0.7346 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000223/0.8458, allocations: 158.6 kB / 0.7348 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006697/0.8465, allocations: 0.631 MB / 0.7354 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of Backend: time 5.61e-07/0.8465, allocations: 0 / 0.7354 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003354/0.8498, allocations: 1.282 MB / 0.7366 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00321/0.8531, allocations: 2.379 MB / 0.739 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02929/0.8824, allocations: 23.87 MB / 0.7623 GB, free: 155.8 MB / 0.5606 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 -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