Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 186.2 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.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.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.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.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 71.88 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4851, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2471/0.7323, allocations: 177.9 MB / 0.7226 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.7441, allocations: 6.563 MB / 0.729 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.7454, allocations: 27.75 kB / 0.729 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.7471, allocations: 449.5 kB / 0.7295 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005983/0.7531, allocations: 1.8 MB / 0.7312 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004977/0.7581, allocations: 1.565 MB / 0.7327 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003994/0.7621, allocations: 2.255 MB / 0.7349 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4427/1.205, allocations: 0.5884 MB / 0.7355 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/1.209, allocations: 1.796 MB / 0.7373 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003966/1.213, allocations: 1.658 MB / 0.7389 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007454/1.214, allocations: 100.9 kB / 0.739 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006367/1.22, allocations: 1.401 MB / 0.7404 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001213/1.222, allocations: 0.6933 MB / 0.741 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002222/1.224, allocations: 0.7597 MB / 0.7418 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004444/1.228, allocations: 2.631 MB / 0.7443 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.228, allocations: 0 / 0.7443 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/1.228, allocations: 0 / 0.7443 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.779e-05/1.228, allocations: 1.031 kB / 0.7443 GB, free: 3.656 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.003665/1.232, allocations: 1.667 MB / 0.746 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.232, allocations: 13.75 kB / 0.746 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/1.234, allocations: 322.3 kB / 0.7463 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/1.235, allocations: 0.712 MB / 0.747 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.235, allocations: 139.1 kB / 0.7471 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/1.235, allocations: 112.6 kB / 0.7472 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/1.238, allocations: 1.839 MB / 0.749 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.238, allocations: 8.641 kB / 0.749 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.238, allocations: 41.34 kB / 0.7491 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/1.238, allocations: 97.12 kB / 0.7492 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/1.24, allocations: 1.702 MB / 0.7508 GB, free: 18.36 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.009147/1.249, allocations: 6.602 MB / 0.7573 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.25, allocations: 0.8523 MB / 0.7581 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/1.251, allocations: 438.9 kB / 0.7585 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.883e-05/1.251, allocations: 29.23 kB / 0.7585 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/1.251, allocations: 47.28 kB / 0.7586 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/1.251, allocations: 2.812 kB / 0.7586 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01011/1.261, allocations: 4.062 MB / 0.7626 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/1.261, allocations: 110.5 kB / 0.7627 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/1.263, allocations: 1.107 MB / 0.7637 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/1.263, allocations: 45.7 kB / 0.7638 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/1.263, allocations: 0.5246 MB / 0.7643 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/1.263, allocations: 287.6 kB / 0.7646 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/1.263, allocations: 210.2 kB / 0.7648 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.264, allocations: 349.3 kB / 0.7651 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/1.264, allocations: 0.5848 MB / 0.7657 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009138/1.265, allocations: 0.8706 MB / 0.7665 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/1.267, allocations: 1.451 MB / 0.768 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.267, allocations: 3.875 kB / 0.768 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002929/1.27, allocations: 1.975 MB / 0.7699 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.27, allocations: 14.34 kB / 0.7699 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.27, allocations: 9.094 kB / 0.7699 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004484/1.275, allocations: 1.359 MB / 0.7712 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/1.275, allocations: 144.2 kB / 0.7714 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/1.278, allocations: 1.92 MB / 0.7732 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.279, allocations: 47.22 kB / 0.7733 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/1.279, allocations: 64.77 kB / 0.7734 GB, free: 12.05 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.0007222/1.28, allocations: 407.6 kB / 0.7737 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/1.28, allocations: 120.1 kB / 0.7739 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/1.282, allocations: 1.49 MB / 0.7753 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.282, allocations: 5.812 kB / 0.7753 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.282, allocations: 8.766 kB / 0.7753 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.282, allocations: 5.672 kB / 0.7753 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/1.286, allocations: 2.651 MB / 0.7779 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.287, allocations: 0.9375 kB / 0.7779 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.288, allocations: 327.6 kB / 0.7782 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/1.288, allocations: 70.55 kB / 0.7783 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/1.289, allocations: 35.98 kB / 0.7783 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/1.291, allocations: 2.829 MB / 0.7811 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.291, allocations: 3.938 kB / 0.7811 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/1.295, allocations: 1.906 MB / 0.783 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/1.295, allocations: 259.5 kB / 0.7832 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/1.296, allocations: 33.61 kB / 0.7832 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/1.296, allocations: 50.67 kB / 0.7833 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.297, allocations: 59.31 kB / 0.7833 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.297, allocations: 71.22 kB / 0.7834 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001099/1.298, allocations: 0.7949 MB / 0.7842 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.298, allocations: 0 / 0.7842 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001634/1.3, allocations: 486.3 kB / 0.7847 GB, free: 8.52 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.001978/1.301, allocations: 0.6779 MB / 0.7853 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002878/1.304, allocations: 1.419 MB / 0.7867 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.304, allocations: 4.25 kB / 0.7867 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/1.306, allocations: 0.8389 MB / 0.7875 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/1.31, allocations: 0.7596 MB / 0.7883 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/1.315, allocations: 2.957 MB / 0.7912 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009214/1.316, allocations: 1.179 MB / 0.7923 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001623/1.317, allocations: 487.5 kB / 0.7928 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/1.318, allocations: 109.2 kB / 0.7929 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/1.318, allocations: 6.719 kB / 0.7929 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.06971/1.388, allocations: 40.23 MB / 0.8322 GB, free: 1.836 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.086518933996558]