Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001578/0.001578, allocations: 171.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.75/1.75, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.000884/0.0008842, allocations: 82.66 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.314e-05/4.316e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 47.58 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.933/2.048, allocations: 0.7116 GB / 1.073 GB, free: 108.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/2.049, allocations: 94.44 kB / 1.073 GB, free: 108 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.78/3.828, allocations: 0.551 GB / 1.624 GB, free: 35.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/3.828, allocations: 0 / 1.624 GB, free: 35.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/3.828, allocations: 16 kB / 1.624 GB, free: 35.9 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.002123/3.83, allocations: 0.9557 MB / 1.625 GB, free: 34.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/3.83, allocations: 8.031 kB / 1.625 GB, free: 34.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/3.831, allocations: 143.1 kB / 1.625 GB, free: 34.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/3.832, allocations: 484.9 kB / 1.626 GB, free: 34.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/3.832, allocations: 57.95 kB / 1.626 GB, free: 34.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/3.832, allocations: 79.98 kB / 1.626 GB, free: 34.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/3.833, allocations: 0.9016 MB / 1.627 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/3.833, allocations: 4 kB / 1.627 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/3.833, allocations: 35.98 kB / 1.627 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/3.833, allocations: 16 kB / 1.627 GB, free: 33.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/3.834, allocations: 0.8278 MB / 1.627 GB, free: 32.3 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.004325/3.839, allocations: 3.424 MB / 1.631 GB, free: 28.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/3.839, allocations: 0.6274 MB / 1.631 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/3.84, allocations: 354.3 kB / 1.632 GB, free: 27.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/3.84, allocations: 20.53 kB / 1.632 GB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/3.84, allocations: 47.12 kB / 1.632 GB, free: 27.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 2.966e-06/3.84, allocations: 0 / 1.632 GB, free: 27.54 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.0112/3.851, allocations: 4.339 MB / 1.636 GB, free: 23.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/3.851, allocations: 64.12 kB / 1.636 GB, free: 23.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/3.852, allocations: 0.4912 MB / 1.637 GB, free: 22.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/3.852, allocations: 41.7 kB / 1.637 GB, free: 22.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/3.852, allocations: 276.6 kB / 1.637 GB, free: 22.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/3.852, allocations: 256.3 kB / 1.637 GB, free: 21.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/3.852, allocations: 16 kB / 1.637 GB, free: 21.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/3.852, allocations: 378.7 kB / 1.638 GB, free: 21.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/3.853, allocations: 429.4 kB / 1.638 GB, free: 21.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/3.853, allocations: 0.4937 MB / 1.638 GB, free: 20.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/3.854, allocations: 0.4901 MB / 1.639 GB, free: 20.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/3.854, allocations: 0 / 1.639 GB, free: 20.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001752/3.855, allocations: 1.353 MB / 1.64 GB, free: 18.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/3.856, allocations: 4 kB / 1.64 GB, free: 18.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/3.856, allocations: 0 / 1.64 GB, free: 18.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/3.856, allocations: 334.6 kB / 1.641 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/3.857, allocations: 187.8 kB / 1.641 GB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/3.862, allocations: 10.2 MB / 1.651 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/3.863, allocations: 83.78 kB / 1.651 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/3.863, allocations: 47.92 kB / 1.651 GB, free: 6.914 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 () * 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.0002852/3.864, allocations: 152.8 kB / 1.651 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/3.864, allocations: 59.34 kB / 1.651 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/3.866, allocations: 1.301 MB / 1.652 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/3.866, allocations: 8 kB / 1.652 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/3.866, allocations: 7.938 kB / 1.652 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/3.867, allocations: 1.593 MB / 1.654 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/3.87, allocations: 2.245 MB / 1.656 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/3.87, allocations: 7.953 kB / 1.656 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/3.871, allocations: 223.8 kB / 1.656 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/3.871, allocations: 68.78 kB / 1.656 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.226e-05/3.871, allocations: 39.97 kB / 1.656 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/3.873, allocations: 1.432 MB / 1.658 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/3.873, allocations: 0 / 1.658 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/3.875, allocations: 1.614 MB / 1.659 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/3.875, allocations: 148.3 kB / 1.659 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/3.875, allocations: 27.98 kB / 1.66 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008672/3.876, allocations: 79.89 kB / 1.66 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/3.876, allocations: 52.7 kB / 1.66 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/3.877, allocations: 59.94 kB / 1.66 GB, free: 13.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005397/3.877, allocations: 405.1 kB / 1.66 GB, free: 12.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/3.877, allocations: 0 / 1.66 GB, free: 12.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001862/3.879, allocations: 419.8 kB / 1.66 GB, free: 12.53 MB / 442.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 () * 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.00277/3.882, allocations: 1.151 MB / 1.662 GB, free: 11.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003025/3.885, allocations: 1.834 MB / 1.663 GB, free: 9.438 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/3.885, allocations: 8 kB / 1.663 GB, free: 9.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/3.886, allocations: 0.6708 MB / 1.664 GB, free: 8.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/3.889, allocations: 490.6 kB / 1.665 GB, free: 8.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/3.893, allocations: 1.893 MB / 1.666 GB, free: 6.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/3.893, allocations: 0.9828 MB / 1.667 GB, free: 5.336 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001203/3.894, allocations: 273.7 kB / 1.668 GB, free: 5.066 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/3.895, allocations: 91.41 kB / 1.668 GB, free: 4.977 MB / 442.7 MB Notification: Performance of SimCode: time 1.753e-06/3.895, allocations: 0 / 1.668 GB, free: 4.977 MB / 442.7 MB Notification: Performance of Templates: time 0.3449/4.24, allocations: 37.75 MB / 1.705 GB, free: 77.54 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_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/SimpleNaturalGas/SimpleNaturalGas.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches