Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001453, allocations: 106.3 kB / 16.41 MB, free: 6.449 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.001264/0.001265, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.604/1.604, allocations: 205.1 MB / 223.2 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.2494/0.2494, allocations: 43.52 MB / 314.1 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.001426/0.001426, allocations: 63.89 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1655, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.6275/0.793, allocations: 183.1 MB / 0.6667 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.8033, allocations: 6.961 MB / 0.6735 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007749/0.8041, allocations: 23.88 kB / 0.6735 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.8055, allocations: 453.5 kB / 0.674 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.8111, allocations: 2.033 MB / 0.6759 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004893/0.816, allocations: 1.718 MB / 0.6776 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002923/0.8189, allocations: 2.224 MB / 0.6798 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.82, allocations: 0.7802 MB / 0.6806 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.8243, allocations: 1.947 MB / 0.6825 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.8272, allocations: 1.578 MB / 0.684 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.8274, allocations: 104 kB / 0.6841 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.8311, allocations: 1.591 MB / 0.6856 GB, free: 32 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007335/0.8318, allocations: 0.6899 MB / 0.6863 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000924/0.8327, allocations: 0.7548 MB / 0.6871 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.8371, allocations: 2.746 MB / 0.6897 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.8371, allocations: 0 / 0.6897 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.787e-06/0.8371, allocations: 0 / 0.6897 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.277e-05/0.8372, allocations: 0 / 0.6897 GB, free: 11.83 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004094/0.8413, allocations: 1.68 MB / 0.6914 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.8413, allocations: 15.83 kB / 0.6914 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.8427, allocations: 310.3 kB / 0.6917 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.8441, allocations: 0.765 MB / 0.6924 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.8443, allocations: 141.3 kB / 0.6926 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.8445, allocations: 115.8 kB / 0.6927 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.8473, allocations: 1.841 MB / 0.6945 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.8473, allocations: 4 kB / 0.6945 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.8475, allocations: 44 kB / 0.6945 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.8476, allocations: 89.95 kB / 0.6946 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.8502, allocations: 1.694 MB / 0.6963 GB, free: 4.969 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.009918/0.8601, allocations: 6.909 MB / 0.703 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.8614, allocations: 0.8731 MB / 0.7039 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.8621, allocations: 458.1 kB / 0.7043 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.8623, allocations: 135.6 kB / 0.7044 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.8624, allocations: 55.06 kB / 0.7045 GB, free: 12.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 1.944e-06/0.8624, allocations: 0 / 0.7045 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.01064/0.873, allocations: 4.115 MB / 0.7085 GB, free: 7.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.8731, allocations: 111.5 kB / 0.7086 GB, free: 7.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.8746, allocations: 1.101 MB / 0.7097 GB, free: 6.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.8747, allocations: 41.7 kB / 0.7097 GB, free: 6.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.8752, allocations: 0.5262 MB / 0.7102 GB, free: 5.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.8754, allocations: 268.2 kB / 0.7105 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/0.8759, allocations: 206.5 kB / 0.7107 GB, free: 5.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.8761, allocations: 349.9 kB / 0.711 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009869/0.8771, allocations: 0.5875 MB / 0.7116 GB, free: 4.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.8783, allocations: 0.872 MB / 0.7125 GB, free: 3.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.8804, allocations: 1.451 MB / 0.7139 GB, free: 2.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8804, allocations: 0 / 0.7139 GB, free: 2.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003194/0.8836, allocations: 2.004 MB / 0.7158 GB, free: 16 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.8837, allocations: 8 kB / 0.7158 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/0.8837, allocations: 12.05 kB / 0.7158 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/0.8885, allocations: 1.32 MB / 0.7171 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.8893, allocations: 140.6 kB / 0.7173 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.8925, allocations: 1.924 MB / 0.7191 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.8937, allocations: 47.97 kB / 0.7192 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.8939, allocations: 63.98 kB / 0.7193 GB, free: 12.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.000909/0.8948, allocations: 393.7 kB / 0.7196 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.8951, allocations: 110.7 kB / 0.7197 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.8976, allocations: 1.41 MB / 0.7211 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.8976, allocations: 11.98 kB / 0.7211 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.8976, allocations: 0.625 kB / 0.7211 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8977, allocations: 3.984 kB / 0.7211 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.9027, allocations: 2.67 MB / 0.7237 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-05/0.9028, allocations: 7.938 kB / 0.7237 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/0.9046, allocations: 328.1 kB / 0.7241 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/0.9049, allocations: 68.7 kB / 0.7241 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.262e-05/0.905, allocations: 39.97 kB / 0.7242 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/0.9084, allocations: 3.034 MB / 0.7271 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9084, allocations: 4.031 kB / 0.7271 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.9117, allocations: 1.904 MB / 0.729 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.9125, allocations: 339.6 kB / 0.7293 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.9127, allocations: 20 kB / 0.7293 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/0.9135, allocations: 51.94 kB / 0.7294 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.9137, allocations: 56.58 kB / 0.7294 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.9139, allocations: 59.95 kB / 0.7295 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001172/0.915, allocations: 0.8009 MB / 0.7303 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.915, allocations: 4 kB / 0.7303 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001937/0.917, allocations: 0.5155 MB / 0.7308 GB, free: 252 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.002178/0.9192, allocations: 0.789 MB / 0.7315 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.9221, allocations: 1.477 MB / 0.733 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9221, allocations: 4.656 kB / 0.733 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.9241, allocations: 0.8546 MB / 0.7338 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.9273, allocations: 0.7679 MB / 0.7346 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005683/0.933, allocations: 2.879 MB / 0.7374 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/0.934, allocations: 1.176 MB / 0.7385 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001392/0.9354, allocations: 405.8 kB / 0.7389 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.9357, allocations: 111.4 kB / 0.739 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.9357, allocations: 0 / 0.739 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of Templates: time 0.3688/1.305, allocations: 40.25 MB / 0.7783 GB, free: 221.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches