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.001548/0.001548, allocations: 114 kB / 17.08 MB, free: 6.016 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.001749/0.001749, allocations: 197.3 kB / 18.01 MB, free: 5.094 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.62/1.62, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2614/0.2614, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 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.001464/0.001464, allocations: 67.91 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1397, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5873/0.727, allocations: 183.2 MB / 0.6675 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.7378, allocations: 6.97 MB / 0.6743 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.7389, allocations: 19.88 kB / 0.6743 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.7406, allocations: 425.6 kB / 0.6747 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006634/0.7474, allocations: 2.006 MB / 0.6767 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.7529, allocations: 1.677 MB / 0.6783 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.7562, allocations: 2.114 MB / 0.6804 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.7574, allocations: 0.5363 MB / 0.6809 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004991/0.7624, allocations: 1.892 MB / 0.6828 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.7655, allocations: 1.468 MB / 0.6842 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000435/0.766, allocations: 76 kB / 0.6843 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.7701, allocations: 1.563 MB / 0.6858 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007395/0.7709, allocations: 446.8 kB / 0.6862 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.7724, allocations: 0.5563 MB / 0.6868 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.7772, allocations: 2.189 MB / 0.6889 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.7773, allocations: 3.984 kB / 0.6889 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7773, allocations: 0 / 0.6889 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.547e-05/0.7773, allocations: 0 / 0.6889 GB, free: 13.4 MB / 0.5294 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.00421/0.7816, allocations: 1.407 MB / 0.6903 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7816, allocations: 19.84 kB / 0.6903 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.7832, allocations: 282.5 kB / 0.6906 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.7847, allocations: 0.6325 MB / 0.6912 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.7848, allocations: 116.6 kB / 0.6913 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.785, allocations: 71.89 kB / 0.6914 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.7872, allocations: 1.26 MB / 0.6926 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.7873, allocations: 7.875 kB / 0.6926 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.7875, allocations: 32 kB / 0.6926 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.7876, allocations: 81.27 kB / 0.6927 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.7893, allocations: 1.047 MB / 0.6937 GB, free: 8.277 MB / 0.5294 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.007642/0.797, allocations: 4.985 MB / 0.6986 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.7975, allocations: 305.2 kB / 0.6989 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.7978, allocations: 140.8 kB / 0.699 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.798, allocations: 139 kB / 0.6991 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.7981, allocations: 39.31 kB / 0.6992 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.865e-06/0.7981, allocations: 3.938 kB / 0.6992 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.006652/0.8047, allocations: 1.819 MB / 0.701 GB, free: 440 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.8048, allocations: 132.5 kB / 0.7011 GB, free: 276 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.8063, allocations: 0.9427 MB / 0.702 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.8064, allocations: 37.7 kB / 0.702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.8069, allocations: 0.5633 MB / 0.7026 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.8071, allocations: 130.3 kB / 0.7027 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.8075, allocations: 222.6 kB / 0.7029 GB, free: 14.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.8077, allocations: 402.7 kB / 0.7033 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.8082, allocations: 270.5 kB / 0.7036 GB, free: 13.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.8093, allocations: 0.8639 MB / 0.7044 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.811, allocations: 1.176 MB / 0.7056 GB, free: 11.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/0.811, allocations: 11.94 kB / 0.7056 GB, free: 11.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0024/0.8134, allocations: 1.236 MB / 0.7068 GB, free: 9.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.8135, allocations: 12 kB / 0.7068 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.8135, allocations: 20 kB / 0.7068 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.8147, allocations: 284.8 kB / 0.7071 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.8153, allocations: 207.6 kB / 0.7073 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.8164, allocations: 0.9112 MB / 0.7082 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008659/0.8173, allocations: 43.98 kB / 0.7082 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.8174, allocations: 68 kB / 0.7083 GB, free: 8.25 MB / 0.545 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.0005466/0.8179, allocations: 349.2 kB / 0.7086 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.8181, allocations: 94.91 kB / 0.7087 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/0.8191, allocations: 493.2 kB / 0.7092 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.8191, allocations: 4 kB / 0.7092 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8191, allocations: 0 / 0.7092 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.8192, allocations: 0 / 0.7092 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.821, allocations: 1.129 MB / 0.7103 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.821, allocations: 0 / 0.7103 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/0.8219, allocations: 187.7 kB / 0.7105 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.331e-05/0.822, allocations: 20.84 kB / 0.7105 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.8221, allocations: 16.02 kB / 0.7105 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.8242, allocations: 2.869 MB / 0.7133 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8242, allocations: 0 / 0.7133 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.8252, allocations: 0.6961 MB / 0.714 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.8256, allocations: 203.9 kB / 0.7142 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.8257, allocations: 8.125 kB / 0.7142 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.8261, allocations: 19.98 kB / 0.7142 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.8262, allocations: 27.95 kB / 0.7142 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.8262, allocations: 19.98 kB / 0.7142 GB, free: 1.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008772/0.8271, allocations: 0.6282 MB / 0.7149 GB, free: 1.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8271, allocations: 0 / 0.7149 GB, free: 1.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001987/0.8291, allocations: 419.9 kB / 0.7153 GB, free: 0.6836 MB / 0.545 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.00231/0.8314, allocations: 0.7431 MB / 0.716 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.8331, allocations: 0.6772 MB / 0.7166 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8331, allocations: 0.875 kB / 0.7167 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009329/0.8341, allocations: 355.1 kB / 0.717 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.8361, allocations: 434 kB / 0.7174 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.8389, allocations: 1.659 MB / 0.719 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.8397, allocations: 1.036 MB / 0.72 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.84, allocations: 79.42 kB / 0.7201 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.84, allocations: 0 / 0.7201 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.03846/0.8785, allocations: 23.54 MB / 0.7431 GB, free: 4.086 MB / 0.5762 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches