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.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002378/0.002377, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.251/2.251, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00117/0.00117, allocations: 78.67 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.716e-05/4.74e-05, allocations: 8 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.31/2.432, allocations: 0.7124 GB / 1.073 GB, free: 107 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/2.432, allocations: 96.55 kB / 1.073 GB, free: 106.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.692/5.124, allocations: 0.5692 GB / 1.642 GB, free: 17.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/5.124, allocations: 0 / 1.642 GB, free: 17.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.043e-05/5.124, allocations: 12 kB / 1.642 GB, free: 17.93 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001937/5.126, allocations: 0.7795 MB / 1.643 GB, free: 17.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/5.126, allocations: 12.03 kB / 1.643 GB, free: 17.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/5.127, allocations: 115.3 kB / 1.643 GB, free: 16.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/5.128, allocations: 373.3 kB / 1.643 GB, free: 16.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/5.128, allocations: 28.78 kB / 1.643 GB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/5.128, allocations: 40 kB / 1.643 GB, free: 16.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/5.129, allocations: 0.524 MB / 1.644 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/5.129, allocations: 7.844 kB / 1.644 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/5.129, allocations: 20 kB / 1.644 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/5.129, allocations: 12 kB / 1.644 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/5.13, allocations: 407 kB / 1.644 GB, free: 15.52 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00405/5.134, allocations: 2.035 MB / 1.646 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/5.135, allocations: 146.7 kB / 1.647 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/5.135, allocations: 76.86 kB / 1.647 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/5.135, allocations: 4 kB / 1.647 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/5.135, allocations: 42.55 kB / 1.647 GB, free: 13.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.467e-06/5.135, allocations: 0 / 1.647 GB, free: 13.03 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.008251/5.143, allocations: 1.331 MB / 1.648 GB, free: 11.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/5.143, allocations: 59.34 kB / 1.648 GB, free: 11.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/5.144, allocations: 434.8 kB / 1.648 GB, free: 11.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/5.144, allocations: 29.7 kB / 1.648 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/5.144, allocations: 368.7 kB / 1.649 GB, free: 10.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/5.144, allocations: 90.73 kB / 1.649 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/5.144, allocations: 12 kB / 1.649 GB, free: 10.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.493e-05/5.145, allocations: 334.8 kB / 1.649 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/5.145, allocations: 129.5 kB / 1.649 GB, free: 10.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/5.145, allocations: 437.1 kB / 1.65 GB, free: 9.578 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/5.146, allocations: 224.2 kB / 1.65 GB, free: 9.359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/5.146, allocations: 4 kB / 1.65 GB, free: 9.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0013/5.147, allocations: 0.6084 MB / 1.651 GB, free: 8.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/5.147, allocations: 12 kB / 1.651 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/5.147, allocations: 11.94 kB / 1.651 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/5.147, allocations: 61.69 kB / 1.651 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/5.148, allocations: 139.8 kB / 1.651 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/5.15, allocations: 1.837 MB / 1.653 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/5.15, allocations: 35.89 kB / 1.653 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/5.15, allocations: 36 kB / 1.653 GB, free: 6.441 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001503/5.151, allocations: 148.7 kB / 1.653 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/5.151, allocations: 39.53 kB / 1.653 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/5.151, allocations: 294.7 kB / 1.653 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/5.151, allocations: 4 kB / 1.653 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/5.151, allocations: 4 kB / 1.653 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005096/5.152, allocations: 0.5241 MB / 1.654 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/5.153, allocations: 0.6904 MB / 1.654 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/5.153, allocations: 0 / 1.654 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/5.154, allocations: 51.97 kB / 1.654 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/5.154, allocations: 24.84 kB / 1.654 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/5.154, allocations: 11.98 kB / 1.654 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007919/5.155, allocations: 1.28 MB / 1.656 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.155, allocations: 3.953 kB / 1.656 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/5.155, allocations: 423.6 kB / 1.656 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/5.156, allocations: 116.7 kB / 1.656 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/5.156, allocations: 11.94 kB / 1.656 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/5.156, allocations: 20.02 kB / 1.656 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/5.156, allocations: 19.97 kB / 1.656 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/5.156, allocations: 11.98 kB / 1.656 GB, free: 2.434 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004794/5.157, allocations: 321.2 kB / 1.656 GB, free: 2.121 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/5.157, allocations: 0 / 1.656 GB, free: 2.121 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001482/5.158, allocations: 291.8 kB / 1.657 GB, free: 1.836 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.002934/5.161, allocations: 1.094 MB / 1.658 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/5.162, allocations: 464.8 kB / 1.658 GB, free: 268 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/5.163, allocations: 0 / 1.658 GB, free: 268 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/5.163, allocations: 202.4 kB / 1.658 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/5.165, allocations: 209.8 kB / 1.659 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/5.167, allocations: 0.6552 MB / 1.659 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/5.167, allocations: 0.8391 MB / 1.66 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/5.168, allocations: 51.42 kB / 1.66 GB, free: 14.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/5.168, allocations: 0 / 1.66 GB, free: 14.25 MB / 442.7 MB Notification: Performance of Templates: time 0.339/5.507, allocations: 16.33 MB / 1.676 GB, free: 78.58 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches