Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 181.6 kB / 17.41 MB, free: 4.406 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.301/1.301, allocations: 205.4 MB / 223.6 MB, free: 9 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.0006991/0.0006993, allocations: 93.42 kB / 271.9 MB, free: 8.238 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.309/0.309, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 8 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1069, allocations: 58.84 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.14, allocations: 429.9 MB / 0.8997 GB, free: 169.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.14, allocations: 98.25 kB / 0.8998 GB, free: 169.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2562/1.396, allocations: 132.8 MB / 1.029 GB, free: 62.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/1.396, allocations: 0 / 1.029 GB, free: 62.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.272e-05/1.396, allocations: 19.94 kB / 1.029 GB, free: 62.26 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002219/1.398, allocations: 0.9705 MB / 1.03 GB, free: 61.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.398, allocations: 8.031 kB / 1.03 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004134/1.399, allocations: 99.98 kB / 1.031 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/1.4, allocations: 0.5569 MB / 1.031 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/1.4, allocations: 101.5 kB / 1.031 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/1.4, allocations: 51.98 kB / 1.031 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.401, allocations: 0.8166 MB / 1.032 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.401, allocations: 3.906 kB / 1.032 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/1.401, allocations: 27.98 kB / 1.032 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/1.401, allocations: 44.91 kB / 1.032 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/1.402, allocations: 0.6362 MB / 1.033 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/1.406, allocations: 3.646 MB / 1.036 GB, free: 54.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/1.407, allocations: 404.1 kB / 1.037 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/1.407, allocations: 197.4 kB / 1.037 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004166/1.407, allocations: 0.7327 MB / 1.038 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/1.407, allocations: 38.89 kB / 1.038 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/1.407, allocations: 4 kB / 1.038 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.002764/1.41, allocations: 1.521 MB / 1.039 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/1.41, allocations: 136.5 kB / 1.039 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/1.411, allocations: 0.5653 MB / 1.04 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/1.411, allocations: 33.7 kB / 1.04 GB, free: 51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/1.411, allocations: 359 kB / 1.04 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/1.411, allocations: 157.8 kB / 1.04 GB, free: 50.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/1.411, allocations: 16 kB / 1.04 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/1.411, allocations: 370.8 kB / 1.041 GB, free: 50.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/1.411, allocations: 209.9 kB / 1.041 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/1.412, allocations: 0.5088 MB / 1.041 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/1.413, allocations: 0.7528 MB / 1.042 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.413, allocations: 0 / 1.042 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001323/1.414, allocations: 0.9018 MB / 1.043 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.414, allocations: 13.56 kB / 1.043 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.414, allocations: 8 kB / 1.043 GB, free: 47.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/1.415, allocations: 277.2 kB / 1.043 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/1.416, allocations: 127.8 kB / 1.043 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000778/1.416, allocations: 0.8827 MB / 1.044 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/1.417, allocations: 51.94 kB / 1.044 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/1.417, allocations: 32 kB / 1.044 GB, free: 46.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002776/1.417, allocations: 249.5 kB / 1.045 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/1.417, allocations: 63.25 kB / 1.045 GB, free: 45.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/1.418, allocations: 0.7684 MB / 1.045 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.418, allocations: 4 kB / 1.045 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.418, allocations: 3.938 kB / 1.045 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.418, allocations: 7.938 kB / 1.045 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/1.42, allocations: 1.395 MB / 1.047 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.42, allocations: 0 / 1.047 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009428/1.421, allocations: 199.7 kB / 1.047 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.142e-05/1.421, allocations: 24.84 kB / 1.047 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/1.421, allocations: 19.98 kB / 1.047 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/1.423, allocations: 2.688 MB / 1.05 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.423, allocations: 7.969 kB / 1.05 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.424, allocations: 0.9915 MB / 1.051 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/1.424, allocations: 200.3 kB / 1.051 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/1.424, allocations: 20 kB / 1.051 GB, free: 38.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/1.424, allocations: 23.98 kB / 1.051 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/1.424, allocations: 35.95 kB / 1.051 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/1.425, allocations: 27.97 kB / 1.051 GB, free: 38.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000414/1.425, allocations: 403.1 kB / 1.051 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.425, allocations: 0 / 1.051 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008534/1.426, allocations: 247.9 kB / 1.052 GB, free: 38.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007153/1.427, allocations: 383.2 kB / 1.052 GB, free: 37.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.428, allocations: 0.5793 MB / 1.052 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.428, allocations: 4.5 kB / 1.052 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008873/1.429, allocations: 438.3 kB / 1.053 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/1.43, allocations: 328.6 kB / 1.053 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/1.432, allocations: 1.662 MB / 1.055 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.432, allocations: 0.9426 MB / 1.056 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/1.432, allocations: 67.42 kB / 1.056 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.432, allocations: 0 / 1.056 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.01823/1.451, allocations: 15.89 MB / 1.071 GB, free: 17.88 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches