Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001131/0.001131, allocations: 93.59 kB / 270.9 MB, free: 8.387 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.5126/0.5126, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004666, allocations: 12 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.04/11.17, allocations: 3.57 GB / 4.049 GB, free: 19.78 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/11.17, allocations: 79.2 kB / 4.049 GB, free: 19.73 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.7827/11.95, allocations: 107.1 MB / 4.153 GB, free: 114.7 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.605e-06/11.95, allocations: 0 / 4.153 GB, free: 114.7 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.565e-05/11.95, allocations: 7.938 kB / 4.153 GB, free: 114.7 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.004481/11.96, allocations: 1.136 MB / 4.154 GB, free: 113.5 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/11.96, allocations: 12.03 kB / 4.154 GB, free: 113.5 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/11.96, allocations: 32.75 kB / 4.154 GB, free: 113.5 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/11.96, allocations: 254.6 kB / 4.155 GB, free: 113.2 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/11.96, allocations: 135.4 kB / 4.155 GB, free: 113 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/11.96, allocations: 28 kB / 4.155 GB, free: 113 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/11.96, allocations: 0.5721 MB / 4.155 GB, free: 112.4 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/11.96, allocations: 0 / 4.155 GB, free: 112.4 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/11.96, allocations: 12 kB / 4.155 GB, free: 112.4 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/11.96, allocations: 28.55 kB / 4.155 GB, free: 112.3 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/11.96, allocations: 1.259 MB / 4.157 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/11.96, allocations: 1.924 MB / 4.159 GB, free: 109 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/11.97, allocations: 279.5 kB / 4.159 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004402/11.97, allocations: 3.288 MB / 4.162 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/11.97, allocations: 42.5 kB / 4.162 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=42): time 2.826e-06/11.97, allocations: 0 / 4.162 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=44): time 0.003001/11.97, allocations: 0.8302 MB / 4.163 GB, free: 104 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/11.97, allocations: 59.41 kB / 4.163 GB, free: 103.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/11.97, allocations: 181.1 kB / 4.163 GB, free: 103.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/11.97, allocations: 33.7 kB / 4.163 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/11.97, allocations: 270.1 kB / 4.163 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/11.97, allocations: 149.8 kB / 4.164 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/11.97, allocations: 12 kB / 4.164 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/11.97, allocations: 334.8 kB / 4.164 GB, free: 103 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/11.97, allocations: 113.2 kB / 4.164 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/11.98, allocations: 405.6 kB / 4.164 GB, free: 102.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/11.98, allocations: 176.7 kB / 4.165 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/11.98, allocations: 4 kB / 4.165 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001458/11.98, allocations: 0.5664 MB / 4.165 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/11.98, allocations: 12 kB / 4.165 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/11.98, allocations: 12.16 kB / 4.165 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/11.98, allocations: 16 kB / 4.165 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/11.98, allocations: 211.6 kB / 4.165 GB, free: 101.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005297/11.98, allocations: 1.184 MB / 4.167 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/11.98, allocations: 39.91 kB / 4.167 GB, free: 100 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/11.98, allocations: 71.97 kB / 4.167 GB, free: 99.98 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002523/11.98, allocations: 177.5 kB / 4.167 GB, free: 99.79 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/11.98, allocations: 27.72 kB / 4.167 GB, free: 99.77 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/11.98, allocations: 0.7012 MB / 4.167 GB, free: 99.02 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/11.98, allocations: 4 kB / 4.167 GB, free: 99.02 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/11.98, allocations: 64 / 4.167 GB, free: 99.02 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/11.98, allocations: 11.92 kB / 4.168 GB, free: 99.01 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/11.98, allocations: 0.6425 MB / 4.168 GB, free: 98.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/11.98, allocations: 0 / 4.168 GB, free: 98.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/11.98, allocations: 95.81 kB / 4.168 GB, free: 98.21 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/11.98, allocations: 0 / 4.168 GB, free: 98.21 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/11.98, allocations: 8 kB / 4.168 GB, free: 98.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004242/11.99, allocations: 1.172 MB / 4.169 GB, free: 96.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/11.99, allocations: 4.031 kB / 4.169 GB, free: 96.98 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/11.99, allocations: 352.2 kB / 4.17 GB, free: 96.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/11.99, allocations: 148.7 kB / 4.17 GB, free: 96.44 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/11.99, allocations: 8 kB / 4.17 GB, free: 96.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/11.99, allocations: 11.98 kB / 4.17 GB, free: 96.42 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/11.99, allocations: 23.94 kB / 4.17 GB, free: 96.39 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/11.99, allocations: 15.98 kB / 4.17 GB, free: 96.38 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0002454/11.99, allocations: 181.9 kB / 4.17 GB, free: 96.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.5e-07/11.99, allocations: 0 / 4.17 GB, free: 96.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002783/11.99, allocations: 0.6398 MB / 4.171 GB, free: 95.56 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004245/11.99, allocations: 1.353 MB / 4.172 GB, free: 94.22 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001484/12, allocations: 373.5 kB / 4.172 GB, free: 93.86 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/12, allocations: 0 / 4.172 GB, free: 93.86 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0005485/12, allocations: 123.8 kB / 4.173 GB, free: 93.74 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/12, allocations: 85.11 kB / 4.173 GB, free: 93.66 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.235/12.23, allocations: 66.49 MB / 4.238 GB, free: 26.52 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/12.23, allocations: 0.7701 MB / 4.238 GB, free: 25.72 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/12.23, allocations: 99.36 kB / 4.238 GB, free: 25.62 MB / 0.4949 GB Notification: Performance of SimCode: time 9.12e-07/12.23, allocations: 0 / 4.238 GB, free: 25.62 MB / 0.4949 GB Notification: Performance of Templates: time 0.03576/12.27, allocations: 17.99 MB / 4.256 GB, free: 7.625 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches