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.001026/0.001026, allocations: 187 kB / 17.91 MB, free: 3.855 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.169/1.169, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0008997/0.0008998, allocations: 104.4 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007861/0.0007861, allocations: 39.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1904, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3307/0.5212, allocations: 173.6 MB / 0.5346 GB, free: 11.14 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.5252, allocations: 3.873 MB / 0.5384 GB, free: 10.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.5254, allocations: 2.094 kB / 0.5384 GB, free: 10.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.5261, allocations: 208.9 kB / 0.5386 GB, free: 10.36 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.5267, allocations: 353.1 kB / 0.5389 GB, free: 10.19 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5277, allocations: 0.493 MB / 0.5394 GB, free: 10.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.5289, allocations: 1.608 MB / 0.541 GB, free: 9.551 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.529, allocations: 77.91 kB / 0.541 GB, free: 9.535 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.531, allocations: 1.186 MB / 0.5422 GB, free: 9.152 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.5314, allocations: 367.8 kB / 0.5426 GB, free: 9.066 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.149e-05/0.5314, allocations: 22.25 kB / 0.5426 GB, free: 9.066 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.5325, allocations: 0.7488 MB / 0.5433 GB, free: 8.859 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.5327, allocations: 205.5 kB / 0.5435 GB, free: 8.789 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.533, allocations: 292.5 kB / 0.5438 GB, free: 8.758 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.5341, allocations: 1.155 MB / 0.5449 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5342, allocations: 0 / 0.5449 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.5342, allocations: 0 / 0.5449 GB, free: 8.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.5342, allocations: 0 / 0.5449 GB, free: 8.297 MB / 394.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.00117/0.5354, allocations: 0.8052 MB / 0.5457 GB, free: 7.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.5354, allocations: 10.31 kB / 0.5457 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.5359, allocations: 122.7 kB / 0.5458 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.5364, allocations: 367.4 kB / 0.5462 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5365, allocations: 29.75 kB / 0.5462 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.5365, allocations: 39.27 kB / 0.5462 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.5373, allocations: 0.5672 MB / 0.5468 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5373, allocations: 0 / 0.5468 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.5374, allocations: 20.41 kB / 0.5468 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.5374, allocations: 8.25 kB / 0.5468 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.5379, allocations: 446.6 kB / 0.5472 GB, free: 7.145 MB / 394.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.002931/0.5408, allocations: 2.12 MB / 0.5493 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.541, allocations: 150.7 kB / 0.5495 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5412, allocations: 80.89 kB / 0.5495 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.5412, allocations: 10.09 kB / 0.5496 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5412, allocations: 33.41 kB / 0.5496 GB, free: 5.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.5412, allocations: 0 / 0.5496 GB, free: 5.562 MB / 394.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.005362/0.5466, allocations: 1.753 MB / 0.5513 GB, free: 4.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.5466, allocations: 54.31 kB / 0.5513 GB, free: 4.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.5471, allocations: 492.5 kB / 0.5518 GB, free: 4.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.5472, allocations: 31.95 kB / 0.5518 GB, free: 4.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.5474, allocations: 320 kB / 0.5522 GB, free: 3.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.5474, allocations: 84.84 kB / 0.5522 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.5476, allocations: 125.5 kB / 0.5524 GB, free: 3.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5477, allocations: 352.7 kB / 0.5527 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.5479, allocations: 134.8 kB / 0.5528 GB, free: 3.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.5483, allocations: 447.4 kB / 0.5532 GB, free: 3.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.5489, allocations: 0.6035 MB / 0.5538 GB, free: 2.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.5489, allocations: 8.406 kB / 0.5538 GB, free: 2.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007893/0.5497, allocations: 0.6349 MB / 0.5545 GB, free: 2.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5497, allocations: 11.03 kB / 0.5545 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5497, allocations: 10.09 kB / 0.5545 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.5499, allocations: 57.12 kB / 0.5545 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.5503, allocations: 138.7 kB / 0.5547 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.5516, allocations: 1.841 MB / 0.5565 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.552, allocations: 32.64 kB / 0.5565 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.552, allocations: 40.61 kB / 0.5565 GB, free: 0.5625 MB / 394.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.5522, allocations: 209.3 kB / 0.5567 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.5523, allocations: 50.31 kB / 0.5568 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.5527, allocations: 294.6 kB / 0.5571 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5527, allocations: 10.59 kB / 0.5571 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.5527, allocations: 4 kB / 0.5571 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004299/0.5532, allocations: 0.5241 MB / 0.5576 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.554, allocations: 0.6985 MB / 0.5583 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.554, allocations: 0 / 0.5583 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.5543, allocations: 56.58 kB / 0.5583 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.957e-05/0.5544, allocations: 22.78 kB / 0.5583 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.5544, allocations: 13.59 kB / 0.5584 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007208/0.5551, allocations: 1.273 MB / 0.5596 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5551, allocations: 4.062 kB / 0.5596 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02784/0.583, allocations: 6.29 MB / 0.5658 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5831, allocations: 112.7 kB / 0.5659 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.5832, allocations: 8 kB / 0.5659 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.5834, allocations: 11.94 kB / 0.5659 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.5835, allocations: 19.97 kB / 0.5659 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.5835, allocations: 15.98 kB / 0.5659 GB, free: 9.234 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003184/0.5838, allocations: 331.2 kB / 0.5662 GB, free: 8.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5838, allocations: 0 / 0.5662 GB, free: 8.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001389/0.5852, allocations: 499.9 kB / 0.5667 GB, free: 8.422 MB / 410.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003886/0.5891, allocations: 1.043 MB / 0.5677 GB, free: 7.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007152/0.5898, allocations: 469.9 kB / 0.5682 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5899, allocations: 4 kB / 0.5682 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.5901, allocations: 210.4 kB / 0.5684 GB, free: 6.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.5912, allocations: 210.9 kB / 0.5686 GB, free: 6.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.5927, allocations: 1.334 MB / 0.5699 GB, free: 5.109 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.593, allocations: 0.8349 MB / 0.5707 GB, free: 4.246 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004972/0.5935, allocations: 148.7 kB / 0.5708 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.5937, allocations: 48.62 kB / 0.5709 GB, free: 4.055 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5937, allocations: 4 kB / 0.5709 GB, free: 4.051 MB / 410.7 MB Notification: Performance of Templates: time 0.03099/0.6247, allocations: 26.69 MB / 0.597 GB, free: 9.297 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@2/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