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.001602/0.001602, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001756/0.001756, allocations: 212 kB / 23.74 MB, free: 4.656 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2483/0.2483, allocations: 46.93 MB / 360.8 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] 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.00215/0.00215, allocations: 67.91 kB / 0.4967 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.442, allocations: 66.04 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6487/1.091, allocations: 181 MB / 0.7379 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01137/1.102, allocations: 6.554 MB / 0.7443 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/1.103, allocations: 28.16 kB / 0.7443 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/1.105, allocations: 433.3 kB / 0.7447 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/1.109, allocations: 1.809 MB / 0.7465 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003796/1.113, allocations: 1.537 MB / 0.748 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002578/1.116, allocations: 2.135 MB / 0.7501 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000985/1.117, allocations: 478.2 kB / 0.7505 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/1.121, allocations: 1.805 MB / 0.7523 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/1.124, allocations: 1.565 MB / 0.7538 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/1.124, allocations: 74.75 kB / 0.7539 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/1.127, allocations: 1.381 MB / 0.7552 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004053/1.127, allocations: 455.7 kB / 0.7557 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007154/1.128, allocations: 0.5557 MB / 0.7562 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/1.13, allocations: 2.075 MB / 0.7582 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/1.13, allocations: 0.6875 kB / 0.7582 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/1.13, allocations: 0.7812 kB / 0.7582 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.425e-05/1.13, allocations: 0 / 0.7582 GB, free: 1.457 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.002938/1.133, allocations: 1.405 MB / 0.7596 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.133, allocations: 12.03 kB / 0.7596 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/1.134, allocations: 283.9 kB / 0.7599 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/1.136, allocations: 0.5724 MB / 0.7605 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/1.136, allocations: 167 kB / 0.7606 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.136, allocations: 67.14 kB / 0.7607 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.137, allocations: 1.265 MB / 0.7619 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.137, allocations: 0 / 0.7619 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.138, allocations: 40.83 kB / 0.762 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.931e-05/1.138, allocations: 84.62 kB / 0.762 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/1.139, allocations: 1.053 MB / 0.7631 GB, free: 16.19 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.006239/1.145, allocations: 4.642 MB / 0.7676 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/1.146, allocations: 291.1 kB / 0.7679 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/1.146, allocations: 142 kB / 0.768 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.088e-05/1.146, allocations: 20.17 kB / 0.768 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/1.146, allocations: 35 kB / 0.7681 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/1.146, allocations: 0 / 0.7681 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006159/1.152, allocations: 1.775 MB / 0.7698 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.152, allocations: 132.9 kB / 0.7699 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.153, allocations: 0.9434 MB / 0.7708 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/1.153, allocations: 31.14 kB / 0.7709 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/1.154, allocations: 0.5814 MB / 0.7714 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.154, allocations: 141 kB / 0.7716 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/1.154, allocations: 222.1 kB / 0.7718 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.154, allocations: 401.3 kB / 0.7722 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/1.155, allocations: 272.5 kB / 0.7724 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/1.156, allocations: 0.8651 MB / 0.7733 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/1.157, allocations: 1.177 MB / 0.7744 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.157, allocations: 7.781 kB / 0.7744 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001806/1.159, allocations: 1.235 MB / 0.7756 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1.159, allocations: 17.66 kB / 0.7757 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/1.159, allocations: 22.94 kB / 0.7757 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/1.16, allocations: 295 kB / 0.776 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/1.161, allocations: 198.4 kB / 0.7761 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/1.162, allocations: 0.9199 MB / 0.777 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/1.162, allocations: 45.36 kB / 0.7771 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/1.162, allocations: 67.56 kB / 0.7772 GB, free: 9.84 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.0004214/1.163, allocations: 341.9 kB / 0.7775 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/1.163, allocations: 97.25 kB / 0.7776 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/1.164, allocations: 0.516 MB / 0.7781 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.164, allocations: 5.688 kB / 0.7781 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.164, allocations: 0 / 0.7781 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.164, allocations: 3 kB / 0.7781 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/1.166, allocations: 1.091 MB / 0.7792 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.166, allocations: 0.75 kB / 0.7792 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000928/1.167, allocations: 188.4 kB / 0.7793 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-05/1.167, allocations: 24.09 kB / 0.7794 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.167, allocations: 11.22 kB / 0.7794 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/1.169, allocations: 2.667 MB / 0.782 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.169, allocations: 6.812 kB / 0.782 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/1.17, allocations: 0.7033 MB / 0.7827 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/1.17, allocations: 123.5 kB / 0.7828 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.17, allocations: 10.44 kB / 0.7828 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.171, allocations: 16.77 kB / 0.7828 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/1.171, allocations: 34.12 kB / 0.7828 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/1.171, allocations: 20.16 kB / 0.7829 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006631/1.172, allocations: 0.623 MB / 0.7835 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.172, allocations: 0 / 0.7835 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001246/1.173, allocations: 381 kB / 0.7838 GB, free: 6.402 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.001494/1.174, allocations: 0.6334 MB / 0.7844 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.175, allocations: 0.6555 MB / 0.7851 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.175, allocations: 0 / 0.7851 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/1.176, allocations: 366.5 kB / 0.7854 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/1.178, allocations: 427.8 kB / 0.7858 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/1.18, allocations: 1.639 MB / 0.7874 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/1.181, allocations: 1.032 MB / 0.7885 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008273/1.182, allocations: 384.3 kB / 0.7888 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/1.182, allocations: 80.11 kB / 0.7889 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/1.182, allocations: 3.406 kB / 0.7889 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of Templates: time 0.04018/1.222, allocations: 22.63 MB / 0.811 GB, free: 6.562 MB / 0.5919 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/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: 7.189212112920359]