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.001343/0.001343, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.00159/0.00159, allocations: 214.5 kB / 24.47 MB, free: 3.777 MB / 14.72 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.39/1.39, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 49.81 kB / 347.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2474, allocations: 49.15 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1878/0.4351, allocations: 152 MB / 0.5355 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.4401, allocations: 3.514 MB / 0.539 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.4404, allocations: 7.938 kB / 0.539 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008037/0.4412, allocations: 210.8 kB / 0.5392 GB, free: 6.832 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.4421, allocations: 366.1 kB / 0.5395 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4437, allocations: 0.5646 MB / 0.5401 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.445, allocations: 1.118 MB / 0.5412 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.4452, allocations: 76.86 kB / 0.5412 GB, free: 4.711 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.4481, allocations: 1.279 MB / 0.5425 GB, free: 3.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/0.4487, allocations: 334.8 kB / 0.5428 GB, free: 3.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.4488, allocations: 44 kB / 0.5428 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.4499, allocations: 415 kB / 0.5432 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.4501, allocations: 243.4 kB / 0.5435 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.4506, allocations: 275.1 kB / 0.5437 GB, free: 2.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.4521, allocations: 1.086 MB / 0.5448 GB, free: 1.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4521, allocations: 4 kB / 0.5448 GB, free: 1.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4521, allocations: 0 / 0.5448 GB, free: 1.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.4521, allocations: 3.938 kB / 0.5448 GB, free: 1.047 MB / 462.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.001535/0.4536, allocations: 0.7465 MB / 0.5455 GB, free: 276 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4537, allocations: 11.98 kB / 0.5455 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.4538, allocations: 78.53 kB / 0.5456 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.4544, allocations: 123.6 kB / 0.5457 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.4551, allocations: 315.5 kB / 0.546 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.4551, allocations: 29 kB / 0.5461 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.4552, allocations: 36 kB / 0.5461 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.4565, allocations: 1.172 MB / 0.5472 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4565, allocations: 4 kB / 0.5472 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.4566, allocations: 20 kB / 0.5473 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4566, allocations: 11.98 kB / 0.5473 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.4573, allocations: 442.4 kB / 0.5477 GB, free: 13.84 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.003463/0.4608, allocations: 1.529 MB / 0.5492 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.4611, allocations: 146.6 kB / 0.5493 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.4612, allocations: 72.78 kB / 0.5494 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4612, allocations: 7.984 kB / 0.5494 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.4613, allocations: 38.5 kB / 0.5494 GB, free: 11.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 2.706e-06/0.4613, allocations: 0 / 0.5494 GB, free: 11.98 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.006364/0.4676, allocations: 1.466 MB / 0.5509 GB, free: 10.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4677, allocations: 55.41 kB / 0.5509 GB, free: 10.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/0.4683, allocations: 0.4975 MB / 0.5514 GB, free: 9.852 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4684, allocations: 29.7 kB / 0.5514 GB, free: 9.816 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.4686, allocations: 327.3 kB / 0.5518 GB, free: 9.492 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.4687, allocations: 95.25 kB / 0.5518 GB, free: 9.398 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.4689, allocations: 126.2 kB / 0.552 GB, free: 9.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4691, allocations: 346.8 kB / 0.5523 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.4694, allocations: 145.2 kB / 0.5524 GB, free: 8.781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.4699, allocations: 440.5 kB / 0.5529 GB, free: 8.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/0.4707, allocations: 0.6012 MB / 0.5534 GB, free: 7.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.4707, allocations: 3.938 kB / 0.5534 GB, free: 7.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001106/0.4718, allocations: 0.6399 MB / 0.5541 GB, free: 6.801 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4718, allocations: 8 kB / 0.5541 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4718, allocations: 20.12 kB / 0.5541 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.472, allocations: 57.69 kB / 0.5542 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.4725, allocations: 139.8 kB / 0.5543 GB, free: 6.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.4742, allocations: 1.827 MB / 0.5561 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.4746, allocations: 24.25 kB / 0.5561 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.4746, allocations: 36 kB / 0.5561 GB, free: 4.551 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.0002645/0.4749, allocations: 213.5 kB / 0.5563 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.653e-05/0.475, allocations: 43.77 kB / 0.5564 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.4756, allocations: 294.9 kB / 0.5567 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.4756, allocations: 4 kB / 0.5567 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4756, allocations: 0 / 0.5567 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005309/0.4761, allocations: 0.5278 MB / 0.5572 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.4773, allocations: 0.6353 MB / 0.5578 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4773, allocations: 0 / 0.5578 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.4776, allocations: 55.91 kB / 0.5579 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-05/0.4777, allocations: 20.84 kB / 0.5579 GB, free: 2.598 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.4777, allocations: 8 kB / 0.5579 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.4788, allocations: 1.283 MB / 0.5591 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4788, allocations: 4 kB / 0.5591 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.4794, allocations: 432.1 kB / 0.5595 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.4795, allocations: 39.81 kB / 0.5596 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.4796, allocations: 15.92 kB / 0.5596 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4799, allocations: 8 kB / 0.5596 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4799, allocations: 15.97 kB / 0.5596 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.4799, allocations: 15.98 kB / 0.5596 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003956/0.4803, allocations: 323.1 kB / 0.5599 GB, free: 352 kB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4803, allocations: 0 / 0.5599 GB, free: 352 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008867/0.4812, allocations: 215.7 kB / 0.5602 GB, free: 136 kB / 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.1697/0.6509, allocations: 1.302 MB / 0.5614 GB, free: 163.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000794/0.6517, allocations: 452.5 kB / 0.5619 GB, free: 163 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6517, allocations: 4.875 kB / 0.5619 GB, free: 163 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.6519, allocations: 197.4 kB / 0.562 GB, free: 162.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.6531, allocations: 211.4 kB / 0.5622 GB, free: 162.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.658, allocations: 4.573 MB / 0.5667 GB, free: 160.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.6583, allocations: 220.8 kB / 0.5669 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004817/0.6587, allocations: 140.3 kB / 0.5671 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.6589, allocations: 143.7 kB / 0.5672 GB, free: 159.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6589, allocations: 4 kB / 0.5672 GB, free: 159.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/0.7075, allocations: 18.57 MB / 0.5853 GB, free: 150.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.72, allocations: 10.12 kB / 0.5853 GB, free: 150.3 MB / 478.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.183796640019864]