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.001064/0.001064, allocations: 119.2 kB / 17.08 MB, free: 5.992 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.001129/0.001129, allocations: 194.9 kB / 18.01 MB, free: 5.07 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.558/1.558, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2429/0.2429, allocations: 43.51 MB / 314.8 MB, free: 460 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.001672/0.001672, allocations: 63.89 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1427, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6091/0.7518, allocations: 183.2 MB / 0.6675 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.763, allocations: 6.976 MB / 0.6743 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.7641, allocations: 23.88 kB / 0.6743 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.7657, allocations: 425.6 kB / 0.6747 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006461/0.7723, allocations: 2.003 MB / 0.6767 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00538/0.7777, allocations: 1.668 MB / 0.6783 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003467/0.7812, allocations: 2.114 MB / 0.6804 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.7824, allocations: 0.5359 MB / 0.6809 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.7878, allocations: 1.894 MB / 0.6828 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.7911, allocations: 1.464 MB / 0.6842 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004332/0.7916, allocations: 76 kB / 0.6843 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004343/0.7959, allocations: 1.567 MB / 0.6858 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007919/0.7967, allocations: 446.9 kB / 0.6862 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.7982, allocations: 0.5524 MB / 0.6867 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.8034, allocations: 2.193 MB / 0.6889 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8034, allocations: 4 kB / 0.6889 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8034, allocations: 0 / 0.6889 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.348e-05/0.8035, allocations: 0 / 0.6889 GB, free: 13.39 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.004504/0.808, allocations: 1.403 MB / 0.6903 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.8081, allocations: 27.78 kB / 0.6903 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.8099, allocations: 278.5 kB / 0.6906 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.8113, allocations: 0.6365 MB / 0.6912 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.8115, allocations: 112.7 kB / 0.6913 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.8117, allocations: 71.83 kB / 0.6914 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.8141, allocations: 1.263 MB / 0.6926 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.8142, allocations: 7.938 kB / 0.6926 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.8143, allocations: 36 kB / 0.6926 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.8144, allocations: 77.27 kB / 0.6927 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.8163, allocations: 1.051 MB / 0.6937 GB, free: 8.266 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.008168/0.8245, allocations: 4.978 MB / 0.6986 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.8251, allocations: 302.6 kB / 0.6989 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.8254, allocations: 136.8 kB / 0.699 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.8256, allocations: 139 kB / 0.6991 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.8257, allocations: 46.5 kB / 0.6992 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 3.567e-06/0.8257, allocations: 0 / 0.6992 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.007335/0.833, allocations: 1.82 MB / 0.701 GB, free: 436 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.8332, allocations: 132.5 kB / 0.7011 GB, free: 272 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.8351, allocations: 0.9349 MB / 0.702 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.8352, allocations: 33.7 kB / 0.702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/0.8359, allocations: 0.5672 MB / 0.7026 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.8361, allocations: 138.3 kB / 0.7027 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.8365, allocations: 214.6 kB / 0.7029 GB, free: 14.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003714/0.8369, allocations: 402.7 kB / 0.7033 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.8375, allocations: 275.1 kB / 0.7036 GB, free: 13.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/0.8385, allocations: 0.8639 MB / 0.7044 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.8402, allocations: 1.176 MB / 0.7056 GB, free: 11.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.8402, allocations: 8 kB / 0.7056 GB, free: 11.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002525/0.8428, allocations: 1.232 MB / 0.7068 GB, free: 9.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.8428, allocations: 12 kB / 0.7068 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.026e-05/0.8429, allocations: 20 kB / 0.7068 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.8444, allocations: 297.1 kB / 0.7071 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.845, allocations: 203.6 kB / 0.7073 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.8462, allocations: 0.9151 MB / 0.7082 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/0.8472, allocations: 44 kB / 0.7082 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.8473, allocations: 75.97 kB / 0.7083 GB, free: 8.238 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.0006099/0.8479, allocations: 345.2 kB / 0.7086 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.8481, allocations: 94.91 kB / 0.7087 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.8491, allocations: 493.3 kB / 0.7092 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.8492, allocations: 0 / 0.7092 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8492, allocations: 4 kB / 0.7092 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.8492, allocations: 0 / 0.7092 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.8512, allocations: 1.129 MB / 0.7103 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8512, allocations: 0 / 0.7103 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.8523, allocations: 179.8 kB / 0.7105 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.543e-05/0.8524, allocations: 24.84 kB / 0.7105 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.8524, allocations: 11.98 kB / 0.7105 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.8551, allocations: 2.869 MB / 0.7133 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8551, allocations: 4.031 kB / 0.7133 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.8563, allocations: 0.6961 MB / 0.714 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.8568, allocations: 199.9 kB / 0.7142 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.857, allocations: 11.98 kB / 0.7142 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.8575, allocations: 24.12 kB / 0.7142 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.8576, allocations: 23.95 kB / 0.7142 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.8576, allocations: 16 kB / 0.7142 GB, free: 1.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001062/0.8587, allocations: 0.6282 MB / 0.7149 GB, free: 1.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8587, allocations: 0 / 0.7149 GB, free: 1.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001664/0.8604, 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.002558/0.8629, allocations: 0.7552 MB / 0.716 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.8645, allocations: 0.6741 MB / 0.7167 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8645, allocations: 0 / 0.7167 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000956/0.8654, allocations: 355.4 kB / 0.717 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.8678, allocations: 429.9 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.003518/0.8713, allocations: 1.671 MB / 0.719 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/0.8722, allocations: 1.032 MB / 0.72 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.8725, allocations: 83.44 kB / 0.7201 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.8725, allocations: 0 / 0.7201 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.0362/0.9087, allocations: 23.42 MB / 0.743 GB, free: 4.195 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