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.00168/0.00168, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.002097/0.002097, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.571/1.571, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2508/0.2508, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.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 0.002115/0.002115, allocations: 72.06 kB / 0.4921 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1416, allocations: 65.99 MB / 0.5565 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5257/0.6673, allocations: 180.8 MB / 0.7331 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.6816, allocations: 6.522 MB / 0.7394 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.6827, allocations: 31.69 kB / 0.7395 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.6848, allocations: 433.6 kB / 0.7399 GB, free: 5.363 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009122/0.694, allocations: 1.782 MB / 0.7416 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007835/0.7018, allocations: 1.481 MB / 0.7431 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005098/0.7069, allocations: 2.118 MB / 0.7451 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.7084, allocations: 0.4893 MB / 0.7456 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007236/0.7156, allocations: 1.78 MB / 0.7473 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005037/0.7207, allocations: 1.546 MB / 0.7489 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.721, allocations: 72 kB / 0.7489 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.7263, allocations: 1.372 MB / 0.7503 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.7274, allocations: 454.7 kB / 0.7507 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.7287, allocations: 0.5484 MB / 0.7512 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.7345, allocations: 2.068 MB / 0.7533 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.7345, allocations: 4 kB / 0.7533 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7345, allocations: 7.875 kB / 0.7533 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.202e-05/0.7345, allocations: 4 kB / 0.7533 GB, free: 7.621 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005892/0.7404, allocations: 1.475 MB / 0.7547 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.7405, allocations: 12.03 kB / 0.7547 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.7433, allocations: 283.1 kB / 0.755 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.7454, allocations: 0.6446 MB / 0.7556 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.7456, allocations: 120.6 kB / 0.7557 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.7459, allocations: 64 kB / 0.7558 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.7497, allocations: 1.256 MB / 0.757 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.7498, allocations: 11.98 kB / 0.757 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.75, allocations: 31.98 kB / 0.7571 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.7502, allocations: 85.2 kB / 0.7571 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.7535, allocations: 1.051 MB / 0.7582 GB, free: 2.422 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.01351/0.767, allocations: 4.913 MB / 0.763 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.7681, allocations: 290.5 kB / 0.7632 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.7686, allocations: 143.1 kB / 0.7634 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.7688, allocations: 101.2 kB / 0.7635 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.7688, allocations: 34.56 kB / 0.7635 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 3.336e-06/0.7688, allocations: 4 kB / 0.7635 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.01221/0.781, allocations: 1.839 MB / 0.7653 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.7812, allocations: 132.5 kB / 0.7654 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.7834, allocations: 0.9468 MB / 0.7664 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.7835, allocations: 29.7 kB / 0.7664 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/0.7842, allocations: 0.5847 MB / 0.767 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.7844, allocations: 138.9 kB / 0.7671 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/0.7849, allocations: 218.8 kB / 0.7673 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003455/0.7853, allocations: 398.7 kB / 0.7677 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000913/0.7862, allocations: 274.4 kB / 0.7679 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.788, allocations: 0.8678 MB / 0.7688 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.7907, allocations: 1.175 MB / 0.7699 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.7907, allocations: 4 kB / 0.7699 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00402/0.7947, allocations: 1.24 MB / 0.7712 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.7947, allocations: 12.22 kB / 0.7712 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.194e-05/0.7948, allocations: 24 kB / 0.7712 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.7971, allocations: 296.4 kB / 0.7715 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.7982, allocations: 204.3 kB / 0.7717 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.8004, allocations: 0.9152 MB / 0.7726 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.802, allocations: 48.05 kB / 0.7726 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.8022, allocations: 64 kB / 0.7727 GB, free: 2.48 MB / 0.5762 GB 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.0008643/0.8031, allocations: 353.6 kB / 0.773 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.8034, allocations: 99.33 kB / 0.7731 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.8053, allocations: 0.5172 MB / 0.7736 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.8053, allocations: 4 kB / 0.7736 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.8053, allocations: 0 / 0.7736 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8053, allocations: 0 / 0.7736 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.8085, allocations: 1.129 MB / 0.7747 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.8086, allocations: 4 kB / 0.7747 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/0.8106, allocations: 184.6 kB / 0.7749 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/0.8107, allocations: 16.84 kB / 0.7749 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.8108, allocations: 20.02 kB / 0.7749 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/0.8149, allocations: 2.881 MB / 0.7777 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8149, allocations: 3.938 kB / 0.7777 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.8171, allocations: 0.7044 MB / 0.7784 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.8177, allocations: 200.5 kB / 0.7786 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.8179, allocations: 16.08 kB / 0.7786 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.8186, allocations: 15.98 kB / 0.7787 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.8188, allocations: 27.91 kB / 0.7787 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.569e-05/0.8189, allocations: 19.98 kB / 0.7787 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001592/0.8204, allocations: 0.6204 MB / 0.7793 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8204, allocations: 0 / 0.7793 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002589/0.823, allocations: 383.5 kB / 0.7797 GB, free: 10.89 MB / 0.5919 GB 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.002987/0.826, allocations: 0.6291 MB / 0.7803 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.8285, allocations: 0.6379 MB / 0.7809 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.8285, allocations: 4 kB / 0.7809 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.8301, allocations: 348.4 kB / 0.7812 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/0.8336, allocations: 431.3 kB / 0.7817 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.8384, allocations: 1.711 MB / 0.7833 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.8396, allocations: 1.024 MB / 0.7843 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.8402, allocations: 91.42 kB / 0.7844 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.8402, allocations: 0 / 0.7844 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of Templates: time 0.06333/0.9035, allocations: 22.87 MB / 0.8067 GB, free: 15.18 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 13.24166787500144]