Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.0009464/0.0009464, allocations: 80.45 kB / 20.69 MB, free: 3.852 MB / 18.57 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.000776/0.000776, allocations: 173.2 kB / 23.96 MB, free: 0.5742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9218/0.9218, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.142/0.142, allocations: 32.37 MB / 270.3 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 408.1 MB, free: 1.715 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.48e-05, allocations: 2.281 kB / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3374/0.3374, allocations: 158.8 MB / 0.5536 GB, free: 5.352 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006195/0.3436, allocations: 6.389 MB / 0.5598 GB, free: 1.098 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.3447, allocations: 26.53 kB / 0.5599 GB, free: 1.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3457, allocations: 400.9 kB / 0.5602 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.3498, allocations: 2.097 MB / 0.5623 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.3537, allocations: 1.753 MB / 0.564 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.3561, allocations: 2.149 MB / 0.5661 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.3568, allocations: 485.1 kB / 0.5666 GB, free: 12.85 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.3601, allocations: 2.173 MB / 0.5687 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.362, allocations: 1.471 MB / 0.5701 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3621, allocations: 76.94 kB / 0.5702 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.3644, allocations: 1.371 MB / 0.5715 GB, free: 10.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.3647, allocations: 482.3 kB / 0.572 GB, free: 9.719 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.3651, allocations: 411.6 kB / 0.5724 GB, free: 9.535 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.3681, allocations: 2.359 MB / 0.5747 GB, free: 8.078 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3681, allocations: 4 kB / 0.5747 GB, free: 8.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3681, allocations: 0 / 0.5747 GB, free: 8.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.3681, allocations: 4 kB / 0.5747 GB, free: 8.07 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002283/0.3704, allocations: 1.354 MB / 0.576 GB, free: 7.098 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3704, allocations: 8.438 kB / 0.576 GB, free: 7.098 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007817/0.3712, allocations: 288.4 kB / 0.5763 GB, free: 6.914 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.372, allocations: 0.5829 MB / 0.5769 GB, free: 6.301 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.3721, allocations: 160.1 kB / 0.577 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.3722, allocations: 71.97 kB / 0.5771 GB, free: 6.051 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.3737, allocations: 1.991 MB / 0.579 GB, free: 3.809 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3737, allocations: 3.984 kB / 0.579 GB, free: 3.805 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.3738, allocations: 32 kB / 0.5791 GB, free: 3.773 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/0.3738, allocations: 92.27 kB / 0.5792 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.3749, allocations: 1.046 MB / 0.5802 GB, free: 2.645 MB / 458.7 MB 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.004455/0.3793, allocations: 3.899 MB / 0.584 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.3797, allocations: 292.1 kB / 0.5843 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.3799, allocations: 144.6 kB / 0.5844 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.38, allocations: 57.94 kB / 0.5845 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.3801, allocations: 42.5 kB / 0.5845 GB, free: 14.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.886e-06/0.3801, allocations: 0 / 0.5845 GB, free: 14.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=33): time 0.004447/0.3845, allocations: 1.748 MB / 0.5862 GB, free: 12.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.3846, allocations: 136.5 kB / 0.5863 GB, free: 12.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.3853, allocations: 0.8321 MB / 0.5871 GB, free: 11.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3854, allocations: 37.7 kB / 0.5872 GB, free: 11.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.3857, allocations: 0.596 MB / 0.5878 GB, free: 10.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.402e-05/0.3858, allocations: 136 kB / 0.5879 GB, free: 10.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.386, allocations: 214.8 kB / 0.5881 GB, free: 10.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3861, allocations: 386.8 kB / 0.5885 GB, free: 9.906 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.3864, allocations: 274.5 kB / 0.5887 GB, free: 9.637 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009731/0.3873, allocations: 0.9431 MB / 0.5897 GB, free: 8.391 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.3882, allocations: 1.173 MB / 0.5908 GB, free: 6.941 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3882, allocations: 4 kB / 0.5908 GB, free: 6.938 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001272/0.3894, allocations: 1.228 MB / 0.592 GB, free: 5.699 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3895, allocations: 12 kB / 0.592 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.3895, allocations: 20 kB / 0.592 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000779/0.3903, allocations: 290.2 kB / 0.5923 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.3906, allocations: 205.5 kB / 0.5925 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007564/0.3914, allocations: 0.9164 MB / 0.5934 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.3918, allocations: 40 kB / 0.5934 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.3919, allocations: 71.94 kB / 0.5935 GB, free: 4.133 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003828/0.3923, allocations: 337.3 kB / 0.5938 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.3924, allocations: 87.48 kB / 0.5939 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.393, allocations: 481.3 kB / 0.5944 GB, free: 3.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.393, allocations: 5.312 kB / 0.5944 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.393, allocations: 0 / 0.5944 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.393, allocations: 3.984 kB / 0.5944 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3942, allocations: 0.9685 MB / 0.5953 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3942, allocations: 0 / 0.5953 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.3947, allocations: 183.8 kB / 0.5955 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.93e-05/0.3948, allocations: 20.84 kB / 0.5955 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.3948, allocations: 8 kB / 0.5955 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.3972, allocations: 2.624 MB / 0.5981 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3972, allocations: 8.016 kB / 0.5981 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.3979, allocations: 0.6896 MB / 0.5988 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.3981, allocations: 115.5 kB / 0.5989 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.3981, allocations: 4 kB / 0.5989 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3984, allocations: 19.98 kB / 0.5989 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.3984, allocations: 23.95 kB / 0.5989 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3984, allocations: 19.98 kB / 0.5989 GB, free: 14.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004739/0.3989, allocations: 0.5263 MB / 0.5995 GB, free: 13.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3989, allocations: 0 / 0.5995 GB, free: 13.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00124/0.4002, allocations: 431.2 kB / 0.5999 GB, free: 13.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.001387/0.4015, allocations: 0.7903 MB / 0.6006 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009086/0.4025, allocations: 0.6511 MB / 0.6013 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4025, allocations: 2.438 kB / 0.6013 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.403, allocations: 358.7 kB / 0.6016 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.4038, allocations: 324.8 kB / 0.6019 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.4059, allocations: 1.58 MB / 0.6035 GB, free: 9.617 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4062, allocations: 425.5 kB / 0.6039 GB, free: 9.176 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.4063, allocations: 84.48 kB / 0.604 GB, free: 9.094 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4063, allocations: 0 / 0.604 GB, free: 9.094 MB / 490.7 MB Notification: Performance of Templates: time 0.02185/0.4281, allocations: 22.8 MB / 0.6262 GB, free: 2.316 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.063941043801606]