Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007698/0.0007699, allocations: 95.77 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009052/0.0009053, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.7 MB / 247.5 MB, free: 11.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.18 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002758, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4151/0.5247, allocations: 176.2 MB / 0.6445 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008971/0.5337, allocations: 6.618 MB / 0.651 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009286/0.5347, allocations: 19.81 kB / 0.651 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.536, allocations: 378.2 kB / 0.6513 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.5404, allocations: 1.617 MB / 0.6529 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.5441, allocations: 1.346 MB / 0.6542 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.5475, allocations: 3.144 MB / 0.6573 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.5485, allocations: 483.3 kB / 0.6578 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.5524, allocations: 1.651 MB / 0.6594 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.5557, allocations: 1.554 MB / 0.6609 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003887/0.5561, allocations: 40 kB / 0.6609 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/0.56, allocations: 1.801 MB / 0.6627 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006214/0.5606, allocations: 410.8 kB / 0.6631 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009676/0.5616, allocations: 0.5422 MB / 0.6636 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.5641, allocations: 1.598 MB / 0.6652 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5641, allocations: 0 / 0.6652 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5641, allocations: 0 / 0.6652 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.884e-05/0.5642, allocations: 3.938 kB / 0.6652 GB, free: 15.11 MB / 0.4981 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.003262/0.5674, allocations: 1.25 MB / 0.6664 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5675, allocations: 8.031 kB / 0.6664 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.5691, allocations: 294.5 kB / 0.6667 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5703, allocations: 0.6013 MB / 0.6673 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.5705, allocations: 128.6 kB / 0.6674 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.5707, allocations: 59.98 kB / 0.6675 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.5729, allocations: 1.263 MB / 0.6687 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.573, allocations: 11.94 kB / 0.6687 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.5731, allocations: 39.98 kB / 0.6687 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.5733, allocations: 73.27 kB / 0.6688 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.575, allocations: 1.051 MB / 0.6698 GB, free: 10.16 MB / 0.4981 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.006826/0.5819, allocations: 4.865 MB / 0.6746 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.5825, allocations: 314.6 kB / 0.6749 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.5828, allocations: 144.8 kB / 0.675 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.5829, allocations: 97.09 kB / 0.6751 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.583, allocations: 38.56 kB / 0.6752 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.604e-06/0.583, allocations: 0 / 0.6752 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.006441/0.5895, allocations: 1.758 MB / 0.6769 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.5896, allocations: 132.5 kB / 0.677 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.5908, allocations: 0.9388 MB / 0.6779 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.5909, allocations: 37.7 kB / 0.678 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.5913, allocations: 0.5595 MB / 0.6785 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.5914, allocations: 130.3 kB / 0.6786 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.5915, allocations: 85.67 kB / 0.6787 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5917, allocations: 406.7 kB / 0.6791 GB, free: 176 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.5922, allocations: 270.5 kB / 0.6794 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008226/0.593, allocations: 0.8678 MB / 0.6802 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.5943, allocations: 1.187 MB / 0.6814 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.5944, allocations: 12 kB / 0.6814 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002001/0.5964, allocations: 1.227 MB / 0.6826 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.5964, allocations: 16 kB / 0.6826 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.5964, allocations: 20.88 kB / 0.6826 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.5978, allocations: 299.3 kB / 0.6829 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.5984, allocations: 207.6 kB / 0.6831 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.5995, allocations: 0.9074 MB / 0.684 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/0.6004, allocations: 63.94 kB / 0.684 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.6005, allocations: 68 kB / 0.6841 GB, free: 10.44 MB / 0.5137 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.0005022/0.601, allocations: 349.2 kB / 0.6844 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6012, allocations: 94.91 kB / 0.6845 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.6023, allocations: 0.5132 MB / 0.685 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6023, allocations: 4 kB / 0.685 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6023, allocations: 4 kB / 0.685 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6023, allocations: 0 / 0.685 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.604, allocations: 1.125 MB / 0.6861 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6041, allocations: 4 kB / 0.6861 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009967/0.6051, allocations: 183.8 kB / 0.6863 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.889e-05/0.6052, allocations: 24.84 kB / 0.6863 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.6052, allocations: 15.92 kB / 0.6864 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.6071, allocations: 2.68 MB / 0.689 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6071, allocations: 0 / 0.689 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.6082, allocations: 0.6999 MB / 0.6897 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.6085, allocations: 204.1 kB / 0.6898 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.6086, allocations: 12 kB / 0.6899 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.6091, allocations: 27.97 kB / 0.6899 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.6092, allocations: 23.91 kB / 0.6899 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.6092, allocations: 23.98 kB / 0.6899 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008099/0.6101, allocations: 0.6204 MB / 0.6905 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6101, allocations: 4 kB / 0.6905 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001297/0.6114, allocations: 391.8 kB / 0.6909 GB, free: 3.062 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.002058/0.6134, allocations: 0.6523 MB / 0.6916 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.6148, allocations: 0.6775 MB / 0.6922 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.6148, allocations: 4 kB / 0.6922 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008793/0.6157, allocations: 368.1 kB / 0.6926 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.6178, allocations: 410.1 kB / 0.693 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.6206, allocations: 2.049 MB / 0.695 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.6213, allocations: 1.028 MB / 0.696 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.6216, allocations: 87.42 kB / 0.696 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.6216, allocations: 0 / 0.696 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.2638/0.8854, allocations: 22.55 MB / 0.7181 GB, free: 191.2 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p