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.00227/0.00227, allocations: 113.2 kB / 17.73 MB, free: 5.355 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.002101/0.002101, allocations: 180.1 kB / 18.66 MB, free: 4.438 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.589/1.589, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001358/0.001358, allocations: 51.94 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 46.62 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4704/0.5837, allocations: 175.6 MB / 0.5379 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.5886, allocations: 3.848 MB / 0.5417 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.5889, allocations: 4 kB / 0.5417 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008165/0.5898, allocations: 226.7 kB / 0.5419 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008622/0.5907, allocations: 358 kB / 0.5422 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.5922, allocations: 0.5438 MB / 0.5428 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.5936, allocations: 1.107 MB / 0.5438 GB, free: 9.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.5938, allocations: 104.7 kB / 0.5439 GB, free: 9.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.597, allocations: 1.262 MB / 0.5452 GB, free: 7.969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.5977, allocations: 330.8 kB / 0.5455 GB, free: 7.645 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.5979, allocations: 44 kB / 0.5455 GB, free: 7.602 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.5992, allocations: 459 kB / 0.546 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.5995, allocations: 239.3 kB / 0.5462 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005622/0.6001, allocations: 314.9 kB / 0.5465 GB, free: 6.609 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.6016, allocations: 1.083 MB / 0.5476 GB, free: 5.523 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6016, allocations: 0 / 0.5476 GB, free: 5.523 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6016, allocations: 0 / 0.5476 GB, free: 5.523 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.6016, allocations: 0 / 0.5476 GB, free: 5.523 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.001635/0.6033, allocations: 0.8179 MB / 0.5484 GB, free: 4.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6033, allocations: 8.031 kB / 0.5484 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.604, allocations: 123.6 kB / 0.5485 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.6046, allocations: 393.2 kB / 0.5489 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.6046, allocations: 25 kB / 0.5489 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.6047, allocations: 40 kB / 0.5489 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.6056, allocations: 0.5615 MB / 0.5495 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6056, allocations: 0 / 0.5495 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.6057, allocations: 20 kB / 0.5495 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.6057, allocations: 8 kB / 0.5495 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.6063, allocations: 450.3 kB / 0.5499 GB, free: 2.984 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.003793/0.6101, allocations: 2.126 MB / 0.552 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.6104, allocations: 150.6 kB / 0.5521 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.6106, allocations: 83.48 kB / 0.5522 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.6106, allocations: 4 kB / 0.5522 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6106, allocations: 38.56 kB / 0.5523 GB, free: 412 kB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/0.6107, allocations: 4 kB / 0.5523 GB, free: 408 kB / 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.3004/0.9111, allocations: 1.751 MB / 0.554 GB, free: 38.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.9111, allocations: 54.88 kB / 0.554 GB, free: 38.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.9119, allocations: 481.9 kB / 0.5545 GB, free: 38.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.9119, allocations: 32.05 kB / 0.5545 GB, free: 38.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.9121, allocations: 329 kB / 0.5548 GB, free: 38.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.9122, allocations: 98.33 kB / 0.5549 GB, free: 38.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.9124, allocations: 122.2 kB / 0.555 GB, free: 38.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9125, allocations: 354.3 kB / 0.5554 GB, free: 37.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.9128, allocations: 135.8 kB / 0.5555 GB, free: 37.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.9133, allocations: 436.4 kB / 0.5559 GB, free: 37.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.9141, allocations: 0.6079 MB / 0.5565 GB, free: 36.99 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.9141, allocations: 4.312 kB / 0.5565 GB, free: 36.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001106/0.9152, allocations: 0.6383 MB / 0.5571 GB, free: 36.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.9152, allocations: 10.72 kB / 0.5572 GB, free: 36.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.9152, allocations: 10.5 kB / 0.5572 GB, free: 36.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.9155, allocations: 58.53 kB / 0.5572 GB, free: 36.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.916, allocations: 145.5 kB / 0.5574 GB, free: 36.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.9171, allocations: 1.934 MB / 0.5592 GB, free: 35.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.9175, allocations: 24.03 kB / 0.5593 GB, free: 35.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.9176, allocations: 37.83 kB / 0.5593 GB, free: 35.04 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.0002547/0.9179, allocations: 223 kB / 0.5595 GB, free: 34.92 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.918, allocations: 47.23 kB / 0.5596 GB, free: 34.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.9186, allocations: 287.7 kB / 0.5598 GB, free: 34.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9186, allocations: 2.781 kB / 0.5598 GB, free: 34.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.9186, allocations: 4.969 kB / 0.5598 GB, free: 34.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004865/0.9191, allocations: 0.5251 MB / 0.5604 GB, free: 34.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.9201, allocations: 0.6979 MB / 0.561 GB, free: 34.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9201, allocations: 1.719 kB / 0.561 GB, free: 34.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.9204, allocations: 56.53 kB / 0.5611 GB, free: 34.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.951e-05/0.9205, allocations: 20.52 kB / 0.5611 GB, free: 34.06 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.9205, allocations: 7.922 kB / 0.5611 GB, free: 34.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006731/0.9212, allocations: 1.385 MB / 0.5625 GB, free: 32.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9212, allocations: 0.9688 kB / 0.5625 GB, free: 32.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.9219, allocations: 438 kB / 0.5629 GB, free: 32.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.922, allocations: 119.3 kB / 0.563 GB, free: 32.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.9221, allocations: 7.734 kB / 0.563 GB, free: 32.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.9223, allocations: 7.672 kB / 0.563 GB, free: 32.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.9224, allocations: 19.81 kB / 0.563 GB, free: 32.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.9224, allocations: 15.73 kB / 0.5631 GB, free: 32.42 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004782/0.9229, allocations: 326.2 kB / 0.5634 GB, free: 32.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9229, allocations: 0 / 0.5634 GB, free: 32.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009998/0.9239, allocations: 210.6 kB / 0.5636 GB, free: 32.32 MB / 478.1 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.001409/0.9253, allocations: 459.5 kB / 0.564 GB, free: 32.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000875/0.9262, allocations: 465.2 kB / 0.5645 GB, free: 32.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.9262, allocations: 0.7812 kB / 0.5645 GB, free: 32.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.9265, allocations: 207.7 kB / 0.5646 GB, free: 32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.9277, allocations: 220.2 kB / 0.5649 GB, free: 31.97 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.9291, allocations: 0.8815 MB / 0.5657 GB, free: 31.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.9295, allocations: 0.827 MB / 0.5665 GB, free: 30.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004469/0.9299, allocations: 143.5 kB / 0.5667 GB, free: 30.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.93, allocations: 42.41 kB / 0.5667 GB, free: 30.88 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.93, allocations: 1.5 kB / 0.5667 GB, free: 30.88 MB / 478.1 MB Notification: Performance of Templates: time 0.01825/0.9483, allocations: 12.46 MB / 0.5789 GB, free: 30.07 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/jenkins/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/jenkins/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