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.0008859/0.0008859, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004899/0.004899, allocations: 166 kB / 24.7 MB, free: 8.887 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 0.8533/0.8533, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.715e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2406/0.2406, allocations: 151.9 MB / 450.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.2435, allocations: 3.515 MB / 453.9 MB, free: 2.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2436, allocations: 7.938 kB / 454 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.2441, allocations: 214.7 kB / 454.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.2445, allocations: 381.6 kB / 454.5 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.2454, allocations: 0.5641 MB / 455.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.246, allocations: 1.12 MB / 456.2 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.2462, allocations: 64.89 kB / 456.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1663/0.4125, allocations: 1.421 MB / 457.7 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.4131, allocations: 311.6 kB / 458 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.4132, allocations: 46.12 kB / 458.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.4143, allocations: 420.3 kB / 458.5 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.4145, allocations: 247.8 kB / 458.7 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.4148, allocations: 248.1 kB / 458.9 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.4162, allocations: 1.145 MB / 460.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4162, allocations: 0 / 460.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4162, allocations: 0.8438 kB / 460.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4162, allocations: 0.9375 kB / 460.1 MB, free: 2.348 MB / 410.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.001318/0.4175, allocations: 0.7364 MB / 460.8 MB, free: 17.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4176, allocations: 15.17 kB / 460.8 MB, free: 17.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.105e-05/0.4177, allocations: 82.16 kB / 460.9 MB, free: 17.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.4181, allocations: 125.2 kB / 461 MB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.4185, allocations: 317.6 kB / 461.4 MB, free: 17.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.4185, allocations: 28.62 kB / 461.4 MB, free: 17.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.4186, allocations: 40.89 kB / 461.4 MB, free: 17.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/0.4194, allocations: 1.165 MB / 462.6 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4194, allocations: 2 kB / 462.6 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.4195, allocations: 21.5 kB / 462.6 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4195, allocations: 11.06 kB / 462.6 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.4199, allocations: 446.7 kB / 463.1 MB, free: 16.93 MB / 426.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.002199/0.4221, allocations: 1.535 MB / 464.6 MB, free: 16.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4223, allocations: 140.2 kB / 464.7 MB, free: 16.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.4224, allocations: 84 kB / 464.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4224, allocations: 2.312 kB / 464.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4225, allocations: 40.66 kB / 464.9 MB, free: 16.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4225, allocations: 1.203 kB / 464.9 MB, free: 16.29 MB / 426.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.003407/0.4259, allocations: 1.459 MB / 466.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4259, allocations: 54.62 kB / 466.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.4263, allocations: 0.4988 MB / 466.9 MB, free: 15.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4263, allocations: 31.33 kB / 466.9 MB, free: 15.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4264, allocations: 325.7 kB / 467.2 MB, free: 15.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.4264, allocations: 90.88 kB / 467.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4266, allocations: 124.6 kB / 467.4 MB, free: 15.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.4266, allocations: 356.3 kB / 467.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.4268, allocations: 137.7 kB / 467.9 MB, free: 14.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.427, allocations: 444.2 kB / 468.3 MB, free: 14.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.4274, allocations: 0.6014 MB / 468.9 MB, free: 14.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4274, allocations: 7.812 kB / 469 MB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006458/0.4281, allocations: 0.6351 MB / 469.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4281, allocations: 11 kB / 469.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4281, allocations: 10.47 kB / 469.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.4282, allocations: 58.92 kB / 469.7 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.4285, allocations: 141.8 kB / 469.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000883/0.4294, allocations: 1.835 MB / 471.6 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.4296, allocations: 26.94 kB / 471.7 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.4297, allocations: 38.12 kB / 471.7 MB, free: 12.37 MB / 426.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.0001593/0.4298, allocations: 211.3 kB / 471.9 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.4299, allocations: 47.81 kB / 472 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.4302, allocations: 282.8 kB / 472.2 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4302, allocations: 8.578 kB / 472.2 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4302, allocations: 0.7812 kB / 472.2 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005591/0.4308, allocations: 0.5226 MB / 472.8 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.4314, allocations: 0.6364 MB / 473.4 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4314, allocations: 0 / 473.4 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.4316, allocations: 57.31 kB / 473.5 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.105e-05/0.4316, allocations: 20.3 kB / 473.5 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4316, allocations: 5.719 kB / 473.5 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000573/0.4322, allocations: 1.283 MB / 474.8 MB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4322, allocations: 1.094 kB / 474.8 MB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.4328, allocations: 432.1 kB / 475.2 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.4329, allocations: 38.62 kB / 475.2 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.4329, allocations: 7.094 kB / 475.2 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4331, allocations: 9.797 kB / 475.2 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.4332, allocations: 20.03 kB / 475.3 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.4332, allocations: 15.78 kB / 475.3 MB, free: 10.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003441/0.4335, allocations: 323.4 kB / 475.6 MB, free: 9.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4335, allocations: 1.062 kB / 475.6 MB, free: 9.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008612/0.4344, allocations: 209.5 kB / 475.8 MB, free: 9.914 MB / 426.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.001917/0.4363, allocations: 1.315 MB / 477.1 MB, free: 9.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007359/0.4371, allocations: 454.7 kB / 477.6 MB, free: 9.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4371, allocations: 3.047 kB / 477.6 MB, free: 9.082 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.4373, allocations: 200.1 kB / 477.8 MB, free: 8.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.4383, allocations: 222 kB / 478 MB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.4422, allocations: 4.526 MB / 482.5 MB, free: 6.641 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.4424, allocations: 216.5 kB / 482.7 MB, free: 6.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.4427, allocations: 140.7 kB / 482.9 MB, free: 6.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4428, allocations: 151.2 kB / 483 MB, free: 6.531 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4428, allocations: 2.5 kB / 483 MB, free: 6.531 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.4786, allocations: 18.69 MB / 0.4899 GB, free: 2.738 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.427, allocations: 15.31 kB / 0.4899 GB, free: 2.727 MB / 426.7 MB " [Timeout remaining time 651] (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/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: 10.100185196846724]