Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.001896/0.001896, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002409/0.002409, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 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 1.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2316/0.2316, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|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.",fileNamePrefix="ModelicaTest_4.1.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.p|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.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 72.12 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3085, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2/0.5086, allocations: 156.4 MB / 0.7145 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009159/0.5177, allocations: 5.968 MB / 0.7204 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007116/0.5184, allocations: 27.75 kB / 0.7204 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5197, allocations: 397.7 kB / 0.7208 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.5241, allocations: 1.815 MB / 0.7225 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.528, allocations: 1.545 MB / 0.7241 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002875/0.5309, allocations: 2.258 MB / 0.7263 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.5319, allocations: 0.5941 MB / 0.7268 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.5358, allocations: 1.85 MB / 0.7286 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002929/0.5387, allocations: 1.671 MB / 0.7303 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.539, allocations: 96 kB / 0.7304 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.5416, allocations: 1.197 MB / 0.7315 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007751/0.5424, allocations: 0.6897 MB / 0.7322 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000901/0.5433, allocations: 0.65 MB / 0.7329 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.5469, allocations: 2.629 MB / 0.7354 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5469, allocations: 0 / 0.7354 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5469, allocations: 0 / 0.7354 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.872e-05/0.5469, allocations: 0 / 0.7354 GB, free: 1.805 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.004038/0.5509, allocations: 1.665 MB / 0.737 GB, free: 104 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.551, allocations: 15.97 kB / 0.7371 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2285/0.7795, allocations: 315.4 kB / 0.7374 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.7815, allocations: 0.7172 MB / 0.7381 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.7817, allocations: 190.2 kB / 0.7382 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.782, allocations: 107.5 kB / 0.7383 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.7851, allocations: 2.551 MB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.7851, allocations: 7.844 kB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.7853, allocations: 51.05 kB / 0.7409 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-05/0.7853, allocations: 93.28 kB / 0.741 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.7876, allocations: 1.696 MB / 0.7426 GB, free: 173 MB / 0.5606 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.007415/0.795, allocations: 4.792 MB / 0.7473 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.796, allocations: 0.8489 MB / 0.7481 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.7965, allocations: 431 kB / 0.7486 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.563e-05/0.7966, allocations: 36.19 kB / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.7967, allocations: 47.06 kB / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.434e-06/0.7967, allocations: 0 / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.009579/0.8062, allocations: 4.028 MB / 0.7526 GB, free: 163 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.8063, allocations: 111.5 kB / 0.7527 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.8069, allocations: 0.6947 MB / 0.7534 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.332e-05/0.807, allocations: 45.7 kB / 0.7534 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.8072, allocations: 0.5585 MB / 0.7539 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.8073, allocations: 281.3 kB / 0.7542 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.8076, allocations: 210.5 kB / 0.7544 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.8077, allocations: 386.8 kB / 0.7548 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/0.8085, allocations: 0.5797 MB / 0.7553 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.8093, allocations: 0.9239 MB / 0.7562 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.8108, allocations: 1.45 MB / 0.7577 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.8108, allocations: 4 kB / 0.7577 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002525/0.8133, allocations: 1.953 MB / 0.7596 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.8134, allocations: 8 kB / 0.7596 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8134, allocations: 8 kB / 0.7596 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004449/0.8178, allocations: 1.349 MB / 0.7609 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.8185, allocations: 139.8 kB / 0.761 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.8208, allocations: 1.93 MB / 0.7629 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/0.8217, allocations: 43.97 kB / 0.763 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.8218, allocations: 63.98 kB / 0.763 GB, free: 152 MB / 0.5606 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.00055/0.8223, allocations: 397.4 kB / 0.7634 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.8225, allocations: 87.72 kB / 0.7635 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.8247, allocations: 1.466 MB / 0.7649 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.8247, allocations: 7.922 kB / 0.7649 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.8247, allocations: 4.562 kB / 0.7649 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.8253, allocations: 223.3 kB / 0.7651 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.8255, allocations: 27.98 kB / 0.7652 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/0.8263, allocations: 51.55 kB / 0.7652 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.8264, allocations: 56.55 kB / 0.7653 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0028/0.8292, allocations: 1.477 MB / 0.7667 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002253/0.8315, allocations: 1.968 MB / 0.7686 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000622/0.8321, allocations: 0.5513 MB / 0.7692 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004591/0.8326, allocations: 0.4912 MB / 0.7697 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of Backend: time 4.21e-07/0.8326, allocations: 0 / 0.7697 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003784/0.8363, allocations: 1.66 MB / 0.7713 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003437/0.8398, allocations: 2.992 MB / 0.7742 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.03484/0.8746, allocations: 33.45 MB / 0.8069 GB, free: 107.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.9772690259997034]