Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001468/0.001468, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2359/0.2359, allocations: 46.89 MB / 361.1 MB, free: 4.617 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 83.84 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3266, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5393/0.8659, allocations: 180.8 MB / 0.7378 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008426/0.8743, allocations: 6.554 MB / 0.7442 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006841/0.875, allocations: 23.98 kB / 0.7442 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.8762, allocations: 440.7 kB / 0.7446 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.88, allocations: 1.794 MB / 0.7464 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.8833, allocations: 1.526 MB / 0.7479 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002283/0.8856, allocations: 2.248 MB / 0.7501 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008895/0.8864, allocations: 0.5942 MB / 0.7507 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.8898, allocations: 1.817 MB / 0.7524 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.8925, allocations: 1.686 MB / 0.7541 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.8928, allocations: 100.5 kB / 0.7542 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.8962, allocations: 1.396 MB / 0.7555 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007301/0.897, allocations: 0.6943 MB / 0.7562 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009849/0.898, allocations: 0.755 MB / 0.757 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.9013, allocations: 2.632 MB / 0.7595 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9013, allocations: 0 / 0.7595 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9013, allocations: 0.9688 kB / 0.7595 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.144e-05/0.9013, allocations: 0 / 0.7595 GB, free: 1.43 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.003566/0.9049, allocations: 1.746 MB / 0.7612 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.9049, allocations: 12.19 kB / 0.7612 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.9064, allocations: 312.8 kB / 0.7615 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.9078, allocations: 0.7765 MB / 0.7623 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.908, allocations: 139.7 kB / 0.7624 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.9081, allocations: 106.3 kB / 0.7625 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.9105, allocations: 1.843 MB / 0.7643 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.9105, allocations: 9.172 kB / 0.7643 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.9107, allocations: 53 kB / 0.7644 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.978e-05/0.9108, allocations: 90.53 kB / 0.7645 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.913, allocations: 1.697 MB / 0.7661 GB, free: 15.96 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.009615/0.9226, allocations: 6.856 MB / 0.7728 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.9238, allocations: 0.8551 MB / 0.7737 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.9244, allocations: 440.5 kB / 0.7741 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.9245, allocations: 106.4 kB / 0.7742 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.9246, allocations: 48.31 kB / 0.7742 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/0.9246, allocations: 0 / 0.7742 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01032/0.9349, allocations: 4.133 MB / 0.7783 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.935, allocations: 113 kB / 0.7784 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.9362, allocations: 1.106 MB / 0.7795 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.9363, allocations: 45.64 kB / 0.7795 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.9367, allocations: 0.539 MB / 0.78 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.9369, allocations: 273.4 kB / 0.7803 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.9372, allocations: 210.9 kB / 0.7805 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9374, allocations: 350.2 kB / 0.7808 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007541/0.9381, allocations: 0.5848 MB / 0.7814 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009933/0.9391, allocations: 0.8697 MB / 0.7823 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.9408, allocations: 1.447 MB / 0.7837 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9408, allocations: 4.156 kB / 0.7837 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002776/0.9436, allocations: 1.981 MB / 0.7856 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.9436, allocations: 11.33 kB / 0.7856 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.9436, allocations: 10.84 kB / 0.7856 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004462/0.9481, allocations: 1.343 MB / 0.7869 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.9487, allocations: 142.3 kB / 0.7871 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.9513, allocations: 1.931 MB / 0.789 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.9523, allocations: 50.72 kB / 0.789 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.9524, allocations: 64.61 kB / 0.7891 GB, free: 9.148 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.0006759/0.9531, allocations: 398.2 kB / 0.7894 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.9533, allocations: 114.4 kB / 0.7896 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.9558, allocations: 1.497 MB / 0.791 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.9558, allocations: 3.812 kB / 0.791 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.9558, allocations: 6.984 kB / 0.791 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/0.9566, allocations: 337.8 kB / 0.7914 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.9568, allocations: 26.47 kB / 0.7914 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008946/0.9577, allocations: 51 kB / 0.7914 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.9579, allocations: 60.86 kB / 0.7915 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003139/0.961, allocations: 1.489 MB / 0.7929 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002579/0.9636, allocations: 1.996 MB / 0.7949 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006736/0.9642, allocations: 0.5504 MB / 0.7954 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009226/0.9652, allocations: 0.7946 MB / 0.7962 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of Backend: time 1.9e-07/0.9652, allocations: 0 / 0.7962 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004351/0.9695, allocations: 1.686 MB / 0.7978 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00557/0.9751, allocations: 3.393 MB / 0.8012 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of Templates: time 0.06182/1.037, allocations: 40.81 MB / 0.841 GB, free: 12.93 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.850658432580531]