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.001954/0.001953, allocations: 181.4 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.722/1.722, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001072/0.001072, allocations: 96.89 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 47.58 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.48/1.757, allocations: 0.7117 GB / 1.079 GB, free: 40.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/1.757, allocations: 101.7 kB / 1.079 GB, free: 40.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.928/3.685, allocations: 0.5506 GB / 1.629 GB, free: 66.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.976e-06/3.685, allocations: 3.938 kB / 1.629 GB, free: 66.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/3.685, allocations: 19.59 kB / 1.629 GB, free: 66.96 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.002093/3.687, allocations: 1.007 MB / 1.63 GB, free: 66.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/3.687, allocations: 9.031 kB / 1.63 GB, free: 66.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/3.688, allocations: 148.2 kB / 1.631 GB, free: 66.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/3.688, allocations: 476 kB / 1.631 GB, free: 66.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/3.689, allocations: 59.62 kB / 1.631 GB, free: 66.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/3.689, allocations: 80.64 kB / 1.631 GB, free: 66.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/3.69, allocations: 0.9252 MB / 1.632 GB, free: 66.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/3.69, allocations: 3.906 kB / 1.632 GB, free: 66.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/3.69, allocations: 29.09 kB / 1.632 GB, free: 66.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/3.69, allocations: 17.53 kB / 1.632 GB, free: 66.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/3.691, allocations: 0.8524 MB / 1.633 GB, free: 66.25 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.004502/3.696, allocations: 3.427 MB / 1.636 GB, free: 64.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/3.696, allocations: 0.6356 MB / 1.637 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/3.696, allocations: 18.91 kB / 1.637 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/3.697, allocations: 43.91 kB / 1.637 GB, free: 64.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 2.795e-06/3.697, allocations: 0 / 1.637 GB, free: 64.67 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.01359/3.71, allocations: 6.181 MB / 1.643 GB, free: 62.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/3.71, allocations: 65.27 kB / 1.643 GB, free: 62.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/3.711, allocations: 0.4945 MB / 1.644 GB, free: 62.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-05/3.711, allocations: 41.05 kB / 1.644 GB, free: 62.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/3.711, allocations: 287.1 kB / 1.644 GB, free: 62.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/3.711, allocations: 245.3 kB / 1.644 GB, free: 62.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/3.711, allocations: 14.75 kB / 1.644 GB, free: 62.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/3.711, allocations: 367.4 kB / 1.644 GB, free: 61.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/3.712, allocations: 441.5 kB / 1.645 GB, free: 61.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/3.712, allocations: 0.5111 MB / 1.645 GB, free: 61.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/3.713, allocations: 0.5044 MB / 1.646 GB, free: 61.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/3.713, allocations: 0 / 1.646 GB, free: 61.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001698/3.715, allocations: 1.335 MB / 1.647 GB, free: 61.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/3.715, allocations: 7.828 kB / 1.647 GB, free: 61.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/3.715, allocations: 0 / 1.647 GB, free: 61.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/3.715, allocations: 336.2 kB / 1.647 GB, free: 61.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/3.716, allocations: 177.4 kB / 1.648 GB, free: 61.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/3.722, allocations: 10.27 MB / 1.658 GB, free: 52.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/3.723, allocations: 84.8 kB / 1.658 GB, free: 52.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/3.723, allocations: 43.48 kB / 1.658 GB, free: 52.23 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.0005184/3.723, allocations: 273.9 kB / 1.658 GB, free: 52.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/3.723, allocations: 59.94 kB / 1.658 GB, free: 52.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/3.725, allocations: 1.289 MB / 1.659 GB, free: 51.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/3.725, allocations: 7.188 kB / 1.659 GB, free: 51.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/3.725, allocations: 6.625 kB / 1.659 GB, free: 51.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/3.727, allocations: 1.595 MB / 1.661 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/3.73, allocations: 2.272 MB / 1.663 GB, free: 50.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/3.73, allocations: 3.906 kB / 1.663 GB, free: 50.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/3.731, allocations: 220.6 kB / 1.663 GB, free: 50.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/3.731, allocations: 74.44 kB / 1.663 GB, free: 50.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/3.731, allocations: 39 kB / 1.663 GB, free: 50.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009501/3.732, allocations: 1.443 MB / 1.665 GB, free: 49.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/3.732, allocations: 3.953 kB / 1.665 GB, free: 49.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/3.734, allocations: 1.628 MB / 1.666 GB, free: 49.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/3.735, allocations: 147.7 kB / 1.667 GB, free: 49.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/3.735, allocations: 28.23 kB / 1.667 GB, free: 49.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/3.736, allocations: 72.81 kB / 1.667 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/3.736, allocations: 58.86 kB / 1.667 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.564e-05/3.736, allocations: 63.77 kB / 1.667 GB, free: 49.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004389/3.736, allocations: 400.1 kB / 1.667 GB, free: 49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/3.736, allocations: 3.781 kB / 1.667 GB, free: 49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001689/3.738, allocations: 418.9 kB / 1.668 GB, free: 49 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.002462/3.74, allocations: 1.153 MB / 1.669 GB, free: 48.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00224/3.743, allocations: 1.855 MB / 1.671 GB, free: 48.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/3.743, allocations: 3.438 kB / 1.671 GB, free: 48.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007912/3.744, allocations: 0.6789 MB / 1.671 GB, free: 47.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/3.746, allocations: 490.6 kB / 1.672 GB, free: 47.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/3.749, allocations: 2.546 MB / 1.674 GB, free: 47.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/3.75, allocations: 0.9957 MB / 1.675 GB, free: 46.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001011/3.751, allocations: 268 kB / 1.675 GB, free: 46.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/3.751, allocations: 91.52 kB / 1.675 GB, free: 46.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.582e-06/3.751, allocations: 0 / 1.675 GB, free: 46.42 MB / 426.7 MB Notification: Performance of Templates: time 0.0449/3.796, allocations: 35.01 MB / 1.71 GB, free: 38.8 MB / 426.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