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.001221/0.001221, allocations: 121.4 kB / 19.17 MB, free: 3.898 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.001348/0.001348, allocations: 207.3 kB / 22.12 MB, free: 0.9609 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.284/1.284, allocations: 207.6 MB / 232.5 MB, free: 3.945 MB / 174.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.00163/0.00163, allocations: 56.56 kB / 343 MB, free: 9.965 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.0819, allocations: 49.13 MB / 392.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3482/0.4301, allocations: 176.2 MB / 0.555 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.4351, allocations: 3.858 MB / 0.5588 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.4353, allocations: 7.938 kB / 0.5588 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.436, allocations: 246.7 kB / 0.559 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.4366, allocations: 354.1 kB / 0.5594 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.438, allocations: 0.5538 MB / 0.5599 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.4392, allocations: 1.114 MB / 0.561 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.4394, allocations: 76.69 kB / 0.5611 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.442, allocations: 1.271 MB / 0.5623 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.4424, allocations: 350.8 kB / 0.5627 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.663e-05/0.4425, allocations: 44 kB / 0.5627 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.4434, allocations: 478.9 kB / 0.5632 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.4437, allocations: 239.3 kB / 0.5634 GB, free: 9.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.4441, allocations: 314.9 kB / 0.5637 GB, free: 9.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.4453, allocations: 1.083 MB / 0.5647 GB, free: 8.445 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4453, allocations: 0 / 0.5647 GB, free: 8.445 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4453, allocations: 0 / 0.5647 GB, free: 8.445 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.4454, allocations: 0 / 0.5647 GB, free: 8.445 MB / 446.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.001433/0.4468, allocations: 0.8179 MB / 0.5655 GB, free: 7.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4468, allocations: 15.89 kB / 0.5656 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.337e-05/0.4469, allocations: 9 kB / 0.5656 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.447, allocations: 82.52 kB / 0.5657 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.4476, allocations: 123.6 kB / 0.5658 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.4481, allocations: 385.2 kB / 0.5661 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.4481, allocations: 29 kB / 0.5662 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.4482, allocations: 36 kB / 0.5662 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.4492, allocations: 0.5615 MB / 0.5667 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.4492, allocations: 3.938 kB / 0.5667 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.4493, allocations: 23.98 kB / 0.5668 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4493, allocations: 12 kB / 0.5668 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.4499, allocations: 438.4 kB / 0.5672 GB, free: 5.812 MB / 446.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.003619/0.4536, allocations: 2.126 MB / 0.5693 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.4538, allocations: 138.6 kB / 0.5694 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.4539, allocations: 77.08 kB / 0.5695 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.454, allocations: 11.97 kB / 0.5695 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.454, allocations: 34.56 kB / 0.5695 GB, free: 3.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.454, allocations: 4 kB / 0.5695 GB, free: 3.234 MB / 446.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.006323/0.4603, allocations: 1.757 MB / 0.5712 GB, free: 1.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.4604, allocations: 55.41 kB / 0.5713 GB, free: 1.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.4609, allocations: 481.7 kB / 0.5718 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.461, allocations: 33.69 kB / 0.5718 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.4612, allocations: 327.3 kB / 0.5721 GB, free: 424 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/0.4613, allocations: 95.25 kB / 0.5722 GB, free: 328 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.4614, allocations: 122.2 kB / 0.5723 GB, free: 200 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4616, allocations: 354.8 kB / 0.5727 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4619, allocations: 137.2 kB / 0.5728 GB, free: 15.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.4624, allocations: 436.5 kB / 0.5732 GB, free: 15.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.4631, allocations: 0.6013 MB / 0.5738 GB, free: 14.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4631, allocations: 13.06 kB / 0.5738 GB, free: 14.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009841/0.4641, allocations: 0.6361 MB / 0.5744 GB, free: 13.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4641, allocations: 11.98 kB / 0.5744 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4641, allocations: 12 kB / 0.5744 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.4643, allocations: 57.64 kB / 0.5745 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.4648, allocations: 136.3 kB / 0.5746 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.4665, allocations: 1.95 MB / 0.5765 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.4669, allocations: 24 kB / 0.5766 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.4669, allocations: 36 kB / 0.5766 GB, free: 11.33 MB / 462.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.0002384/0.4671, allocations: 217.4 kB / 0.5768 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.4672, allocations: 47.88 kB / 0.5768 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.4678, allocations: 282.9 kB / 0.5771 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4678, allocations: 11.92 kB / 0.5771 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4678, allocations: 0 / 0.5771 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005332/0.4683, allocations: 0.5238 MB / 0.5776 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4694, allocations: 0.6986 MB / 0.5783 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4694, allocations: 0 / 0.5783 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.4696, allocations: 51.91 kB / 0.5784 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-05/0.4697, allocations: 24.84 kB / 0.5784 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.4697, allocations: 8 kB / 0.5784 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4708, allocations: 1.379 MB / 0.5797 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4708, allocations: 3.938 kB / 0.5797 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.4714, allocations: 419.9 kB / 0.5801 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4715, allocations: 120.8 kB / 0.5803 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.4716, allocations: 11.94 kB / 0.5803 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.4718, allocations: 8.156 kB / 0.5803 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.4719, allocations: 23.91 kB / 0.5803 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.4719, allocations: 15.98 kB / 0.5803 GB, free: 7.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004287/0.4723, allocations: 323.1 kB / 0.5806 GB, free: 6.844 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4723, allocations: 0 / 0.5806 GB, free: 6.844 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008145/0.4731, allocations: 219.7 kB / 0.5808 GB, free: 6.629 MB / 462.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.002061/0.4752, allocations: 1.322 MB / 0.5821 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008431/0.476, allocations: 448.6 kB / 0.5826 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4761, allocations: 4.875 kB / 0.5826 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.4763, allocations: 210.4 kB / 0.5828 GB, free: 4.605 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4774, allocations: 205.1 kB / 0.583 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/0.4835, allocations: 4.582 MB / 0.5874 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.4841, allocations: 0.8351 MB / 0.5882 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004527/0.4845, allocations: 132.6 kB / 0.5884 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.4847, allocations: 147.4 kB / 0.5885 GB, free: 14.3 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4847, allocations: 0 / 0.5885 GB, free: 14.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.5293, allocations: 17.47 MB / 0.6056 GB, free: 12.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.35, allocations: 15.8 kB / 0.6056 GB, free: 12.72 MB / 494.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: 15.90750826196745]