Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001028/0.001028, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001106/0.001106, allocations: 167.5 kB / 24.99 MB, free: 8.355 MB / 18.57 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 0.9941/0.9941, allocations: 177.1 MB / 205.3 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] 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.2707/0.2707, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.012e-05, allocations: 6.25 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3527/0.3527, allocations: 173.9 MB / 0.539 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007492/0.3602, allocations: 6.644 MB / 0.5455 GB, free: 11.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.3608, allocations: 31.66 kB / 0.5456 GB, free: 11.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.3618, allocations: 388.6 kB / 0.5459 GB, free: 10.88 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.365, allocations: 1.831 MB / 0.5477 GB, free: 9.914 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.3676, allocations: 1.543 MB / 0.5492 GB, free: 8.855 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.3697, allocations: 2.152 MB / 0.5513 GB, free: 7.629 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007374/0.3704, allocations: 0.5121 MB / 0.5518 GB, free: 7.262 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003279/0.3737, allocations: 2.051 MB / 0.5538 GB, free: 6.023 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.3758, allocations: 1.496 MB / 0.5553 GB, free: 4.992 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.376, allocations: 76 kB / 0.5554 GB, free: 4.918 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.3782, allocations: 1.155 MB / 0.5565 GB, free: 3.762 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.3787, allocations: 490.8 kB / 0.557 GB, free: 3.277 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007717/0.3794, allocations: 415.2 kB / 0.5574 GB, free: 2.871 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.3821, allocations: 1.761 MB / 0.5591 GB, free: 1.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3821, allocations: 0 / 0.5591 GB, free: 1.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3821, allocations: 0 / 0.5591 GB, free: 1.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.193e-05/0.3822, allocations: 0 / 0.5591 GB, free: 1.105 MB / 426.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.002388/0.3846, allocations: 1.511 MB / 0.5605 GB, free: 15.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3846, allocations: 12.03 kB / 0.5606 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3857, allocations: 410.6 kB / 0.561 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000829/0.3865, allocations: 0.578 MB / 0.5615 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.3866, allocations: 160.1 kB / 0.5617 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.3867, allocations: 87.86 kB / 0.5618 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.3879, allocations: 1.567 MB / 0.5633 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.388, allocations: 0 / 0.5633 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.388, allocations: 40 kB / 0.5633 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.51e-05/0.3881, allocations: 79.77 kB / 0.5634 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.3888, allocations: 419.3 kB / 0.5638 GB, free: 11.9 MB / 442.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.00429/0.3931, allocations: 4.344 MB / 0.568 GB, free: 7.426 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.3934, allocations: 184.6 kB / 0.5682 GB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3935, allocations: 71.59 kB / 0.5683 GB, free: 7.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.3935, allocations: 23.98 kB / 0.5683 GB, free: 7.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3936, allocations: 48.58 kB / 0.5684 GB, free: 7.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.3936, allocations: 0 / 0.5684 GB, free: 7.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.003625/0.3972, allocations: 1.405 MB / 0.5697 GB, free: 5.613 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3973, allocations: 140.4 kB / 0.5699 GB, free: 5.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.3979, allocations: 0.8112 MB / 0.5707 GB, free: 4.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3979, allocations: 37.7 kB / 0.5707 GB, free: 4.574 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.3984, allocations: 0.6495 MB / 0.5713 GB, free: 3.914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.3985, allocations: 134.9 kB / 0.5715 GB, free: 3.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.3987, allocations: 236.4 kB / 0.5717 GB, free: 3.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3989, allocations: 0.5742 MB / 0.5722 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.3991, allocations: 114.5 kB / 0.5723 GB, free: 2.848 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/0.3996, allocations: 1.048 MB / 0.5734 GB, free: 1.387 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000806/0.4004, allocations: 1.142 MB / 0.5745 GB, free: 15.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4005, allocations: 12 kB / 0.5745 GB, free: 15.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001067/0.4015, allocations: 0.9298 MB / 0.5754 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4015, allocations: 12 kB / 0.5754 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.4016, allocations: 20.91 kB / 0.5754 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006699/0.4022, allocations: 245.2 kB / 0.5757 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.4026, allocations: 207.6 kB / 0.5759 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006377/0.4032, allocations: 0.9911 MB / 0.5768 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.4036, allocations: 47.98 kB / 0.5769 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.4037, allocations: 68 kB / 0.5769 GB, free: 13.3 MB / 458.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.0002194/0.4039, allocations: 240.1 kB / 0.5772 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.404, allocations: 95.48 kB / 0.5773 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/0.4048, allocations: 395.4 kB / 0.5776 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4048, allocations: 4 kB / 0.5776 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4048, allocations: 0 / 0.5776 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4048, allocations: 3.984 kB / 0.5777 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009994/0.4058, allocations: 0.8951 MB / 0.5785 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4058, allocations: 0 / 0.5785 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.4063, allocations: 175.8 kB / 0.5787 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.897e-05/0.4064, allocations: 23.67 kB / 0.5787 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.4064, allocations: 8.875 kB / 0.5787 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.4078, allocations: 3.558 MB / 0.5822 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4078, allocations: 0 / 0.5822 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.4083, allocations: 0.5166 MB / 0.5827 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.4085, allocations: 107.4 kB / 0.5828 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.4086, allocations: 8.188 kB / 0.5828 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.4088, allocations: 23.97 kB / 0.5828 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.4088, allocations: 23.95 kB / 0.5829 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.4088, allocations: 23.92 kB / 0.5829 GB, free: 6.887 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003688/0.4092, allocations: 450.9 kB / 0.5833 GB, free: 6.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4092, allocations: 0 / 0.5833 GB, free: 6.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001018/0.4102, allocations: 387.4 kB / 0.5837 GB, free: 6.07 MB / 458.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.001142/0.4114, allocations: 0.6349 MB / 0.5843 GB, free: 5.426 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4125, allocations: 0.4976 MB / 0.5848 GB, free: 4.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4125, allocations: 4 kB / 0.5848 GB, free: 4.926 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.413, allocations: 357.3 kB / 0.5851 GB, free: 4.555 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.4139, allocations: 361.4 kB / 0.5855 GB, free: 4.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4158, allocations: 1.365 MB / 0.5868 GB, free: 2.824 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.416, allocations: 207.2 kB / 0.587 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006148/0.4166, allocations: 348.3 kB / 0.5873 GB, free: 2.262 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.4167, allocations: 72.48 kB / 0.5874 GB, free: 2.191 MB / 458.7 MB Notification: Performance of SimCode: time 1.874e-06/0.4167, allocations: 4 kB / 0.5874 GB, free: 2.188 MB / 458.7 MB Notification: Performance of Templates: time 0.02325/0.44, allocations: 19.49 MB / 0.6064 GB, free: 15.02 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.196434333920479]