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.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 215 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.88 MB / 359.9 MB, free: 5.027 MB / 286.1 MB [Timeout remaining time 90] 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [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.002588/0.002588, allocations: 75.88 kB / 0.495 GB, free: 8.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3602, allocations: 65.98 MB / 0.5594 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.507/0.8672, allocations: 180.8 MB / 0.7359 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007854/0.8751, allocations: 6.523 MB / 0.7423 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005398/0.8756, allocations: 22.12 kB / 0.7423 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.8766, allocations: 435.2 kB / 0.7427 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.8802, allocations: 1.779 MB / 0.7445 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.8834, allocations: 1.5 MB / 0.7459 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001907/0.8853, allocations: 2.12 MB / 0.748 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/0.8858, allocations: 0.4928 MB / 0.7485 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.8891, allocations: 1.78 MB / 0.7502 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.8914, allocations: 1.558 MB / 0.7518 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.8915, allocations: 75.12 kB / 0.7518 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.8939, allocations: 1.373 MB / 0.7532 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.8942, allocations: 458.2 kB / 0.7536 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005884/0.8948, allocations: 0.5543 MB / 0.7541 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.8973, allocations: 2.076 MB / 0.7562 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8973, allocations: 1.203 kB / 0.7562 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8973, allocations: 0.875 kB / 0.7562 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.8973, allocations: 0 / 0.7562 GB, free: 1.449 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.002917/0.9002, allocations: 1.475 MB / 0.7576 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9003, allocations: 13.47 kB / 0.7576 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.9016, allocations: 288.1 kB / 0.7579 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.9027, allocations: 0.6368 MB / 0.7585 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.9028, allocations: 113 kB / 0.7586 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.9029, allocations: 63.5 kB / 0.7587 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.9045, allocations: 1.268 MB / 0.7599 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.9045, allocations: 5.375 kB / 0.7599 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.9047, allocations: 37.44 kB / 0.76 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.9047, allocations: 83.5 kB / 0.7601 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.9061, allocations: 1.051 MB / 0.7611 GB, free: 16.09 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.006208/0.9123, allocations: 4.917 MB / 0.7659 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.9128, allocations: 303.1 kB / 0.7662 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.913, allocations: 134.7 kB / 0.7663 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.9131, allocations: 98.78 kB / 0.7664 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.9131, allocations: 42.12 kB / 0.7664 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.9131, allocations: 0 / 0.7664 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006099/0.9192, allocations: 1.835 MB / 0.7682 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.9193, allocations: 135.8 kB / 0.7684 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.9203, allocations: 0.9413 MB / 0.7693 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.9203, allocations: 35.73 kB / 0.7693 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.9207, allocations: 0.5853 MB / 0.7699 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.9208, allocations: 134.8 kB / 0.77 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.921, allocations: 218.9 kB / 0.7702 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.9212, allocations: 401.9 kB / 0.7706 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.9216, allocations: 278.7 kB / 0.7709 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/0.9225, allocations: 0.8678 MB / 0.7717 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.9237, allocations: 1.177 MB / 0.7729 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.9237, allocations: 6.594 kB / 0.7729 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001659/0.9254, allocations: 1.243 MB / 0.7741 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.9254, allocations: 13.72 kB / 0.7741 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.9254, allocations: 19.75 kB / 0.7741 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.9266, allocations: 295.1 kB / 0.7744 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.9272, allocations: 205.3 kB / 0.7746 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.9282, allocations: 0.9135 MB / 0.7755 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.929, allocations: 46.53 kB / 0.7755 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.929, allocations: 74.53 kB / 0.7756 GB, free: 9.246 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.0003942/0.9294, allocations: 339.7 kB / 0.7759 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.9296, allocations: 93.94 kB / 0.776 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000899/0.9305, allocations: 0.5136 MB / 0.7765 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.9305, allocations: 9.969 kB / 0.7765 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9305, allocations: 0.9062 kB / 0.7765 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9305, allocations: 3 kB / 0.7765 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.932, allocations: 1.13 MB / 0.7776 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.932, allocations: 0 / 0.7776 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/0.933, allocations: 180.7 kB / 0.7778 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.791e-05/0.933, allocations: 25.09 kB / 0.7778 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.9331, allocations: 10.83 kB / 0.7778 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.9353, allocations: 2.874 MB / 0.7806 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9353, allocations: 3.094 kB / 0.7806 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.9363, allocations: 0.705 MB / 0.7813 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.9366, allocations: 211.4 kB / 0.7815 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.9367, allocations: 5.375 kB / 0.7815 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.9371, allocations: 19.91 kB / 0.7816 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.9372, allocations: 27.59 kB / 0.7816 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.9372, allocations: 20.86 kB / 0.7816 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007312/0.938, allocations: 0.623 MB / 0.7822 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.938, allocations: 2.812 kB / 0.7822 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001242/0.9392, allocations: 382.6 kB / 0.7826 GB, free: 5.41 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.001613/0.9408, allocations: 0.6444 MB / 0.7832 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.942, allocations: 0.6476 MB / 0.7838 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.942, allocations: 0.875 kB / 0.7838 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.9428, allocations: 354.8 kB / 0.7842 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.9445, allocations: 431.9 kB / 0.7846 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.9469, allocations: 1.696 MB / 0.7863 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.9475, allocations: 1.023 MB / 0.7873 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.9477, allocations: 90.41 kB / 0.7873 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.9477, allocations: 0 / 0.7873 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of Templates: time 0.02946/0.9771, allocations: 22.93 MB / 0.8097 GB, free: 5.781 MB / 0.5919 GB [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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