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.001438/0.001438, allocations: 106.2 kB / 19.81 MB, free: 2.516 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.001476/0.001476, allocations: 195.5 kB / 22.98 MB, free: 5.617 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.481/1.481, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2301/0.2301, allocations: 44.91 MB / 351.6 MB, free: 12.23 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.002546/0.002546, allocations: 59.91 kB / 495.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4589, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2537/0.7125, allocations: 177.9 MB / 0.7201 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.7239, allocations: 6.56 MB / 0.7265 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.725, allocations: 19.88 kB / 0.7266 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.7267, allocations: 449.5 kB / 0.727 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.7322, allocations: 1.772 MB / 0.7287 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.7367, allocations: 1.534 MB / 0.7302 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003665/0.7403, allocations: 2.235 MB / 0.7324 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.7418, allocations: 0.5976 MB / 0.733 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4441/1.186, allocations: 1.764 MB / 0.7347 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/1.19, allocations: 1.645 MB / 0.7363 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004313/1.19, allocations: 100.2 kB / 0.7364 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/1.194, allocations: 1.386 MB / 0.7378 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/1.195, allocations: 0.6974 MB / 0.7384 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/1.197, allocations: 0.7611 MB / 0.7392 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004715/1.201, allocations: 2.625 MB / 0.7417 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.201, allocations: 2.531 kB / 0.7417 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/1.201, allocations: 0 / 0.7417 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.489e-05/1.201, allocations: 2.203 kB / 0.7418 GB, free: 3.992 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.004491/1.206, allocations: 1.747 MB / 0.7435 GB, free: 19.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.206, allocations: 12.25 kB / 0.7435 GB, free: 19.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/1.207, allocations: 313.9 kB / 0.7438 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/1.209, allocations: 0.7795 MB / 0.7445 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/1.209, allocations: 140.7 kB / 0.7447 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/1.209, allocations: 102.3 kB / 0.7448 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/1.212, allocations: 1.846 MB / 0.7466 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/1.212, allocations: 2.625 kB / 0.7466 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/1.212, allocations: 44.41 kB / 0.7466 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/1.212, allocations: 102.9 kB / 0.7467 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/1.215, allocations: 1.693 MB / 0.7484 GB, free: 18.54 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.01131/1.226, allocations: 6.887 MB / 0.7551 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/1.227, allocations: 0.8613 MB / 0.7559 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/1.228, allocations: 437.2 kB / 0.7563 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/1.228, allocations: 101.5 kB / 0.7564 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.228, allocations: 49.89 kB / 0.7565 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.616e-06/1.228, allocations: 0 / 0.7565 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01194/1.24, allocations: 4.13 MB / 0.7605 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.24, allocations: 114.8 kB / 0.7606 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.242, allocations: 1.116 MB / 0.7617 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/1.242, allocations: 45.58 kB / 0.7618 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/1.242, allocations: 0.5284 MB / 0.7623 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.243, allocations: 281 kB / 0.7625 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/1.243, allocations: 208.9 kB / 0.7627 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.243, allocations: 349.4 kB / 0.7631 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000895/1.244, allocations: 0.5838 MB / 0.7637 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/1.245, allocations: 0.8727 MB / 0.7645 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/1.247, allocations: 1.446 MB / 0.7659 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.247, allocations: 2.906 kB / 0.7659 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003505/1.251, allocations: 1.976 MB / 0.7678 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.251, allocations: 15.69 kB / 0.7679 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/1.251, allocations: 9.375 kB / 0.7679 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/1.255, allocations: 1.351 MB / 0.7692 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/1.256, allocations: 146.3 kB / 0.7693 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/1.259, allocations: 1.918 MB / 0.7712 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.26, allocations: 46.55 kB / 0.7712 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.26, allocations: 69.8 kB / 0.7713 GB, free: 11.75 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.0008326/1.261, allocations: 402 kB / 0.7717 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/1.261, allocations: 117.9 kB / 0.7718 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/1.264, allocations: 1.492 MB / 0.7733 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/1.264, allocations: 5.656 kB / 0.7733 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.264, allocations: 10.06 kB / 0.7733 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.264, allocations: 6.547 kB / 0.7733 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/1.268, allocations: 2.687 MB / 0.7759 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.268, allocations: 1.094 kB / 0.7759 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.27, allocations: 324.1 kB / 0.7762 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/1.27, allocations: 70.48 kB / 0.7763 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/1.27, allocations: 39.14 kB / 0.7763 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/1.273, allocations: 3.029 MB / 0.7793 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.273, allocations: 3.938 kB / 0.7793 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/1.276, allocations: 1.907 MB / 0.7812 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008906/1.277, allocations: 333 kB / 0.7815 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/1.277, allocations: 34.39 kB / 0.7815 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.278, allocations: 48.06 kB / 0.7815 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/1.279, allocations: 62.64 kB / 0.7816 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/1.279, allocations: 61.33 kB / 0.7817 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001256/1.28, allocations: 0.796 MB / 0.7824 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.28, allocations: 0 / 0.7824 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002083/1.282, allocations: 483.9 kB / 0.7829 GB, free: 7.832 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.002403/1.284, allocations: 0.6896 MB / 0.7836 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003259/1.288, allocations: 1.427 MB / 0.785 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.288, allocations: 3.344 kB / 0.785 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/1.289, allocations: 0.8359 MB / 0.7858 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/1.293, allocations: 0.764 MB / 0.7865 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005938/1.299, allocations: 2.951 MB / 0.7894 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/1.301, allocations: 1.177 MB / 0.7906 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001886/1.303, allocations: 479.3 kB / 0.791 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/1.303, allocations: 115.3 kB / 0.7911 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/1.303, allocations: 0 / 0.7911 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.07156/1.375, allocations: 39.87 MB / 0.8301 GB, free: 1.977 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.13255279418081]