Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 177.5 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.6 MB / 223.7 MB, free: 8.965 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007006/0.0007007, allocations: 89.84 kB / 272.1 MB, free: 8.156 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002628, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2279, allocations: 47.57 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3997/0.6276, allocations: 168.7 MB / 0.5326 GB, free: 10.31 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.633, allocations: 4.833 MB / 0.5373 GB, free: 8.793 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.6335, allocations: 6.344 kB / 0.5373 GB, free: 8.793 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008538/0.6344, allocations: 196.5 kB / 0.5375 GB, free: 8.789 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008563/0.6353, allocations: 354 kB / 0.5378 GB, free: 8.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.6369, allocations: 0.4921 MB / 0.5383 GB, free: 8.742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.6386, allocations: 1.608 MB / 0.5399 GB, free: 8.738 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.6388, allocations: 79.7 kB / 0.5399 GB, free: 8.727 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.6418, allocations: 1.21 MB / 0.5411 GB, free: 8.691 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.6425, allocations: 357.6 kB / 0.5415 GB, free: 8.691 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.6427, allocations: 20.34 kB / 0.5415 GB, free: 8.691 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.6443, allocations: 0.7608 MB / 0.5422 GB, free: 8.688 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.6446, allocations: 210.7 kB / 0.5424 GB, free: 8.684 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006916/0.6453, allocations: 313 kB / 0.5427 GB, free: 8.652 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.6473, allocations: 1.135 MB / 0.5438 GB, free: 8.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6473, allocations: 0 / 0.5438 GB, free: 8.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6473, allocations: 7.531 kB / 0.5438 GB, free: 8.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.6474, allocations: 0 / 0.5438 GB, free: 8.227 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.001411/0.6488, allocations: 0.6947 MB / 0.5445 GB, free: 7.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6488, allocations: 11.25 kB / 0.5445 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.6495, allocations: 124.5 kB / 0.5446 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.65, allocations: 377.9 kB / 0.545 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.65, allocations: 27.88 kB / 0.545 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.6501, allocations: 40.5 kB / 0.5451 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/0.6509, allocations: 0.5555 MB / 0.5456 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.651, allocations: 0 / 0.5456 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.651, allocations: 25.05 kB / 0.5456 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.6511, allocations: 10.66 kB / 0.5457 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.6516, allocations: 439 kB / 0.5461 GB, free: 7.109 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.002974/0.6546, allocations: 2.063 MB / 0.5481 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.6548, allocations: 152 kB / 0.5482 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.655, allocations: 83.36 kB / 0.5483 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.655, allocations: 5.188 kB / 0.5483 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.655, allocations: 33.56 kB / 0.5483 GB, free: 5.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.655, allocations: 2.938 kB / 0.5483 GB, free: 5.559 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.005214/0.6603, allocations: 1.694 MB / 0.55 GB, free: 4.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.6603, allocations: 56.39 kB / 0.5501 GB, free: 4.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.6608, allocations: 480.3 kB / 0.5505 GB, free: 4.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.6608, allocations: 32.8 kB / 0.5505 GB, free: 4.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.661, allocations: 315.2 kB / 0.5508 GB, free: 3.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.6611, allocations: 93.11 kB / 0.5509 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.6612, allocations: 14.59 kB / 0.5509 GB, free: 3.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6613, allocations: 351 kB / 0.5513 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.6615, allocations: 134.2 kB / 0.5514 GB, free: 3.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.6619, allocations: 437.9 kB / 0.5518 GB, free: 3.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.6625, allocations: 0.6057 MB / 0.5524 GB, free: 2.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6625, allocations: 2.719 kB / 0.5524 GB, free: 2.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008158/0.6633, allocations: 0.6316 MB / 0.553 GB, free: 2.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6634, allocations: 8.969 kB / 0.553 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6634, allocations: 15.7 kB / 0.5531 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.6636, allocations: 56.17 kB / 0.5531 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.6641, allocations: 141.7 kB / 0.5533 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.6654, allocations: 1.843 MB / 0.5551 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.6658, allocations: 30.95 kB / 0.5551 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.6658, allocations: 41.34 kB / 0.5551 GB, free: 0.7227 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.0001945/0.666, allocations: 214.8 kB / 0.5553 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.6661, allocations: 45.28 kB / 0.5554 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.6666, allocations: 296.3 kB / 0.5557 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.6666, allocations: 2.188 kB / 0.5557 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6666, allocations: 2.938 kB / 0.5557 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004505/0.667, allocations: 0.5212 MB / 0.5562 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008939/0.6679, allocations: 0.6986 MB / 0.5568 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.668, allocations: 0 / 0.5568 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.6682, allocations: 49.56 kB / 0.5569 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.94e-05/0.6683, allocations: 28.16 kB / 0.5569 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6683, allocations: 9.844 kB / 0.5569 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008108/0.6692, allocations: 1.291 MB / 0.5582 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6692, allocations: 1.75 kB / 0.5582 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.6697, allocations: 435.2 kB / 0.5586 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.6698, allocations: 115.4 kB / 0.5587 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.6699, allocations: 9.156 kB / 0.5587 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.6702, allocations: 15.27 kB / 0.5587 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.6702, allocations: 16.97 kB / 0.5588 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.6702, allocations: 10.03 kB / 0.5588 GB, free: 13.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002989/0.6706, allocations: 329 kB / 0.5591 GB, free: 13.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6706, allocations: 0 / 0.5591 GB, free: 13.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007111/0.6713, allocations: 216.1 kB / 0.5593 GB, free: 13.75 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.001342/0.6726, allocations: 474 kB / 0.5597 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.6733, allocations: 458.7 kB / 0.5602 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6733, allocations: 1.562 kB / 0.5602 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.6735, allocations: 208.9 kB / 0.5604 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6745, allocations: 214.3 kB / 0.5606 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.6758, allocations: 1.085 MB / 0.5616 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.6762, allocations: 0.827 MB / 0.5624 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004701/0.6767, allocations: 137.8 kB / 0.5626 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.6768, allocations: 40.06 kB / 0.5626 GB, free: 11.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6768, allocations: 1.969 kB / 0.5626 GB, free: 11.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01834/0.6951, allocations: 11.51 MB / 0.5739 GB, free: 3.617 MB / 410.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