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.001746/0.001746, allocations: 112.7 kB / 16.41 MB, free: 6.48 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.002012/0.002012, allocations: 187.5 kB / 17.34 MB, free: 5.766 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2391/0.2391, allocations: 43.53 MB / 314.1 MB, free: 448 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.001832/0.001832, allocations: 75.89 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1675, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6483/0.8158, allocations: 183.2 MB / 0.6668 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009581/0.8254, allocations: 6.968 MB / 0.6736 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.827, allocations: 23.88 kB / 0.6737 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.8296, allocations: 429.7 kB / 0.6741 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009682/0.8393, allocations: 2.041 MB / 0.6761 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.8447, allocations: 1.691 MB / 0.6777 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003865/0.8486, allocations: 2.115 MB / 0.6798 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.8496, allocations: 0.525 MB / 0.6803 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004991/0.8546, allocations: 1.904 MB / 0.6822 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.8584, allocations: 1.464 MB / 0.6836 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.8589, allocations: 76 kB / 0.6837 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004839/0.8637, allocations: 1.571 MB / 0.6852 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008315/0.8646, allocations: 442.9 kB / 0.6856 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.8662, allocations: 0.5563 MB / 0.6862 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.8717, allocations: 2.185 MB / 0.6883 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.8717, allocations: 4 kB / 0.6883 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8717, allocations: 0 / 0.6883 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.8717, allocations: 0 / 0.6883 GB, free: 13.31 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.00375/0.8755, allocations: 1.411 MB / 0.6897 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/0.8756, allocations: 23.84 kB / 0.6897 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.8771, allocations: 282.5 kB / 0.69 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.8783, allocations: 0.6325 MB / 0.6906 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.8784, allocations: 120.6 kB / 0.6907 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.8786, allocations: 63.91 kB / 0.6908 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.8808, allocations: 1.263 MB / 0.692 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.8808, allocations: 7.922 kB / 0.692 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.8809, allocations: 39.98 kB / 0.692 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-05/0.881, allocations: 81.2 kB / 0.6921 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.8827, allocations: 1.043 MB / 0.6931 GB, free: 8.18 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.007235/0.8899, allocations: 4.977 MB / 0.698 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.8905, allocations: 309 kB / 0.6983 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.8907, allocations: 136.8 kB / 0.6984 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.8909, allocations: 143.1 kB / 0.6986 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.8909, allocations: 42.56 kB / 0.6986 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.891, allocations: 0 / 0.6986 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.006779/0.8977, allocations: 1.816 MB / 0.7004 GB, free: 344 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.8979, allocations: 132.5 kB / 0.7005 GB, free: 180 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.8991, allocations: 0.9427 MB / 0.7014 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.8992, allocations: 33.7 kB / 0.7014 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.8996, allocations: 0.5672 MB / 0.702 GB, free: 14.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.8998, allocations: 130.3 kB / 0.7021 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.9001, allocations: 218.6 kB / 0.7023 GB, free: 14.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.9003, allocations: 402.7 kB / 0.7027 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.9008, allocations: 274.5 kB / 0.703 GB, free: 13.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.9018, allocations: 0.8678 MB / 0.7038 GB, free: 12.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.9033, allocations: 1.176 MB / 0.705 GB, free: 10.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.9033, allocations: 8 kB / 0.705 GB, free: 10.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001976/0.9053, allocations: 1.232 MB / 0.7062 GB, free: 9.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.9053, allocations: 12 kB / 0.7062 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.9053, allocations: 20 kB / 0.7062 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.9067, allocations: 292.4 kB / 0.7065 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.9073, allocations: 203.6 kB / 0.7067 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.9084, allocations: 0.919 MB / 0.7076 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.9092, allocations: 40 kB / 0.7076 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/0.9093, allocations: 71.98 kB / 0.7077 GB, free: 8.152 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.0004633/0.9097, allocations: 341.2 kB / 0.708 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.9099, allocations: 98.91 kB / 0.7081 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009346/0.9108, allocations: 481.6 kB / 0.7086 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9109, allocations: 4 kB / 0.7086 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.9109, allocations: 4 kB / 0.7086 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9109, allocations: 0 / 0.7086 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.9127, allocations: 1.133 MB / 0.7097 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9127, allocations: 0 / 0.7097 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/0.9137, allocations: 183.7 kB / 0.7099 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.723e-05/0.9138, allocations: 28.83 kB / 0.7099 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.9139, allocations: 4 kB / 0.7099 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.9163, allocations: 2.873 MB / 0.7127 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9163, allocations: 0 / 0.7127 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.9174, allocations: 0.7039 MB / 0.7134 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.9178, allocations: 199.9 kB / 0.7136 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.9179, allocations: 11.98 kB / 0.7136 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.9184, allocations: 16.12 kB / 0.7136 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.9185, allocations: 27.95 kB / 0.7136 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.9185, allocations: 16 kB / 0.7136 GB, free: 1.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008871/0.9194, allocations: 0.6282 MB / 0.7143 GB, free: 1.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9194, allocations: 0 / 0.7143 GB, free: 1.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001622/0.9211, allocations: 419.9 kB / 0.7147 GB, free: 0.5938 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.002213/0.9233, allocations: 0.7508 MB / 0.7154 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.9247, allocations: 0.67 MB / 0.7161 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.9247, allocations: 0 / 0.7161 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009551/0.9257, allocations: 375.5 kB / 0.7164 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.9276, allocations: 425.9 kB / 0.7168 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.9303, allocations: 1.599 MB / 0.7184 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.9311, allocations: 1.04 MB / 0.7194 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009177/0.932, allocations: 311.8 kB / 0.7197 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.9322, allocations: 75.42 kB / 0.7198 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.9322, allocations: 0 / 0.7198 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04325/0.9755, allocations: 22.91 MB / 0.7421 GB, free: 4.359 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/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