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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 114.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2749/0.2749, allocations: 46.88 MB / 358.1 MB, free: 10.54 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-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.002275/0.002275, allocations: 79.86 kB / 0.4924 GB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1531, allocations: 65.98 MB / 0.5568 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5711/0.7242, allocations: 180.8 MB / 0.7334 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.7345, allocations: 6.527 MB / 0.7397 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/0.7354, allocations: 19.88 kB / 0.7397 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.7368, allocations: 433.6 kB / 0.7402 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004842/0.7417, allocations: 1.777 MB / 0.7419 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.7458, allocations: 1.499 MB / 0.7434 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.7491, allocations: 2.118 MB / 0.7454 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.75, allocations: 0.4933 MB / 0.7459 GB, free: 180 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/0.7543, allocations: 1.776 MB / 0.7476 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.7576, allocations: 1.55 MB / 0.7492 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.7579, allocations: 76 kB / 0.7492 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.7613, allocations: 1.36 MB / 0.7506 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.7619, allocations: 458.7 kB / 0.751 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00084/0.7627, allocations: 0.5562 MB / 0.7515 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.7664, allocations: 2.075 MB / 0.7536 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7664, allocations: 4 kB / 0.7536 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7664, allocations: 0 / 0.7536 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.7664, allocations: 0 / 0.7536 GB, free: 8.309 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.003388/0.7698, allocations: 1.475 MB / 0.755 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7699, allocations: 13.47 kB / 0.755 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.7713, allocations: 283.1 kB / 0.7553 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.7725, allocations: 0.6485 MB / 0.7559 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.7726, allocations: 116.6 kB / 0.756 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.7727, allocations: 60 kB / 0.7561 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.7748, allocations: 1.271 MB / 0.7573 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.7748, allocations: 0 / 0.7573 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.7749, allocations: 35.98 kB / 0.7574 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.775, allocations: 81.27 kB / 0.7574 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.7768, allocations: 1.059 MB / 0.7585 GB, free: 3.102 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.007534/0.7844, allocations: 4.92 MB / 0.7633 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.785, allocations: 294.5 kB / 0.7636 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.7852, allocations: 140.8 kB / 0.7637 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.7853, allocations: 89.11 kB / 0.7638 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.7854, allocations: 38.64 kB / 0.7638 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.265e-06/0.7854, allocations: 0 / 0.7638 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.007097/0.7925, allocations: 1.845 MB / 0.7656 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.7926, allocations: 132.5 kB / 0.7657 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.7941, allocations: 0.9351 MB / 0.7667 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.7941, allocations: 37.7 kB / 0.7667 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005774/0.7947, allocations: 0.5847 MB / 0.7673 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.7948, allocations: 138.9 kB / 0.7674 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.7952, allocations: 222.8 kB / 0.7676 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.7954, allocations: 398.7 kB / 0.768 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.7959, allocations: 274.5 kB / 0.7683 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.797, allocations: 0.8639 MB / 0.7691 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.7989, allocations: 1.179 MB / 0.7703 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.7989, allocations: 4 kB / 0.7703 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002297/0.8012, allocations: 1.243 MB / 0.7715 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.8012, allocations: 14.03 kB / 0.7715 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.8013, allocations: 20.78 kB / 0.7715 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.8026, allocations: 287.1 kB / 0.7718 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.8033, allocations: 211.6 kB / 0.772 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.8045, allocations: 0.9056 MB / 0.7729 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.8054, allocations: 51.98 kB / 0.7729 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/0.8054, allocations: 67.94 kB / 0.773 GB, free: 3.16 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.0005609/0.806, allocations: 341.4 kB / 0.7733 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.8062, allocations: 103.3 kB / 0.7734 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.8074, allocations: 0.5167 MB / 0.7739 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.8074, allocations: 7.984 kB / 0.7739 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8074, allocations: 0 / 0.7739 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8074, allocations: 0 / 0.7739 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.8093, allocations: 1.135 MB / 0.775 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8093, allocations: 0 / 0.775 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.8104, allocations: 179.9 kB / 0.7752 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.8105, allocations: 28.78 kB / 0.7752 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.8105, allocations: 15.94 kB / 0.7752 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/0.8131, allocations: 2.867 MB / 0.778 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8131, allocations: 0 / 0.778 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.8143, allocations: 0.7084 MB / 0.7787 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.8147, allocations: 204.5 kB / 0.7789 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.8148, allocations: 4 kB / 0.7789 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.8152, allocations: 15.98 kB / 0.7789 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.8153, allocations: 23.97 kB / 0.779 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.8154, allocations: 28.92 kB / 0.779 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001031/0.8164, allocations: 0.6203 MB / 0.7796 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.8164, allocations: 0 / 0.7796 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001792/0.8182, allocations: 387.5 kB / 0.78 GB, free: 11.59 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.001872/0.8201, allocations: 0.636 MB / 0.7806 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.8216, allocations: 0.6464 MB / 0.7812 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.8216, allocations: 4 kB / 0.7812 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.8227, allocations: 350.9 kB / 0.7816 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.8246, allocations: 443.4 kB / 0.782 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.8275, allocations: 1.689 MB / 0.7836 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008734/0.8284, allocations: 1.017 MB / 0.7846 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.8286, allocations: 95.41 kB / 0.7847 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.8286, allocations: 4 kB / 0.7847 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of Templates: time 0.03876/0.8674, allocations: 22.94 MB / 0.8071 GB, free: 15.8 MB / 0.6231 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 [Calling sys.exit(0), Time elapsed: 13.15947247017175]