Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001359/0.001359, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001595/0.001595, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.91 MB / 359.6 MB, free: 6.363 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 75.83 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 65.46 MB / 0.5583 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2342/0.6119, allocations: 181 MB / 0.735 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3792/0.9911, allocations: 6.544 MB / 0.7414 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.9917, allocations: 31.06 kB / 0.7414 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.9928, allocations: 433.8 kB / 0.7418 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003861/0.9967, allocations: 1.806 MB / 0.7436 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/1, allocations: 1.537 MB / 0.7451 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002047/1.002, allocations: 2.139 MB / 0.7472 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/1.003, allocations: 478.2 kB / 0.7477 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/1.006, allocations: 1.803 MB / 0.7494 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/1.008, allocations: 1.57 MB / 0.751 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/1.008, allocations: 75.66 kB / 0.751 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/1.011, allocations: 1.377 MB / 0.7524 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005366/1.012, allocations: 456.7 kB / 0.7528 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008057/1.012, allocations: 0.5541 MB / 0.7533 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/1.015, allocations: 2.067 MB / 0.7554 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.015, allocations: 3.375 kB / 0.7554 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/1.015, allocations: 4.156 kB / 0.7554 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.461e-05/1.015, allocations: 0 / 0.7554 GB, free: 1.484 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.002916/1.018, allocations: 1.405 MB / 0.7567 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.018, allocations: 12.84 kB / 0.7568 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/1.02, allocations: 283.6 kB / 0.757 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.021, allocations: 0.5738 MB / 0.7576 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/1.021, allocations: 168.3 kB / 0.7577 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.021, allocations: 66.81 kB / 0.7578 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.023, allocations: 1.261 MB / 0.759 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.023, allocations: 10.52 kB / 0.7591 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/1.023, allocations: 31.06 kB / 0.7591 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/1.023, allocations: 81.94 kB / 0.7592 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/1.024, allocations: 1.052 MB / 0.7602 GB, free: 16.22 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.006246/1.03, allocations: 4.646 MB / 0.7647 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/1.031, allocations: 296.6 kB / 0.765 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/1.031, allocations: 135.3 kB / 0.7651 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/1.031, allocations: 20.98 kB / 0.7652 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.031, allocations: 36.59 kB / 0.7652 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/1.031, allocations: 0 / 0.7652 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006259/1.038, allocations: 1.764 MB / 0.7669 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/1.038, allocations: 134.7 kB / 0.767 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.039, allocations: 0.942 MB / 0.768 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/1.039, allocations: 31.86 kB / 0.768 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/1.039, allocations: 0.5826 MB / 0.7686 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.039, allocations: 141.9 kB / 0.7687 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/1.039, allocations: 221 kB / 0.7689 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002048/1.04, allocations: 402.8 kB / 0.7693 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/1.04, allocations: 269.2 kB / 0.7695 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/1.041, allocations: 0.8688 MB / 0.7704 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.042, allocations: 1.181 MB / 0.7715 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/1.042, allocations: 7.375 kB / 0.7716 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001687/1.044, allocations: 1.244 MB / 0.7728 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.044, allocations: 15.72 kB / 0.7728 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/1.044, allocations: 19.12 kB / 0.7728 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/1.045, allocations: 292 kB / 0.7731 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/1.046, allocations: 207.5 kB / 0.7733 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/1.047, allocations: 0.9076 MB / 0.7742 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/1.047, allocations: 45.25 kB / 0.7742 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/1.047, allocations: 69.45 kB / 0.7743 GB, free: 9.875 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.0004191/1.048, allocations: 342 kB / 0.7746 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.048, allocations: 100 kB / 0.7747 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008901/1.049, allocations: 0.5135 MB / 0.7752 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.049, allocations: 7.281 kB / 0.7752 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.049, allocations: 0.9062 kB / 0.7752 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.049, allocations: 5.219 kB / 0.7752 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/1.051, allocations: 1.099 MB / 0.7763 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.051, allocations: 2.906 kB / 0.7763 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/1.051, allocations: 178.7 kB / 0.7765 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.259e-05/1.052, allocations: 24.92 kB / 0.7765 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.052, allocations: 11.41 kB / 0.7765 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/1.054, allocations: 2.672 MB / 0.7791 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.054, allocations: 0 / 0.7791 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009428/1.055, allocations: 0.7053 MB / 0.7798 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/1.055, allocations: 124.9 kB / 0.7799 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.055, allocations: 9.438 kB / 0.7799 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/1.056, allocations: 20.05 kB / 0.7799 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/1.056, allocations: 25.41 kB / 0.78 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/1.056, allocations: 24.38 kB / 0.78 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000701/1.056, allocations: 0.6227 MB / 0.7806 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.056, allocations: 0.9375 kB / 0.7806 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001299/1.058, allocations: 382 kB / 0.781 GB, free: 6.434 MB / 0.5762 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.001452/1.059, allocations: 0.6291 MB / 0.7816 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.06, allocations: 0.6496 MB / 0.7822 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.06, allocations: 0 / 0.7822 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008102/1.061, allocations: 360.4 kB / 0.7826 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.063, allocations: 433.4 kB / 0.783 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/1.065, allocations: 1.698 MB / 0.7846 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/1.066, allocations: 1.033 MB / 0.7856 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/1.066, allocations: 92.92 kB / 0.7857 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/1.066, allocations: 0 / 0.7857 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of Templates: time 0.03332/1.1, allocations: 22.88 MB / 0.8081 GB, free: 7.863 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.621665566926822]