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.001127/0.001127, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001271/0.001271, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.35 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.2002/0.2002, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 67.78 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4032/0.5257, allocations: 175.6 MB / 0.6297 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009048/0.5348, allocations: 6.707 MB / 0.6362 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.5358, allocations: 27.75 kB / 0.6363 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.537, allocations: 382.2 kB / 0.6366 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.5414, allocations: 1.594 MB / 0.6382 GB, free: 8.906 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.5452, allocations: 1.364 MB / 0.6395 GB, free: 7.551 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003471/0.5487, allocations: 3.124 MB / 0.6426 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009328/0.5496, allocations: 484 kB / 0.643 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.5535, allocations: 1.597 MB / 0.6446 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.5566, allocations: 1.542 MB / 0.6461 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.5569, allocations: 44 kB / 0.6461 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.5604, allocations: 1.793 MB / 0.6479 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005699/0.561, allocations: 414.9 kB / 0.6483 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008043/0.5618, allocations: 0.5171 MB / 0.6488 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.564, allocations: 1.614 MB / 0.6504 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.564, allocations: 4 kB / 0.6504 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.564, allocations: 0 / 0.6504 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.564, allocations: 0 / 0.6504 GB, free: 12.41 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.003238/0.5673, allocations: 1.454 MB / 0.6518 GB, free: 10.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5673, allocations: 15.97 kB / 0.6518 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.5689, allocations: 282.5 kB / 0.6521 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.5699, allocations: 0.5975 MB / 0.6526 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.57, allocations: 116.6 kB / 0.6528 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5702, allocations: 67.98 kB / 0.6528 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.5722, allocations: 1.271 MB / 0.6541 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5722, allocations: 0 / 0.6541 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.5723, allocations: 32 kB / 0.6541 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.5724, allocations: 85.2 kB / 0.6542 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.574, allocations: 1.06 MB / 0.6552 GB, free: 7.266 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.006862/0.5809, allocations: 4.932 MB / 0.66 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.5815, allocations: 306.5 kB / 0.6603 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.5817, allocations: 144.8 kB / 0.6605 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.5818, allocations: 97.09 kB / 0.6605 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.5819, allocations: 42.5 kB / 0.6606 GB, free: 1.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.827e-06/0.5819, allocations: 3.984 kB / 0.6606 GB, free: 1.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.006489/0.5884, allocations: 1.808 MB / 0.6624 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.5885, allocations: 136.5 kB / 0.6625 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.5897, allocations: 0.9388 MB / 0.6634 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.5897, allocations: 37.7 kB / 0.6634 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.5902, allocations: 0.5711 MB / 0.664 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.5903, allocations: 130.3 kB / 0.6641 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.5906, allocations: 222.6 kB / 0.6643 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002269/0.5909, allocations: 402.7 kB / 0.6647 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.5913, allocations: 270.5 kB / 0.665 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.5923, allocations: 0.8756 MB / 0.6658 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.5938, allocations: 1.176 MB / 0.667 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.5938, allocations: 4 kB / 0.667 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002017/0.5958, allocations: 1.239 MB / 0.6682 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5958, allocations: 12 kB / 0.6682 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.5959, allocations: 20 kB / 0.6682 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.5972, allocations: 292 kB / 0.6685 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.5978, allocations: 199.7 kB / 0.6687 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.5989, allocations: 0.9214 MB / 0.6696 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008251/0.5998, allocations: 51.98 kB / 0.6696 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.5999, allocations: 71.98 kB / 0.6697 GB, free: 7.293 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.0004642/0.6003, allocations: 347.9 kB / 0.67 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.6005, allocations: 98.81 kB / 0.6701 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.6015, allocations: 0.5118 MB / 0.6706 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.6016, allocations: 0 / 0.6706 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6016, allocations: 4 kB / 0.6706 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6016, allocations: 3.984 kB / 0.6706 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.6033, allocations: 1.129 MB / 0.6717 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.6034, allocations: 0 / 0.6717 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.6044, allocations: 183.8 kB / 0.6719 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.114e-05/0.6045, allocations: 20.84 kB / 0.6719 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.6045, allocations: 11.97 kB / 0.672 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.6065, allocations: 2.684 MB / 0.6746 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6065, allocations: 3.938 kB / 0.6746 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.6076, allocations: 0.6953 MB / 0.6753 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.608, allocations: 192 kB / 0.6754 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.6081, allocations: 12 kB / 0.6755 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.6086, allocations: 27.98 kB / 0.6755 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.6087, allocations: 35.83 kB / 0.6755 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.6087, allocations: 23.92 kB / 0.6755 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000784/0.6095, allocations: 0.6204 MB / 0.6761 GB, free: 312 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6095, allocations: 0 / 0.6761 GB, free: 312 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001436/0.611, allocations: 391.9 kB / 0.6765 GB, free: 15.92 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.001972/0.6129, allocations: 0.6608 MB / 0.6772 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.6144, allocations: 0.6791 MB / 0.6778 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6144, allocations: 0 / 0.6778 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/0.6153, allocations: 370.5 kB / 0.6782 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.6174, allocations: 408 kB / 0.6786 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.6202, allocations: 1.952 MB / 0.6805 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.6208, allocations: 1.028 MB / 0.6815 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.6211, allocations: 87.42 kB / 0.6816 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.6211, allocations: 0 / 0.6816 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.03952/0.6607, allocations: 22.62 MB / 0.7037 GB, free: 4.184 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 -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