Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.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="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.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="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 186.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001145, allocations: 84.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.000381, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.979/2.306, allocations: 0.7117 GB / 1.077 GB, free: 40.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/2.307, allocations: 103.9 kB / 1.078 GB, free: 40.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.918/5.225, allocations: 0.5506 GB / 1.628 GB, free: 66.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/5.225, allocations: 1.281 kB / 1.628 GB, free: 66.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.926e-05/5.225, allocations: 13.91 kB / 1.628 GB, free: 66.55 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003256/5.228, allocations: 1.009 MB / 1.629 GB, free: 66.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.228, allocations: 7.906 kB / 1.629 GB, free: 66.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/5.229, allocations: 156.1 kB / 1.629 GB, free: 66.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/5.23, allocations: 481.7 kB / 1.63 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/5.23, allocations: 54.84 kB / 1.63 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/5.23, allocations: 75.73 kB / 1.63 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/5.233, allocations: 0.925 MB / 1.631 GB, free: 65.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/5.233, allocations: 5.938 kB / 1.631 GB, free: 65.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/5.233, allocations: 34.97 kB / 1.631 GB, free: 65.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/5.233, allocations: 15.38 kB / 1.631 GB, free: 65.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/5.235, allocations: 0.8461 MB / 1.632 GB, free: 65.84 MB / 426.7 MB 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.008341/5.243, allocations: 3.42 MB / 1.635 GB, free: 64.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/5.245, allocations: 0.6405 MB / 1.636 GB, free: 64.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.964e-05/5.245, allocations: 18.89 kB / 1.636 GB, free: 64.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/5.245, allocations: 45.81 kB / 1.636 GB, free: 64.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 3.416e-06/5.245, allocations: 0 / 1.636 GB, free: 64.25 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02478/5.27, allocations: 6.179 MB / 1.642 GB, free: 62.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/5.27, allocations: 55.75 kB / 1.642 GB, free: 62.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/5.271, allocations: 0.4978 MB / 1.642 GB, free: 61.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/5.271, allocations: 50.45 kB / 1.642 GB, free: 61.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/5.271, allocations: 322.9 kB / 1.643 GB, free: 61.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/5.271, allocations: 245.1 kB / 1.643 GB, free: 61.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/5.271, allocations: 15.34 kB / 1.643 GB, free: 61.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/5.272, allocations: 341.2 kB / 1.643 GB, free: 61.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009701/5.273, allocations: 439.1 kB / 1.644 GB, free: 61.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/5.274, allocations: 0.5101 MB / 1.644 GB, free: 61.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/5.275, allocations: 0.4979 MB / 1.645 GB, free: 61.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/5.275, allocations: 0 / 1.645 GB, free: 61.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003194/5.278, allocations: 1.303 MB / 1.646 GB, free: 61.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/5.278, allocations: 9.234 kB / 1.646 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/5.278, allocations: 6.906 kB / 1.646 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009427/5.279, allocations: 333.4 kB / 1.646 GB, free: 61.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/5.281, allocations: 181.3 kB / 1.646 GB, free: 61.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009029/5.29, allocations: 10.27 MB / 1.656 GB, free: 51.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/5.291, allocations: 86.84 kB / 1.656 GB, free: 51.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/5.291, allocations: 44.62 kB / 1.657 GB, free: 51.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006484/5.292, allocations: 275.4 kB / 1.657 GB, free: 51.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/5.292, allocations: 62.81 kB / 1.657 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/5.296, allocations: 1.28 MB / 1.658 GB, free: 51.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/5.296, allocations: 6.906 kB / 1.658 GB, free: 51.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/5.296, allocations: 3.969 kB / 1.658 GB, free: 51.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002662/5.298, allocations: 1.602 MB / 1.66 GB, free: 50.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/5.304, allocations: 2.27 MB / 1.662 GB, free: 50.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/5.304, allocations: 6.453 kB / 1.662 GB, free: 50.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/5.306, allocations: 224.4 kB / 1.662 GB, free: 50.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/5.306, allocations: 71.48 kB / 1.662 GB, free: 50.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/5.306, allocations: 40.19 kB / 1.662 GB, free: 50.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/5.308, allocations: 1.442 MB / 1.664 GB, free: 49.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/5.308, allocations: 12.33 kB / 1.664 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/5.312, allocations: 1.625 MB / 1.665 GB, free: 48.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/5.312, allocations: 149.3 kB / 1.665 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/5.312, allocations: 27.34 kB / 1.665 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/5.314, allocations: 71.84 kB / 1.665 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/5.314, allocations: 56.34 kB / 1.666 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/5.314, allocations: 60.81 kB / 1.666 GB, free: 48.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007096/5.315, allocations: 402 kB / 1.666 GB, free: 48.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/5.315, allocations: 0 / 1.666 GB, free: 48.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002187/5.317, allocations: 421 kB / 1.666 GB, free: 48.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003508/5.321, allocations: 1.147 MB / 1.667 GB, free: 48.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003696/5.325, allocations: 1.855 MB / 1.669 GB, free: 47.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/5.325, allocations: 3.062 kB / 1.669 GB, free: 47.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/5.326, allocations: 0.6839 MB / 1.67 GB, free: 47.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/5.33, allocations: 492.1 kB / 1.67 GB, free: 47.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/5.337, allocations: 2.611 MB / 1.673 GB, free: 46.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/5.338, allocations: 0.9865 MB / 1.674 GB, free: 45.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/5.338, allocations: 95.8 kB / 1.674 GB, free: 45.94 MB / 426.7 MB Notification: Performance of SimCode: time 2.094e-06/5.338, allocations: 3.688 kB / 1.674 GB, free: 45.94 MB / 426.7 MB Notification: Performance of Templates: time 0.0529/5.391, allocations: 30.14 MB / 1.703 GB, free: 43.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches