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.001059/0.00106, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.722/1.722, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008832/0.0008829, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.008e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.871/1.972, allocations: 0.7124 GB / 1.074 GB, free: 107.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.972, allocations: 99.73 kB / 1.074 GB, free: 107 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.845/3.817, allocations: 0.5692 GB / 1.643 GB, free: 17.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/3.817, allocations: 0 / 1.643 GB, free: 17.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.083e-05/3.817, allocations: 8 kB / 1.643 GB, free: 17.88 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.002509/3.82, allocations: 0.7832 MB / 1.644 GB, free: 17.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/3.82, allocations: 8.031 kB / 1.644 GB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/3.821, allocations: 119.3 kB / 1.644 GB, free: 16.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008064/3.822, allocations: 372.5 kB / 1.644 GB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/3.822, allocations: 28.78 kB / 1.644 GB, free: 16.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/3.822, allocations: 39.94 kB / 1.644 GB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/3.823, allocations: 0.5279 MB / 1.645 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/3.823, allocations: 3.906 kB / 1.645 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/3.823, allocations: 24 kB / 1.645 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/3.823, allocations: 8 kB / 1.645 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008183/3.824, allocations: 410.9 kB / 1.645 GB, free: 15.46 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.00363/3.828, allocations: 2.021 MB / 1.647 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/3.828, allocations: 154.6 kB / 1.647 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/3.828, allocations: 76.86 kB / 1.647 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/3.829, allocations: 4.234 kB / 1.647 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/3.829, allocations: 38.56 kB / 1.648 GB, free: 12.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/3.829, allocations: 0 / 1.648 GB, free: 12.98 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.006832/3.835, allocations: 1.33 MB / 1.649 GB, free: 11.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/3.835, allocations: 63.34 kB / 1.649 GB, free: 11.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/3.836, allocations: 426.9 kB / 1.649 GB, free: 11.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/3.836, allocations: 33.69 kB / 1.649 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/3.836, allocations: 318.3 kB / 1.65 GB, free: 10.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/3.837, allocations: 94.72 kB / 1.65 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/3.837, allocations: 16 kB / 1.65 GB, free: 10.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/3.837, allocations: 350.8 kB / 1.65 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/3.837, allocations: 125.5 kB / 1.65 GB, free: 10.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/3.837, allocations: 437.1 kB / 1.651 GB, free: 9.555 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/3.838, allocations: 220.3 kB / 1.651 GB, free: 9.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/3.838, allocations: 4 kB / 1.651 GB, free: 9.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00125/3.839, allocations: 0.6275 MB / 1.651 GB, free: 8.695 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/3.839, allocations: 8 kB / 1.651 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/3.839, allocations: 12 kB / 1.651 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/3.84, allocations: 66.22 kB / 1.652 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/3.84, allocations: 139.8 kB / 1.652 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/3.842, allocations: 1.844 MB / 1.653 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/3.842, allocations: 35.92 kB / 1.653 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/3.842, allocations: 36 kB / 1.654 GB, free: 6.395 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.0001481/3.842, allocations: 148.8 kB / 1.654 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/3.843, allocations: 43.53 kB / 1.654 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006992/3.843, allocations: 290.5 kB / 1.654 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/3.843, allocations: 4 kB / 1.654 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/3.843, allocations: 0 / 1.654 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004805/3.844, allocations: 0.5164 MB / 1.654 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/3.845, allocations: 0.6905 MB / 1.655 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/3.845, allocations: 4 kB / 1.655 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/3.845, allocations: 63.91 kB / 1.655 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/3.846, allocations: 16.84 kB / 1.655 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/3.846, allocations: 8 kB / 1.655 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007525/3.846, allocations: 1.288 MB / 1.657 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/3.846, allocations: 3.953 kB / 1.657 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/3.847, allocations: 411.8 kB / 1.657 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/3.847, allocations: 124.6 kB / 1.657 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/3.847, allocations: 4.156 kB / 1.657 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/3.848, allocations: 23.88 kB / 1.657 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/3.848, allocations: 19.97 kB / 1.657 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/3.848, allocations: 12 kB / 1.657 GB, free: 2.395 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004532/3.848, allocations: 321.2 kB / 1.657 GB, free: 2.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/3.848, allocations: 0 / 1.657 GB, free: 2.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001717/3.85, allocations: 287.9 kB / 1.658 GB, free: 1.801 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.002381/3.852, allocations: 1.098 MB / 1.659 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006615/3.853, allocations: 456.3 kB / 1.659 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/3.853, allocations: 0 / 1.659 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/3.853, allocations: 210.4 kB / 1.659 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/3.855, allocations: 218.4 kB / 1.66 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/3.856, allocations: 0.6261 MB / 1.66 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/3.857, allocations: 0.8352 MB / 1.661 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008071/3.858, allocations: 132.6 kB / 1.661 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/3.858, allocations: 39.44 kB / 1.661 GB, free: 14.12 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/3.858, allocations: 0 / 1.661 GB, free: 14.12 MB / 442.7 MB Notification: Performance of Templates: time 0.3619/4.22, allocations: 24.61 MB / 1.685 GB, free: 79.17 MB / 442.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