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.001685/0.001685, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002148/0.002148, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.484/1.484, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.247/0.247, allocations: 46.89 MB / 361.1 MB, free: 4.605 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-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.002331/0.002331, allocations: 79.88 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3873, allocations: 65.99 MB / 0.5612 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6382/1.025, allocations: 181 MB / 0.7379 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01005/1.036, allocations: 6.566 MB / 0.7443 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008596/1.036, allocations: 17.59 kB / 0.7444 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/1.038, allocations: 436.1 kB / 0.7448 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/1.042, allocations: 1.776 MB / 0.7465 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/1.046, allocations: 1.497 MB / 0.748 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002643/1.048, allocations: 2.126 MB / 0.7501 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/1.049, allocations: 489 kB / 0.7505 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/1.053, allocations: 1.773 MB / 0.7522 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/1.055, allocations: 1.56 MB / 0.7538 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/1.055, allocations: 74.81 kB / 0.7538 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/1.058, allocations: 1.369 MB / 0.7552 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/1.059, allocations: 456.7 kB / 0.7556 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007055/1.059, allocations: 0.5567 MB / 0.7562 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/1.062, allocations: 2.07 MB / 0.7582 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/1.062, allocations: 0 / 0.7582 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/1.062, allocations: 1.031 kB / 0.7582 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.486e-05/1.062, allocations: 0 / 0.7582 GB, free: 1.469 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.002953/1.065, allocations: 1.484 MB / 0.7596 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/1.065, allocations: 10.47 kB / 0.7596 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/1.066, allocations: 288.7 kB / 0.7599 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.068, allocations: 0.6365 MB / 0.7605 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/1.068, allocations: 113.6 kB / 0.7606 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.068, allocations: 65.88 kB / 0.7607 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/1.07, allocations: 1.268 MB / 0.7619 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/1.07, allocations: 8.109 kB / 0.762 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.07, allocations: 38.02 kB / 0.762 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.806e-05/1.07, allocations: 81.84 kB / 0.7621 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/1.072, allocations: 1.05 MB / 0.7631 GB, free: 16.1 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.006804/1.078, allocations: 4.918 MB / 0.7679 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/1.079, allocations: 292 kB / 0.7682 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/1.079, allocations: 138.1 kB / 0.7683 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.079, allocations: 98.36 kB / 0.7684 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.079, allocations: 40.22 kB / 0.7684 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/1.079, allocations: 1.203 kB / 0.7684 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006357/1.086, allocations: 1.845 MB / 0.7702 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/1.086, allocations: 133.8 kB / 0.7704 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009937/1.087, allocations: 0.9456 MB / 0.7713 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/1.087, allocations: 32.7 kB / 0.7713 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/1.087, allocations: 0.5856 MB / 0.7719 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.087, allocations: 138.2 kB / 0.772 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/1.087, allocations: 217.9 kB / 0.7722 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.088, allocations: 400.7 kB / 0.7726 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/1.088, allocations: 273.9 kB / 0.7729 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/1.089, allocations: 0.8657 MB / 0.7737 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.09, allocations: 1.179 MB / 0.7749 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.09, allocations: 4.75 kB / 0.7749 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00167/1.092, allocations: 1.238 MB / 0.7761 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.092, allocations: 13.16 kB / 0.7761 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.092, allocations: 20.16 kB / 0.7761 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/1.093, allocations: 290.4 kB / 0.7764 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/1.094, allocations: 204.4 kB / 0.7766 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/1.095, allocations: 0.9195 MB / 0.7775 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/1.095, allocations: 48.31 kB / 0.7775 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/1.096, allocations: 67.19 kB / 0.7776 GB, free: 9.266 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.0004528/1.096, allocations: 337.8 kB / 0.7779 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/1.096, allocations: 95.34 kB / 0.778 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/1.097, allocations: 0.5251 MB / 0.7785 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.097, allocations: 6.281 kB / 0.7785 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.097, allocations: 0 / 0.7785 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.097, allocations: 2.672 kB / 0.7785 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/1.099, allocations: 1.127 MB / 0.7796 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.099, allocations: 0.9688 kB / 0.7796 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009534/1.1, allocations: 182.3 kB / 0.7798 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/1.1, allocations: 29.91 kB / 0.7798 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/1.1, allocations: 9.281 kB / 0.7798 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/1.102, allocations: 2.869 MB / 0.7827 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.102, allocations: 0 / 0.7827 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/1.103, allocations: 0.7052 MB / 0.7833 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/1.103, allocations: 217.2 kB / 0.7835 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.104, allocations: 4.594 kB / 0.7836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/1.104, allocations: 17.34 kB / 0.7836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/1.104, allocations: 26.81 kB / 0.7836 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/1.104, allocations: 21.77 kB / 0.7836 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007667/1.105, allocations: 0.6264 MB / 0.7842 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/1.105, allocations: 0.8438 kB / 0.7842 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001387/1.106, allocations: 382 kB / 0.7846 GB, free: 5.426 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.00169/1.108, allocations: 0.6418 MB / 0.7852 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.109, allocations: 0.6501 MB / 0.7859 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.109, allocations: 4.125 kB / 0.7859 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/1.11, allocations: 364.9 kB / 0.7862 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.112, allocations: 428.9 kB / 0.7866 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/1.114, allocations: 1.636 MB / 0.7882 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/1.115, allocations: 1.026 MB / 0.7892 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000857/1.116, allocations: 394.5 kB / 0.7896 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/1.116, allocations: 77.75 kB / 0.7897 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/1.116, allocations: 3.938 kB / 0.7897 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of Templates: time 0.038/1.154, allocations: 22.34 MB / 0.8115 GB, free: 6.086 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 -s cvode -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: 6.892621902748942]