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.001454/0.001454, allocations: 106.9 kB / 21.96 MB, free: 4.703 MB / 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.001535/0.001535, allocations: 218 kB / 25.26 MB, free: 2.875 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.26/1.26, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 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="cs",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="cs",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.001744/0.001744, allocations: 51.92 kB / 348 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2302, allocations: 49.15 MB / 397.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1696/0.3998, allocations: 151.9 MB / 0.5362 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.4042, allocations: 3.498 MB / 0.5396 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.4044, allocations: 7.938 kB / 0.5396 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.405, allocations: 214.8 kB / 0.5398 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.4056, allocations: 370.1 kB / 0.5402 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.4069, allocations: 0.5607 MB / 0.5407 GB, free: 6.051 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.4081, allocations: 1.126 MB / 0.5418 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.4083, allocations: 72.89 kB / 0.5419 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.4106, allocations: 1.283 MB / 0.5431 GB, free: 3.562 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.411, allocations: 358.7 kB / 0.5435 GB, free: 3.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.4111, allocations: 44 kB / 0.5435 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00079/0.4119, allocations: 427 kB / 0.5439 GB, free: 2.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.4121, allocations: 239.4 kB / 0.5442 GB, free: 2.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.4124, allocations: 275.1 kB / 0.5444 GB, free: 2.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.4136, allocations: 1.087 MB / 0.5455 GB, free: 1.156 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4136, allocations: 4 kB / 0.5455 GB, free: 1.152 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4136, allocations: 0 / 0.5455 GB, free: 1.152 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4136, allocations: 3.938 kB / 0.5455 GB, free: 1.148 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.001244/0.4149, allocations: 0.7387 MB / 0.5462 GB, free: 388 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4149, allocations: 11.98 kB / 0.5462 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.4149, allocations: 9 kB / 0.5462 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.415, allocations: 86.52 kB / 0.5463 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.4157, allocations: 123.6 kB / 0.5464 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.4162, allocations: 319.5 kB / 0.5467 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.4162, allocations: 25 kB / 0.5468 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.4163, allocations: 39.94 kB / 0.5468 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.4175, allocations: 1.172 MB / 0.5479 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4175, allocations: 4 kB / 0.5479 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.4176, allocations: 20 kB / 0.548 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4176, allocations: 8 kB / 0.548 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.4182, allocations: 450.3 kB / 0.5484 GB, free: 13.93 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.003167/0.4214, allocations: 1.529 MB / 0.5499 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.4216, allocations: 146.5 kB / 0.55 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4218, allocations: 72.83 kB / 0.5501 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4218, allocations: 11.92 kB / 0.5501 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.4218, allocations: 34.56 kB / 0.5501 GB, free: 12.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.4218, allocations: 0 / 0.5501 GB, free: 12.07 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.005815/0.4277, allocations: 1.454 MB / 0.5516 GB, free: 10.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.4277, allocations: 59.39 kB / 0.5516 GB, free: 10.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.4282, allocations: 485.7 kB / 0.5521 GB, free: 9.973 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.4282, allocations: 25.7 kB / 0.5521 GB, free: 9.941 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4285, allocations: 331.3 kB / 0.5524 GB, free: 9.613 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.4285, allocations: 99.2 kB / 0.5525 GB, free: 9.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.4287, allocations: 122.2 kB / 0.5526 GB, free: 9.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4289, allocations: 354.8 kB / 0.553 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.4291, allocations: 137.2 kB / 0.5531 GB, free: 8.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.4295, allocations: 440.5 kB / 0.5535 GB, free: 8.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.4302, allocations: 0.6051 MB / 0.5541 GB, free: 7.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4302, allocations: 4 kB / 0.5541 GB, free: 7.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009772/0.4312, allocations: 0.632 MB / 0.5547 GB, free: 6.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4312, allocations: 16.19 kB / 0.5547 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.4312, allocations: 12 kB / 0.5548 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.4314, allocations: 57.69 kB / 0.5548 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.4319, allocations: 139.8 kB / 0.5549 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.4334, allocations: 1.832 MB / 0.5567 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.4337, allocations: 23.98 kB / 0.5568 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.4337, allocations: 40 kB / 0.5568 GB, free: 4.664 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.0002217/0.434, allocations: 213.5 kB / 0.557 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.4341, allocations: 47.72 kB / 0.557 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.4346, allocations: 295 kB / 0.5573 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4346, allocations: 4 kB / 0.5573 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.4346, allocations: 0 / 0.5573 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005076/0.4351, allocations: 0.5315 MB / 0.5579 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.436, allocations: 0.6354 MB / 0.5585 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.436, allocations: 0 / 0.5585 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.4363, allocations: 55.97 kB / 0.5585 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-05/0.4363, allocations: 16.84 kB / 0.5585 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.4363, allocations: 11.98 kB / 0.5586 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009021/0.4372, allocations: 1.279 MB / 0.5598 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4372, allocations: 0 / 0.5598 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.4378, allocations: 436.1 kB / 0.5602 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.4379, allocations: 47.67 kB / 0.5603 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.4379, allocations: 4 kB / 0.5603 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.4382, allocations: 8 kB / 0.5603 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.4382, allocations: 15.97 kB / 0.5603 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.4383, allocations: 15.98 kB / 0.5603 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003465/0.4386, allocations: 327.1 kB / 0.5606 GB, free: 464 kB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4386, allocations: 0 / 0.5606 GB, free: 464 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006966/0.4393, allocations: 211.7 kB / 0.5608 GB, free: 252 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.1459/0.5852, allocations: 1.304 MB / 0.5621 GB, free: 163.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007351/0.5859, allocations: 446.3 kB / 0.5625 GB, free: 163.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5859, allocations: 4.844 kB / 0.5625 GB, free: 163.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.5861, allocations: 198.7 kB / 0.5627 GB, free: 163 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5872, allocations: 213.2 kB / 0.5629 GB, free: 163 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.5914, allocations: 4.582 MB / 0.5674 GB, free: 160.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.5916, allocations: 224.3 kB / 0.5676 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000394/0.592, allocations: 139.1 kB / 0.5677 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.5922, allocations: 148.6 kB / 0.5679 GB, free: 159.9 MB / 478.1 MB Notification: Performance of SimCode: time 3e-07/0.5922, allocations: 0 / 0.5679 GB, free: 159.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0411/0.6333, allocations: 18.39 MB / 0.5858 GB, free: 150.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.39, allocations: 19.89 kB / 0.5859 GB, free: 150.5 MB / 478.1 MB " [Timeout remaining time 645] (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.943461782997474]