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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107.3 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 55.92 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08044/0.08233, allocations: 46.62 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3295/0.4119, allocations: 175.6 MB / 0.5386 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.4163, allocations: 3.852 MB / 0.5423 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.4164, allocations: 7.938 kB / 0.5423 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.4171, allocations: 218.7 kB / 0.5426 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.4177, allocations: 358.1 kB / 0.5429 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.4191, allocations: 0.5457 MB / 0.5434 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.4201, allocations: 1.107 MB / 0.5445 GB, free: 9.477 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.4203, allocations: 100.7 kB / 0.5446 GB, free: 9.379 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.4243, allocations: 1.278 MB / 0.5459 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.425, allocations: 326.8 kB / 0.5462 GB, free: 7.781 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.4251, allocations: 44 kB / 0.5462 GB, free: 7.738 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.4268, allocations: 451.1 kB / 0.5466 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.4271, allocations: 243.3 kB / 0.5469 GB, free: 7.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.4276, allocations: 314.9 kB / 0.5472 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.4295, allocations: 1.071 MB / 0.5482 GB, free: 5.676 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4296, allocations: 0 / 0.5482 GB, free: 5.676 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4296, allocations: 3.938 kB / 0.5482 GB, free: 5.672 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.4296, allocations: 0 / 0.5482 GB, free: 5.672 MB / 478.1 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.001928/0.4315, allocations: 0.8113 MB / 0.549 GB, free: 4.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.4316, allocations: 8.031 kB / 0.549 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.4327, allocations: 119.5 kB / 0.5491 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.4335, allocations: 381.1 kB / 0.5495 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.4336, allocations: 29 kB / 0.5495 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4337, allocations: 40 kB / 0.5496 GB, free: 4.203 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.435, allocations: 0.5615 MB / 0.5501 GB, free: 3.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.4351, allocations: 0 / 0.5501 GB, free: 3.625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.4351, allocations: 20 kB / 0.5501 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4352, allocations: 8 kB / 0.5501 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.4362, allocations: 449.2 kB / 0.5506 GB, free: 3.156 MB / 478.1 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.005151/0.4414, allocations: 2.129 MB / 0.5526 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.4418, allocations: 146.6 kB / 0.5528 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.442, allocations: 80.83 kB / 0.5529 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.442, allocations: 4 kB / 0.5529 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4421, allocations: 38.5 kB / 0.5529 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 2.475e-06/0.4421, allocations: 0 / 0.5529 GB, free: 0.5742 MB / 478.1 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.236/0.6781, allocations: 1.743 MB / 0.5546 GB, free: 171 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.6781, allocations: 64.92 kB / 0.5547 GB, free: 170.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.6786, allocations: 481.1 kB / 0.5551 GB, free: 170.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.6787, allocations: 32.45 kB / 0.5552 GB, free: 170.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.6788, allocations: 318.8 kB / 0.5555 GB, free: 170.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.6789, allocations: 92.06 kB / 0.5555 GB, free: 170.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.679, allocations: 122.6 kB / 0.5557 GB, free: 170.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.6791, allocations: 354 kB / 0.556 GB, free: 170 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.6794, allocations: 138.9 kB / 0.5561 GB, free: 170 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.6798, allocations: 434.5 kB / 0.5565 GB, free: 169.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.6804, allocations: 0.6113 MB / 0.5571 GB, free: 169 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6804, allocations: 8.203 kB / 0.5572 GB, free: 169 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008899/0.6813, allocations: 0.6295 MB / 0.5578 GB, free: 168.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6813, allocations: 13.28 kB / 0.5578 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.6813, allocations: 11.75 kB / 0.5578 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.6815, allocations: 54.59 kB / 0.5578 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.682, allocations: 147.9 kB / 0.558 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009734/0.683, allocations: 1.941 MB / 0.5599 GB, free: 166.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.6833, allocations: 23.33 kB / 0.5599 GB, free: 166.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.6834, allocations: 37.53 kB / 0.5599 GB, free: 166.7 MB / 478.1 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.0001638/0.6836, allocations: 218.2 kB / 0.5601 GB, free: 166.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.6836, allocations: 41.72 kB / 0.5602 GB, free: 166.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.6841, allocations: 292.1 kB / 0.5605 GB, free: 166.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003631/0.6845, allocations: 0.5221 MB / 0.561 GB, free: 165.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6845, allocations: 7.625 kB / 0.561 GB, free: 165.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.6846, allocations: 115.2 kB / 0.5611 GB, free: 165.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.6847, allocations: 7.844 kB / 0.5611 GB, free: 165.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.6849, allocations: 7.891 kB / 0.5611 GB, free: 165.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.685, allocations: 13.91 kB / 0.5611 GB, free: 165.7 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006263/0.6856, allocations: 327.6 kB / 0.5614 GB, free: 165.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004781/0.6861, allocations: 497.2 kB / 0.5619 GB, free: 165.2 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001207/0.6862, allocations: 81.55 kB / 0.562 GB, free: 165.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.6865, allocations: 330.4 kB / 0.5623 GB, free: 165 MB / 478.1 MB Notification: Performance of Backend: time 5.1e-07/0.6865, allocations: 0 / 0.5623 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.6886, allocations: 0.8508 MB / 0.5631 GB, free: 164.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.001749/0.6904, allocations: 1.431 MB / 0.5645 GB, free: 163.8 MB / 478.1 MB Notification: Performance of Templates: time 0.01911/0.7095, allocations: 12.94 MB / 0.5772 GB, free: 159.5 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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