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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 166.3 kB / 25.03 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.035e-05/4.255e-05, allocations: 2.312 kB / 250.4 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3889/0.389, allocations: 169 MB / 419.5 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.3943, allocations: 3.926 MB / 423.4 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.3945, allocations: 9.531 kB / 423.4 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.3954, allocations: 214.1 kB / 423.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.3961, allocations: 390.4 kB / 424 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.3976, allocations: 0.5561 MB / 424.5 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3988, allocations: 1.112 MB / 425.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.399, allocations: 70.73 kB / 425.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.4025, allocations: 1.425 MB / 427.2 MB, free: 3.293 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.4031, allocations: 312.8 kB / 427.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.4032, allocations: 45.53 kB / 427.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.4044, allocations: 426.3 kB / 427.9 MB, free: 3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.4047, allocations: 245.6 kB / 428.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.405, allocations: 252 kB / 428.4 MB, free: 2.742 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.4067, allocations: 1.148 MB / 429.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4067, allocations: 0 / 429.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4067, allocations: 0 / 429.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.4067, allocations: 2.375 kB / 429.6 MB, free: 2.059 MB / 330.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.001512/0.4082, allocations: 0.8817 MB / 430.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4083, allocations: 8.438 kB / 430.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007902/0.409, allocations: 192.9 kB / 430.6 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.4097, allocations: 309.6 kB / 430.9 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.4097, allocations: 27.41 kB / 431 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.4098, allocations: 54.09 kB / 431 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.4107, allocations: 1.045 MB / 432.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.4107, allocations: 6.562 kB / 432.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.4108, allocations: 17.62 kB / 432.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4108, allocations: 12.69 kB / 432.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.4113, allocations: 265.8 kB / 432.4 MB, free: 15.83 MB / 346.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.004051/0.4154, allocations: 1.751 MB / 434.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.4157, allocations: 153.6 kB / 434.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.4158, allocations: 86 kB / 434.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.4159, allocations: 3.406 kB / 434.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.4159, allocations: 36.27 kB / 434.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4159, allocations: 0 / 434.4 MB, free: 14.36 MB / 346.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.007063/0.423, allocations: 1.432 MB / 435.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.423, allocations: 55.41 kB / 435.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008006/0.4238, allocations: 0.5492 MB / 436.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.4239, allocations: 29.7 kB / 436.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.4242, allocations: 402.9 kB / 436.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4244, allocations: 99.27 kB / 436.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.4246, allocations: 151.9 kB / 437.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003814/0.425, allocations: 0.5509 MB / 437.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4252, allocations: 93.27 kB / 437.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.426, allocations: 0.5486 MB / 438.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.427, allocations: 0.7037 MB / 439 MB, free: 9.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4271, allocations: 4 kB / 439 MB, free: 9.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001225/0.4283, allocations: 0.5979 MB / 439.6 MB, free: 8.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.4283, allocations: 11.94 kB / 439.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.4283, allocations: 12 kB / 439.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.4286, allocations: 64.09 kB / 439.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.4291, allocations: 143.8 kB / 439.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.4318, allocations: 2.609 MB / 442.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.4323, allocations: 24 kB / 442.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.4324, allocations: 36 kB / 442.5 MB, free: 5.578 MB / 346.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.0007408/0.4331, allocations: 224.4 kB / 442.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4332, allocations: 51.77 kB / 442.7 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.4339, allocations: 296.4 kB / 443 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.4339, allocations: 7.984 kB / 443 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4339, allocations: 3.938 kB / 443 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006597/0.4346, allocations: 0.5228 MB / 443.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.4359, allocations: 0.7218 MB / 444.3 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4359, allocations: 4 kB / 444.3 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.4362, allocations: 51.91 kB / 444.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.4363, allocations: 27.67 kB / 444.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.4363, allocations: 8 kB / 444.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.438, allocations: 1.786 MB / 446.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.438, allocations: 0 / 446.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.4388, allocations: 491.7 kB / 446.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4389, allocations: 39.72 kB / 446.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.439, allocations: 12.14 kB / 446.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.4392, allocations: 4 kB / 446.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.4393, allocations: 19.97 kB / 446.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4393, allocations: 15.98 kB / 446.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.4398, allocations: 311.1 kB / 447 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4398, allocations: 0 / 447 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001077/0.4408, allocations: 211.7 kB / 447.2 MB, free: 0.4922 MB / 346.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.001449/0.4423, allocations: 465.4 kB / 447.7 MB, free: 40 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.4435, allocations: 0.5116 MB / 448.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.4435, allocations: 4 kB / 448.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.4438, allocations: 273.4 kB / 448.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.4449, allocations: 201.9 kB / 448.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.4467, allocations: 0.7638 MB / 449.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.4472, allocations: 213.8 kB / 449.7 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.4476, allocations: 126 kB / 449.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4477, allocations: 44.5 kB / 449.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4477, allocations: 0 / 449.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Templates: time 0.0258/0.4735, allocations: 11.94 MB / 461.8 MB, free: 1.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.549893741030246]