Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.002038/0.002038, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001602/0.001602, allocations: 216.9 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2557/0.2557, allocations: 46.92 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 63.91 kB / 0.4967 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4505, allocations: 66.03 MB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.6667/1.117, allocations: 180.8 MB / 0.7377 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009577/1.127, allocations: 6.553 MB / 0.7441 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000897/1.128, allocations: 27.5 kB / 0.7442 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/1.129, allocations: 450.2 kB / 0.7446 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/1.133, allocations: 1.816 MB / 0.7464 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/1.137, allocations: 1.569 MB / 0.7479 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002716/1.14, allocations: 2.256 MB / 0.7501 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/1.141, allocations: 0.5929 MB / 0.7507 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/1.145, allocations: 1.838 MB / 0.7525 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/1.148, allocations: 1.696 MB / 0.7541 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002521/1.148, allocations: 102.5 kB / 0.7542 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.151, allocations: 1.404 MB / 0.7556 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006623/1.152, allocations: 0.6918 MB / 0.7563 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.153, allocations: 0.758 MB / 0.757 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/1.157, allocations: 2.625 MB / 0.7596 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.157, allocations: 3.125 kB / 0.7596 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/1.157, allocations: 0.8438 kB / 0.7596 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.43e-05/1.157, allocations: 0 / 0.7596 GB, free: 1.426 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.004092/1.161, allocations: 1.678 MB / 0.7612 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.161, allocations: 10.19 kB / 0.7612 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/1.162, allocations: 310.9 kB / 0.7615 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/1.164, allocations: 0.7129 MB / 0.7622 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/1.164, allocations: 197.6 kB / 0.7624 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/1.164, allocations: 103.2 kB / 0.7625 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.167, allocations: 1.836 MB / 0.7643 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/1.167, allocations: 12.73 kB / 0.7643 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/1.167, allocations: 50.78 kB / 0.7644 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.167, allocations: 95.47 kB / 0.7645 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/1.17, allocations: 1.691 MB / 0.7661 GB, free: 16.06 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.0112/1.181, allocations: 6.579 MB / 0.7725 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.182, allocations: 0.8495 MB / 0.7734 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/1.183, allocations: 435.1 kB / 0.7738 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/1.183, allocations: 24.98 kB / 0.7738 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/1.183, allocations: 46.95 kB / 0.7738 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.505e-06/1.183, allocations: 3.969 kB / 0.7739 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01085/1.194, allocations: 4.057 MB / 0.7778 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.194, allocations: 117.1 kB / 0.7779 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.195, allocations: 1.106 MB / 0.779 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/1.196, allocations: 47.55 kB / 0.779 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/1.196, allocations: 0.5309 MB / 0.7796 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.196, allocations: 276.5 kB / 0.7798 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/1.196, allocations: 210.3 kB / 0.78 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.197, allocations: 348.3 kB / 0.7804 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007883/1.197, allocations: 0.5825 MB / 0.7809 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/1.198, allocations: 0.8697 MB / 0.7818 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/1.2, allocations: 1.447 MB / 0.7832 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.2, allocations: 4.641 kB / 0.7832 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002937/1.203, allocations: 1.984 MB / 0.7851 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.203, allocations: 8.594 kB / 0.7851 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.203, allocations: 9.5 kB / 0.7852 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/1.208, allocations: 1.354 MB / 0.7865 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/1.209, allocations: 137.8 kB / 0.7866 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/1.211, allocations: 1.924 MB / 0.7885 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.213, allocations: 45.47 kB / 0.7885 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.213, allocations: 66.91 kB / 0.7886 GB, free: 9.727 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.0008021/1.214, allocations: 397.5 kB / 0.789 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/1.214, allocations: 115.7 kB / 0.7891 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/1.216, allocations: 1.502 MB / 0.7906 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.216, allocations: 11.94 kB / 0.7906 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.216, allocations: 1 kB / 0.7906 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.216, allocations: 4.922 kB / 0.7906 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/1.221, allocations: 2.657 MB / 0.7932 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.221, allocations: 2.109 kB / 0.7932 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.223, allocations: 325.8 kB / 0.7935 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/1.223, allocations: 68.69 kB / 0.7935 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.651e-05/1.223, allocations: 38.2 kB / 0.7936 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/1.226, allocations: 2.831 MB / 0.7963 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.226, allocations: 0 / 0.7963 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/1.229, allocations: 1.911 MB / 0.7982 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.23, allocations: 264.9 kB / 0.7985 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.23, allocations: 27.47 kB / 0.7985 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009115/1.231, allocations: 49.09 kB / 0.7985 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.231, allocations: 67.81 kB / 0.7986 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.231, allocations: 64.72 kB / 0.7987 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001085/1.232, allocations: 0.7973 MB / 0.7994 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.232, allocations: 0 / 0.7994 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001628/1.234, allocations: 485.5 kB / 0.7999 GB, free: 6.074 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.001847/1.236, allocations: 0.6609 MB / 0.8005 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002922/1.239, allocations: 1.416 MB / 0.8019 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.577e-06/1.239, allocations: 5.844 kB / 0.8019 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.241, allocations: 0.845 MB / 0.8028 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/1.244, allocations: 0.7636 MB / 0.8035 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/1.251, allocations: 2.956 MB / 0.8064 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.252, allocations: 1.174 MB / 0.8075 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002124/1.254, allocations: 480.6 kB / 0.808 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/1.254, allocations: 115.1 kB / 0.8081 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/1.254, allocations: 0 / 0.8081 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of Templates: time 0.07694/1.331, allocations: 40.24 MB / 0.8474 GB, free: 7.195 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 8.049371054163203]