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.001169/0.001169, allocations: 98.09 kB / 16.94 MB, free: 5.98 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.001011/0.001011, allocations: 183.2 kB / 17.83 MB, free: 5.652 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.488/1.488, allocations: 205.4 MB / 224 MB, free: 13.17 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.000423/0.000423, allocations: 12 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1114, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3604/0.4719, allocations: 139 MB / 467.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.4746, allocations: 2.381 MB / 469.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.4748, allocations: 3.938 kB / 469.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.4754, allocations: 167.2 kB / 469.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.4759, allocations: 235.3 kB / 470.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.477, allocations: 417 kB / 470.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.4777, allocations: 0.574 MB / 471.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.4779, allocations: 73.17 kB / 471.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.4793, allocations: 0.7911 MB / 471.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.4796, allocations: 215.3 kB / 472.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.4797, allocations: 20 kB / 472.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008591/0.4806, allocations: 431.5 kB / 472.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.4808, allocations: 191.5 kB / 472.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4809, allocations: 141.5 kB / 472.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008798/0.4818, allocations: 0.8092 MB / 473.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4818, allocations: 4 kB / 473.7 MB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4818, allocations: 0 / 473.7 MB, free: 7.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4818, allocations: 0 / 473.7 MB, free: 7.398 MB / 366.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.0011/0.4829, allocations: 0.6945 MB / 474.4 MB, free: 6.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.483, allocations: 12.03 kB / 474.4 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006055/0.4836, allocations: 131.3 kB / 474.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.4841, allocations: 361.4 kB / 474.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.4842, allocations: 29 kB / 474.9 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.4842, allocations: 36 kB / 475 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.4851, allocations: 0.5576 MB / 475.5 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.4851, allocations: 0 / 475.5 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.4852, allocations: 20 kB / 475.5 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4852, allocations: 8 kB / 475.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.4859, allocations: 450.3 kB / 476 MB, free: 5.016 MB / 366.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.003118/0.489, allocations: 2.059 MB / 478 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.4893, allocations: 150.6 kB / 478.2 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4893, allocations: 7.984 kB / 478.2 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4893, allocations: 34.56 kB / 478.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.4893, allocations: 0 / 478.2 MB, free: 2.574 MB / 366.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.00598/0.4953, allocations: 1.682 MB / 479.9 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.4954, allocations: 55.36 kB / 480 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.4959, allocations: 481.6 kB / 480.4 MB, free: 208 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.496, allocations: 33.7 kB / 480.5 MB, free: 168 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.4962, allocations: 314.5 kB / 480.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.4963, allocations: 94.67 kB / 480.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.4963, allocations: 16 kB / 480.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4965, allocations: 358.8 kB / 481.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.4967, allocations: 129.2 kB / 481.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.4972, allocations: 440.5 kB / 481.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.4976, allocations: 227.8 kB / 482 MB, free: 14.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4976, allocations: 0 / 482 MB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009027/0.4985, allocations: 0.6281 MB / 482.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4985, allocations: 19.97 kB / 482.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4985, allocations: 8 kB / 482.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.4987, allocations: 61.69 kB / 482.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.4992, allocations: 143.7 kB / 482.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.5006, allocations: 1.844 MB / 484.7 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.5011, allocations: 36.3 kB / 484.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.5011, allocations: 40 kB / 484.8 MB, free: 11.51 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.5014, allocations: 213.5 kB / 485 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.5014, allocations: 47.48 kB / 485 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.502, allocations: 290.8 kB / 485.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.502, allocations: 4 kB / 485.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.502, allocations: 3.984 kB / 485.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004914/0.5025, allocations: 0.52 MB / 485.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.5035, allocations: 0.6903 MB / 486.5 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5035, allocations: 3.984 kB / 486.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.5038, allocations: 51.97 kB / 486.6 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-05/0.5039, allocations: 20.84 kB / 486.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.5039, allocations: 7.953 kB / 486.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009187/0.5048, allocations: 1.293 MB / 487.9 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5048, allocations: 8.234 kB / 487.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.5054, allocations: 424.3 kB / 488.3 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.5055, allocations: 120.5 kB / 488.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.5056, allocations: 4 kB / 488.5 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.5059, allocations: 19.92 kB / 488.5 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.5059, allocations: 16.05 kB / 488.5 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.506, allocations: 19.98 kB / 488.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.5063, allocations: 319.1 kB / 488.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5063, allocations: 0 / 488.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000758/0.5071, allocations: 215.9 kB / 489 MB, free: 6.906 MB / 382.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 (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.001188/0.5083, allocations: 402.8 kB / 489.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007472/0.509, allocations: 464.6 kB / 489.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.509, allocations: 0 / 489.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.5093, allocations: 210.5 kB / 490.1 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5103, allocations: 209.5 kB / 490.3 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.5118, allocations: 1.031 MB / 491.3 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.5122, allocations: 0.8427 MB / 492.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004612/0.5127, allocations: 132.6 kB / 492.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.5128, allocations: 51.42 kB / 492.3 MB, free: 3.512 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5128, allocations: 0 / 492.3 MB, free: 3.512 MB / 382.1 MB Notification: Performance of Templates: time 0.02156/0.5344, allocations: 11.73 MB / 0.4923 GB, free: 7.754 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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