Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.001419, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2458/0.2458, allocations: 46.91 MB / 360.8 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 83.84 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3719, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5814/0.9533, allocations: 180.8 MB / 0.7373 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008495/0.9618, allocations: 6.551 MB / 0.7437 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.9625, allocations: 29.03 kB / 0.7438 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.9636, allocations: 445.7 kB / 0.7442 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.9673, allocations: 1.811 MB / 0.746 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.9707, allocations: 1.577 MB / 0.7475 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.973, allocations: 2.258 MB / 0.7497 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.9738, allocations: 0.5899 MB / 0.7503 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.9771, allocations: 1.845 MB / 0.7521 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.9796, allocations: 1.69 MB / 0.7537 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.9798, allocations: 99.19 kB / 0.7538 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.9823, allocations: 1.407 MB / 0.7552 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005827/0.9829, allocations: 0.6955 MB / 0.7559 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009218/0.9839, allocations: 0.7558 MB / 0.7566 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.9871, allocations: 2.623 MB / 0.7592 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9871, allocations: 0 / 0.7592 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9871, allocations: 0 / 0.7592 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.9872, allocations: 0.875 kB / 0.7592 GB, free: 1.438 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003488/0.9907, allocations: 1.677 MB / 0.7608 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9907, allocations: 10.5 kB / 0.7608 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.9909, allocations: 175 kB / 0.761 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.9923, allocations: 318.1 kB / 0.7613 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.9937, allocations: 0.7115 MB / 0.762 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.9939, allocations: 197.4 kB / 0.7622 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.994, allocations: 102.8 kB / 0.7623 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.9963, allocations: 1.839 MB / 0.7641 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.9964, allocations: 10.83 kB / 0.7641 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.9965, allocations: 45.12 kB / 0.7641 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.854e-05/0.9966, allocations: 99.2 kB / 0.7642 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.9988, allocations: 1.692 MB / 0.7659 GB, free: 16.03 MB / 0.5762 GB 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.009335/1.008, allocations: 6.585 MB / 0.7723 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.009, allocations: 0.8438 MB / 0.7731 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/1.01, allocations: 431 kB / 0.7735 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/1.01, allocations: 33.78 kB / 0.7736 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/1.01, allocations: 49.69 kB / 0.7736 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/1.01, allocations: 0.875 kB / 0.7736 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01036/1.02, allocations: 4.05 MB / 0.7776 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/1.02, allocations: 114.4 kB / 0.7777 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/1.022, allocations: 1.104 MB / 0.7788 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/1.022, allocations: 46.55 kB / 0.7788 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/1.022, allocations: 0.5361 MB / 0.7793 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.023, allocations: 268 kB / 0.7796 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/1.023, allocations: 213.4 kB / 0.7798 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.023, allocations: 346.9 kB / 0.7801 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/1.024, allocations: 0.5852 MB / 0.7807 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.025, allocations: 0.8696 MB / 0.7815 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/1.027, allocations: 1.446 MB / 0.783 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.027, allocations: 2.875 kB / 0.783 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003276/1.03, allocations: 1.987 MB / 0.7849 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.03, allocations: 7.938 kB / 0.7849 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.03, allocations: 8.594 kB / 0.7849 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004682/1.035, allocations: 1.353 MB / 0.7862 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/1.036, allocations: 144.3 kB / 0.7864 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/1.038, allocations: 1.925 MB / 0.7883 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.04, allocations: 47.06 kB / 0.7883 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.04, allocations: 71.48 kB / 0.7884 GB, free: 9.691 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0008205/1.041, allocations: 405 kB / 0.7888 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.041, allocations: 112.8 kB / 0.7889 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/1.043, allocations: 1.498 MB / 0.7903 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.043, allocations: 9.125 kB / 0.7903 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.043, allocations: 2.906 kB / 0.7903 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.043, allocations: 6.297 kB / 0.7903 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/1.048, allocations: 2.659 MB / 0.7929 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.048, allocations: 0 / 0.7929 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/1.049, allocations: 325 kB / 0.7933 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/1.049, allocations: 70.36 kB / 0.7933 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/1.05, allocations: 36.44 kB / 0.7934 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/1.052, allocations: 2.83 MB / 0.7961 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.052, allocations: 5.031 kB / 0.7961 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/1.055, allocations: 1.907 MB / 0.798 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008771/1.056, allocations: 263.1 kB / 0.7982 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/1.056, allocations: 32.69 kB / 0.7983 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008545/1.057, allocations: 48.38 kB / 0.7983 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.057, allocations: 72.11 kB / 0.7984 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.057, allocations: 61.48 kB / 0.7984 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009796/1.058, allocations: 0.7942 MB / 0.7992 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.058, allocations: 1.875 kB / 0.7992 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001401/1.059, allocations: 486.8 kB / 0.7997 GB, free: 5.977 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.004863/1.064, allocations: 3.098 MB / 0.8027 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002791/1.067, allocations: 1.42 MB / 0.8041 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.067, allocations: 6.797 kB / 0.8041 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/1.069, allocations: 0.8382 MB / 0.8049 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/1.072, allocations: 0.7585 MB / 0.8057 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.093, allocations: 12.93 MB / 0.8183 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.094, allocations: 1.183 MB / 0.8194 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001737/1.096, allocations: 485.5 kB / 0.8199 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009266/1.097, allocations: 451.2 kB / 0.8203 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of SimCode: time 1.543e-06/1.097, allocations: 0 / 0.8203 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.213, allocations: 51.79 MB / 0.8709 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.89, allocations: 11.86 kB / 0.8709 GB, free: 14.72 MB / 0.6544 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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: 21.386943815043196]