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.001855/0.001855, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002051/0.002051, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.558/1.558, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2456/0.2456, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.002071/0.002071, allocations: 71.91 kB / 0.4914 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1701, allocations: 65.99 MB / 0.5559 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5881/0.7582, allocations: 180.8 MB / 0.7324 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.769, allocations: 6.525 MB / 0.7388 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009918/0.7699, allocations: 31.75 kB / 0.7388 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.7714, allocations: 433.6 kB / 0.7392 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.7764, allocations: 1.771 MB / 0.7409 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.7805, allocations: 1.489 MB / 0.7424 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003253/0.7837, allocations: 2.122 MB / 0.7445 GB, free: 8 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008217/0.7846, allocations: 0.4933 MB / 0.7449 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003844/0.7884, allocations: 1.78 MB / 0.7467 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.7914, allocations: 1.546 MB / 0.7482 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.7916, allocations: 76 kB / 0.7483 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.7947, allocations: 1.368 MB / 0.7496 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.7952, allocations: 450.8 kB / 0.75 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007939/0.796, allocations: 0.5484 MB / 0.7506 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.7994, allocations: 2.076 MB / 0.7526 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7994, allocations: 0 / 0.7526 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7994, allocations: 0 / 0.7526 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.7994, allocations: 0 / 0.7526 GB, free: 7.656 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.003462/0.8029, allocations: 1.479 MB / 0.754 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8029, allocations: 16.03 kB / 0.7541 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.8045, allocations: 283.1 kB / 0.7543 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.8057, allocations: 0.6446 MB / 0.755 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.8059, allocations: 120.6 kB / 0.7551 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.806, allocations: 63.98 kB / 0.7551 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.8083, allocations: 1.267 MB / 0.7564 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.8083, allocations: 0 / 0.7564 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.8084, allocations: 35.98 kB / 0.7564 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.8086, allocations: 77.27 kB / 0.7565 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.8105, allocations: 1.051 MB / 0.7575 GB, free: 2.453 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.008018/0.8185, allocations: 4.917 MB / 0.7623 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.8191, allocations: 298.6 kB / 0.7626 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.8194, allocations: 143.1 kB / 0.7627 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.8195, allocations: 93.09 kB / 0.7628 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.8196, allocations: 42.56 kB / 0.7629 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.8196, allocations: 0 / 0.7629 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.007592/0.8272, allocations: 1.84 MB / 0.7647 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.8273, allocations: 132.5 kB / 0.7648 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.8287, allocations: 0.9428 MB / 0.7657 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.8288, allocations: 37.7 kB / 0.7657 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.8293, allocations: 0.5847 MB / 0.7663 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.8295, allocations: 134.9 kB / 0.7664 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.8298, allocations: 218.8 kB / 0.7666 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.8301, allocations: 398.7 kB / 0.767 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.8306, allocations: 270.5 kB / 0.7673 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.8317, allocations: 0.8639 MB / 0.7681 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.8333, allocations: 1.183 MB / 0.7693 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.8333, allocations: 8 kB / 0.7693 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002613/0.8359, allocations: 1.236 MB / 0.7705 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.836, allocations: 16.03 kB / 0.7705 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.836, allocations: 20 kB / 0.7705 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.8374, allocations: 291.5 kB / 0.7708 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.838, allocations: 207.6 kB / 0.771 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.8394, allocations: 0.9125 MB / 0.7719 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.8403, allocations: 52.67 kB / 0.7719 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.8404, allocations: 68 kB / 0.772 GB, free: 2.5 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.0005395/0.8409, allocations: 335.5 kB / 0.7723 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.8411, allocations: 103.3 kB / 0.7724 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.8423, allocations: 0.511 MB / 0.7729 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.8423, allocations: 4 kB / 0.7729 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.8423, allocations: 4.438 kB / 0.7729 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.8423, allocations: 8.016 kB / 0.7729 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.8444, allocations: 1.137 MB / 0.7741 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8444, allocations: 0.6875 kB / 0.7741 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.8455, allocations: 175.8 kB / 0.7742 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.8456, allocations: 32.81 kB / 0.7743 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.8456, allocations: 15.94 kB / 0.7743 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.8483, allocations: 2.874 MB / 0.7771 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8483, allocations: 4.031 kB / 0.7771 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.8496, allocations: 0.7004 MB / 0.7778 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.85, allocations: 200.7 kB / 0.778 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.8501, allocations: 15.95 kB / 0.778 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.8505, allocations: 15.94 kB / 0.778 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.8506, allocations: 27.95 kB / 0.778 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.8507, allocations: 16 kB / 0.778 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001012/0.8517, allocations: 0.6243 MB / 0.7786 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8517, allocations: 0 / 0.7786 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001523/0.8532, allocations: 383.5 kB / 0.779 GB, free: 10.92 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.001792/0.855, allocations: 0.6257 MB / 0.7796 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.8566, allocations: 0.6454 MB / 0.7802 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8566, allocations: 0 / 0.7802 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.8576, allocations: 364.6 kB / 0.7806 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.8598, allocations: 430.3 kB / 0.781 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.8628, allocations: 1.635 MB / 0.7826 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/0.8636, allocations: 1.032 MB / 0.7836 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001047/0.8646, allocations: 391.8 kB / 0.784 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.8648, allocations: 71.42 kB / 0.784 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.8648, allocations: 7.938 kB / 0.7841 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of Templates: time 0.03934/0.9042, allocations: 21.98 MB / 0.8055 GB, free: 15.87 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/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: 6.858666472136974]