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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 195.3 kB / 23.52 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 252.1 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.92 MB / 352.1 MB, free: 12.3 MB / 286.1 MB [Timeout remaining time 89] 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.002002/0.002002, allocations: 63.91 kB / 495.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4522, allocations: 64.26 MB / 0.5468 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2445/0.6966, allocations: 177.7 MB / 0.7203 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.707, allocations: 6.528 MB / 0.7267 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009511/0.7079, allocations: 19.88 kB / 0.7267 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.7094, allocations: 445.5 kB / 0.7271 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005191/0.7145, allocations: 1.772 MB / 0.7289 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.7189, allocations: 1.526 MB / 0.7304 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003456/0.7223, allocations: 2.235 MB / 0.7325 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.7236, allocations: 0.6718 MB / 0.7332 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4508/1.174, allocations: 1.77 MB / 0.7349 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/1.179, allocations: 1.638 MB / 0.7365 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004926/1.179, allocations: 100.3 kB / 0.7366 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/1.183, allocations: 1.388 MB / 0.738 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/1.184, allocations: 0.6937 MB / 0.7386 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.185, allocations: 0.7625 MB / 0.7394 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/1.189, allocations: 2.632 MB / 0.742 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.189, allocations: 0.75 kB / 0.742 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/1.189, allocations: 0 / 0.742 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.94e-05/1.19, allocations: 0.9375 kB / 0.742 GB, free: 4.203 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.004067/1.194, allocations: 1.745 MB / 0.7437 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.194, allocations: 11.31 kB / 0.7437 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/1.195, allocations: 312.7 kB / 0.744 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.197, allocations: 0.7828 MB / 0.7447 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.197, allocations: 139.9 kB / 0.7449 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/1.197, allocations: 108.9 kB / 0.745 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/1.2, allocations: 1.838 MB / 0.7468 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.2, allocations: 7.016 kB / 0.7468 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/1.2, allocations: 47.56 kB / 0.7468 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-05/1.2, allocations: 98.53 kB / 0.7469 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/1.203, allocations: 1.697 MB / 0.7486 GB, free: 18.75 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.009845/1.212, allocations: 6.886 MB / 0.7553 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/1.214, allocations: 0.8557 MB / 0.7561 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/1.214, allocations: 434.6 kB / 0.7566 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/1.214, allocations: 108.4 kB / 0.7567 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/1.214, allocations: 44.06 kB / 0.7567 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/1.214, allocations: 0 / 0.7567 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01039/1.225, allocations: 4.127 MB / 0.7607 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/1.225, allocations: 110.7 kB / 0.7608 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/1.226, allocations: 1.116 MB / 0.7619 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/1.226, allocations: 41.98 kB / 0.762 GB, free: 14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/1.227, allocations: 0.532 MB / 0.7625 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/1.227, allocations: 280.8 kB / 0.7627 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/1.227, allocations: 213.7 kB / 0.763 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.227, allocations: 343.7 kB / 0.7633 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007953/1.228, allocations: 0.5865 MB / 0.7639 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.229, allocations: 0.8691 MB / 0.7647 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/1.231, allocations: 1.452 MB / 0.7661 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.231, allocations: 5.219 kB / 0.7661 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003013/1.234, allocations: 1.979 MB / 0.7681 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.234, allocations: 10.81 kB / 0.7681 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.234, allocations: 9.875 kB / 0.7681 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/1.238, allocations: 1.353 MB / 0.7694 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/1.239, allocations: 142.4 kB / 0.7695 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/1.242, allocations: 1.922 MB / 0.7714 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.243, allocations: 51.28 kB / 0.7715 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.243, allocations: 66.55 kB / 0.7715 GB, free: 11.95 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.0006782/1.243, allocations: 405.3 kB / 0.7719 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.244, allocations: 118.5 kB / 0.772 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/1.246, allocations: 1.491 MB / 0.7735 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.246, allocations: 8.469 kB / 0.7735 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.246, allocations: 8.953 kB / 0.7735 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.246, allocations: 3 kB / 0.7735 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/1.25, allocations: 2.684 MB / 0.7761 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.25, allocations: 0 / 0.7761 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.252, allocations: 324.5 kB / 0.7764 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/1.252, allocations: 73.5 kB / 0.7765 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-05/1.252, allocations: 36.52 kB / 0.7765 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/1.255, allocations: 3.024 MB / 0.7795 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.255, allocations: 7.125 kB / 0.7795 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/1.259, allocations: 1.905 MB / 0.7814 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.26, allocations: 333.4 kB / 0.7817 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/1.26, allocations: 34.95 kB / 0.7817 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.261, allocations: 52.03 kB / 0.7818 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.262, allocations: 64.27 kB / 0.7818 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.262, allocations: 65.61 kB / 0.7819 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001312/1.263, allocations: 0.7953 MB / 0.7827 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.263, allocations: 0 / 0.7827 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001858/1.265, allocations: 484.4 kB / 0.7831 GB, free: 8.031 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.00208/1.267, allocations: 0.6868 MB / 0.7838 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.27, allocations: 1.422 MB / 0.7852 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.27, allocations: 4.219 kB / 0.7852 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.271, allocations: 0.8306 MB / 0.786 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.275, allocations: 0.7661 MB / 0.7867 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/1.281, allocations: 3.012 MB / 0.7897 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/1.282, allocations: 1.178 MB / 0.7908 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/1.282, allocations: 119.3 kB / 0.7909 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.282, allocations: 1.094 kB / 0.7909 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of Templates: time 0.05756/1.34, allocations: 32.03 MB / 0.8222 GB, free: 10.37 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/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