Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001476/0.001475, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.699/1.699, allocations: 205.4 MB / 223.1 MB, free: 9.137 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.001067/0.001067, allocations: 92.16 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 11.98 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 47.57 MB / 375.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.637, allocations: 0.7125 GB / 1.08 GB, free: 56.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.637, allocations: 102.5 kB / 1.08 GB, free: 56.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.03/3.667, allocations: 0.5688 GB / 1.648 GB, free: 68.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/3.667, allocations: 0 / 1.648 GB, free: 68.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.461e-05/3.667, allocations: 10.55 kB / 1.648 GB, free: 68.27 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.002301/3.67, allocations: 0.8326 MB / 1.649 GB, free: 67.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/3.67, allocations: 12.66 kB / 1.649 GB, free: 67.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000685/3.671, allocations: 119 kB / 1.649 GB, free: 67.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/3.671, allocations: 373.9 kB / 1.65 GB, free: 67.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/3.671, allocations: 34.06 kB / 1.65 GB, free: 67.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/3.671, allocations: 41.83 kB / 1.65 GB, free: 67.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/3.672, allocations: 0.5308 MB / 1.65 GB, free: 67.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/3.672, allocations: 3.344 kB / 1.65 GB, free: 67.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/3.672, allocations: 18.03 kB / 1.65 GB, free: 67.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/3.673, allocations: 14.41 kB / 1.65 GB, free: 67.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/3.673, allocations: 418.7 kB / 1.651 GB, free: 67.57 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.002867/3.676, allocations: 2.031 MB / 1.653 GB, free: 66.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/3.676, allocations: 151.3 kB / 1.653 GB, free: 66.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/3.676, allocations: 9.516 kB / 1.653 GB, free: 66.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/3.676, allocations: 37.44 kB / 1.653 GB, free: 66.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/3.676, allocations: 3.219 kB / 1.653 GB, free: 66.37 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.006134/3.682, allocations: 1.66 MB / 1.655 GB, free: 65.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/3.683, allocations: 61.19 kB / 1.655 GB, free: 65.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/3.683, allocations: 426 kB / 1.655 GB, free: 65.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/3.683, allocations: 34.3 kB / 1.655 GB, free: 65.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/3.684, allocations: 322.1 kB / 1.655 GB, free: 65.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/3.684, allocations: 86.25 kB / 1.655 GB, free: 65.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/3.684, allocations: 15.34 kB / 1.655 GB, free: 65.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/3.684, allocations: 350.6 kB / 1.656 GB, free: 64.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/3.684, allocations: 134.3 kB / 1.656 GB, free: 64.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/3.684, allocations: 435.3 kB / 1.656 GB, free: 64.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/3.685, allocations: 220.3 kB / 1.657 GB, free: 64.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/3.685, allocations: 3.969 kB / 1.657 GB, free: 64.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008899/3.686, allocations: 0.6353 MB / 1.657 GB, free: 64.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/3.686, allocations: 9.656 kB / 1.657 GB, free: 64.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/3.686, allocations: 13 kB / 1.657 GB, free: 64.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/3.686, allocations: 69.5 kB / 1.657 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/3.686, allocations: 139.9 kB / 1.657 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/3.687, allocations: 1.847 MB / 1.659 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/3.688, allocations: 36.31 kB / 1.659 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/3.688, allocations: 44.55 kB / 1.659 GB, free: 62.55 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 () * Number of clocked 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.0002415/3.688, allocations: 213.1 kB / 1.659 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/3.688, allocations: 42.5 kB / 1.66 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/3.689, allocations: 291.1 kB / 1.66 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/3.689, allocations: 0 / 1.66 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/3.689, allocations: 0 / 1.66 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000364/3.689, allocations: 0.528 MB / 1.66 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/3.69, allocations: 0.7039 MB / 1.661 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/3.69, allocations: 0 / 1.661 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/3.69, allocations: 50.31 kB / 1.661 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/3.691, allocations: 26.02 kB / 1.661 GB, free: 61.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/3.691, allocations: 6.094 kB / 1.661 GB, free: 61.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006783/3.691, allocations: 1.291 MB / 1.662 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/3.691, allocations: 2.078 kB / 1.662 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/3.692, allocations: 437.8 kB / 1.663 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/3.692, allocations: 113.3 kB / 1.663 GB, free: 60.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/3.692, allocations: 3.438 kB / 1.663 GB, free: 60.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/3.692, allocations: 16.41 kB / 1.663 GB, free: 60.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/3.692, allocations: 24.7 kB / 1.663 GB, free: 60.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/3.692, allocations: 18.09 kB / 1.663 GB, free: 60.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003013/3.693, allocations: 317.9 kB / 1.663 GB, free: 59.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/3.693, allocations: 6.969 kB / 1.663 GB, free: 59.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00119/3.694, allocations: 294.6 kB / 1.663 GB, free: 59.94 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 () * Number of clocked 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.002415/3.696, allocations: 1.084 MB / 1.665 GB, free: 59.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007757/3.697, allocations: 464.9 kB / 1.665 GB, free: 59.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/3.697, allocations: 3.188 kB / 1.665 GB, free: 59.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/3.697, allocations: 208 kB / 1.665 GB, free: 59.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/3.698, allocations: 215.2 kB / 1.665 GB, free: 59.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/3.7, allocations: 1.03 MB / 1.666 GB, free: 59.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/3.7, allocations: 0.8318 MB / 1.667 GB, free: 58.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005728/3.701, allocations: 134.5 kB / 1.667 GB, free: 58.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/3.701, allocations: 43.78 kB / 1.667 GB, free: 58.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/3.701, allocations: 0 / 1.667 GB, free: 58.38 MB / 426.7 MB Notification: Performance of Templates: time 0.03159/3.732, allocations: 21.86 MB / 1.689 GB, free: 57.78 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches