Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009494/0.0009494, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008261, allocations: 90.59 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3412/0.3412, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.099e-05, allocations: 8 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.681/1.809, allocations: 0.8269 GB / 1.3 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/1.809, allocations: 91.94 kB / 1.3 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.316/4.125, allocations: 0.7371 GB / 2.037 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.413e-06/4.125, allocations: 0 / 2.037 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.753e-05/4.125, allocations: 21.94 kB / 2.037 GB, free: 72.48 MB / 0.5105 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.00322/4.129, allocations: 1.373 MB / 2.038 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/4.129, allocations: 11.3 kB / 2.038 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/4.13, allocations: 290.6 kB / 2.039 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/4.131, allocations: 0.6616 MB / 2.039 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/4.131, allocations: 114.9 kB / 2.039 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/4.131, allocations: 67.31 kB / 2.039 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/4.133, allocations: 1.23 MB / 2.041 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/4.133, allocations: 7.875 kB / 2.041 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/4.133, allocations: 37.44 kB / 2.041 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/4.133, allocations: 62.56 kB / 2.041 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/4.134, allocations: 1.016 MB / 2.042 GB, free: 70.04 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.004644/4.139, allocations: 4.842 MB / 2.046 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/4.139, allocations: 260.7 kB / 2.047 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/4.139, allocations: 140.7 kB / 2.047 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/4.14, allocations: 242.4 kB / 2.047 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/4.14, allocations: 38.27 kB / 2.047 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/4.14, allocations: 0 / 2.047 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004789/4.144, allocations: 1.619 MB / 2.049 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/4.145, allocations: 132.1 kB / 2.049 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/4.145, allocations: 0.8174 MB / 2.05 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/4.145, allocations: 33.67 kB / 2.05 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/4.146, allocations: 0.5672 MB / 2.05 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/4.146, allocations: 136.5 kB / 2.05 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/4.146, allocations: 19.84 kB / 2.05 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001086/4.146, allocations: 400.9 kB / 2.051 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/4.146, allocations: 256.5 kB / 2.051 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/4.147, allocations: 0.8522 MB / 2.052 GB, free: 62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/4.147, allocations: 444.2 kB / 2.052 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/4.147, allocations: 3.031 kB / 2.052 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001635/4.149, allocations: 1.204 MB / 2.053 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/4.149, allocations: 19.98 kB / 2.053 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/4.149, allocations: 20 kB / 2.053 GB, free: 61.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/4.15, allocations: 282 kB / 2.054 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/4.151, allocations: 199.6 kB / 2.054 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007945/4.152, allocations: 0.9058 MB / 2.055 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/4.153, allocations: 64.03 kB / 2.055 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-05/4.153, allocations: 71.83 kB / 2.055 GB, free: 59.59 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002038/4.153, allocations: 179.1 kB / 2.055 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/4.153, allocations: 98.88 kB / 2.055 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008589/4.154, allocations: 469.8 kB / 2.056 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/4.154, allocations: 7.953 kB / 2.056 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/4.154, allocations: 4 kB / 2.056 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/4.154, allocations: 3.984 kB / 2.056 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/4.155, allocations: 1.107 MB / 2.057 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/4.155, allocations: 0 / 2.057 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/4.156, allocations: 191.8 kB / 2.057 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.021e-05/4.156, allocations: 20.84 kB / 2.057 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/4.156, allocations: 8 kB / 2.057 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/4.158, allocations: 2.684 MB / 2.06 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/4.158, allocations: 0 / 2.06 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/4.158, allocations: 0.6851 MB / 2.06 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/4.159, allocations: 200 kB / 2.06 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/4.159, allocations: 12.16 kB / 2.06 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/4.159, allocations: 27.97 kB / 2.06 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/4.159, allocations: 27.86 kB / 2.06 GB, free: 53.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/4.159, allocations: 19.98 kB / 2.06 GB, free: 53.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007485/4.16, allocations: 0.6089 MB / 2.061 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/4.16, allocations: 4 kB / 2.061 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00202/4.162, allocations: 0.5192 MB / 2.062 GB, free: 52.34 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002549/4.165, allocations: 1.41 MB / 2.063 GB, free: 51.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001076/4.166, allocations: 0.6545 MB / 2.064 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/4.166, allocations: 3.453 kB / 2.064 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006928/4.166, allocations: 354.5 kB / 2.064 GB, free: 50.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/4.168, allocations: 402.4 kB / 2.064 GB, free: 49.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/4.17, allocations: 1.16 MB / 2.065 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/4.17, allocations: 1.044 MB / 2.066 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008622/4.171, allocations: 315 kB / 2.067 GB, free: 47.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/4.171, allocations: 75.42 kB / 2.067 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/4.171, allocations: 0 / 2.067 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.03873/4.21, allocations: 35.08 MB / 2.101 GB, free: 12.26 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches