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.001507/0.001507, allocations: 180.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 91.45 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2992/0.2992, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.343e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.27/10.68, allocations: 3.569 GB / 4.035 GB, free: 17.91 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/10.68, allocations: 71.78 kB / 4.035 GB, free: 17.88 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.7747/11.46, allocations: 105.7 MB / 4.138 GB, free: 121 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.603e-06/11.46, allocations: 0 / 4.138 GB, free: 121 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.512e-05/11.46, allocations: 4 kB / 4.138 GB, free: 121 MB / 0.4952 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.004223/11.46, allocations: 1.126 MB / 4.14 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/11.46, allocations: 8.031 kB / 4.14 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/11.46, allocations: 35.7 kB / 4.14 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/11.46, allocations: 258.6 kB / 4.14 GB, free: 119.5 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/11.46, allocations: 115.6 kB / 4.14 GB, free: 119.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/11.46, allocations: 20 kB / 4.14 GB, free: 119.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/11.46, allocations: 1.188 MB / 4.141 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/11.46, allocations: 0.5214 MB / 4.142 GB, free: 117.6 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/11.46, allocations: 3.938 kB / 4.142 GB, free: 117.6 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/11.46, allocations: 0 / 4.142 GB, free: 117.6 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.649e-05/11.46, allocations: 28.55 kB / 4.142 GB, free: 117.6 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005757/11.47, allocations: 4.29 MB / 4.146 GB, free: 112.7 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/11.47, allocations: 125.9 kB / 4.146 GB, free: 112.5 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/11.47, allocations: 44.86 kB / 4.146 GB, free: 112.5 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003394/11.47, allocations: 356.4 kB / 4.146 GB, free: 112.1 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/11.47, allocations: 34.56 kB / 4.146 GB, free: 112 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=18): time 3.387e-06/11.47, allocations: 3.984 kB / 4.146 GB, free: 112 MB / 0.4952 GB Notification: Performance of matching and sorting (n=19): time 0.001523/11.47, allocations: 312.6 kB / 4.147 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/11.47, allocations: 55.41 kB / 4.147 GB, free: 111.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/11.47, allocations: 253.9 kB / 4.147 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/11.47, allocations: 29.7 kB / 4.147 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/11.47, allocations: 341 kB / 4.147 GB, free: 111 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/11.47, allocations: 71.09 kB / 4.147 GB, free: 110.9 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/11.47, allocations: 3.938 kB / 4.147 GB, free: 110.9 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/11.47, allocations: 330.8 kB / 4.148 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/11.47, allocations: 93.52 kB / 4.148 GB, free: 110.5 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/11.47, allocations: 397.1 kB / 4.148 GB, free: 110 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/11.48, allocations: 330.9 kB / 4.148 GB, free: 109.7 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/11.48, allocations: 4 kB / 4.148 GB, free: 109.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002942/11.48, allocations: 0.6569 MB / 4.149 GB, free: 109 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/11.48, allocations: 8.938 kB / 4.149 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/11.48, allocations: 12 kB / 4.149 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/11.48, allocations: 19.95 kB / 4.149 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/11.48, allocations: 219.8 kB / 4.149 GB, free: 108.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006565/11.48, allocations: 1.207 MB / 4.151 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/11.48, allocations: 24.11 kB / 4.151 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/11.48, allocations: 79.92 kB / 4.151 GB, free: 107.4 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.0002251/11.48, allocations: 132.6 kB / 4.151 GB, free: 107.2 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/11.48, allocations: 23.72 kB / 4.151 GB, free: 107.2 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007924/11.48, allocations: 220.1 kB / 4.151 GB, free: 107 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/11.48, allocations: 4 kB / 4.151 GB, free: 107 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/11.48, allocations: 0 / 4.151 GB, free: 107 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/11.48, allocations: 3.984 kB / 4.151 GB, free: 107 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/11.48, allocations: 0.5146 MB / 4.152 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/11.48, allocations: 0 / 4.152 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/11.48, allocations: 67.89 kB / 4.152 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/11.49, allocations: 3.953 kB / 4.152 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/11.49, allocations: 7.984 kB / 4.152 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005912/11.49, allocations: 1.192 MB / 4.153 GB, free: 105.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/11.49, allocations: 0 / 4.153 GB, free: 105.1 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/11.49, allocations: 289.6 kB / 4.153 GB, free: 104.8 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/11.49, allocations: 160.9 kB / 4.153 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/11.49, allocations: 4 kB / 4.153 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/11.49, allocations: 4 kB / 4.153 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/11.49, allocations: 15.97 kB / 4.153 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/11.49, allocations: 19.89 kB / 4.153 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0002241/11.49, allocations: 182 kB / 4.153 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.01e-07/11.49, allocations: 0 / 4.153 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002882/11.49, allocations: 0.6125 MB / 4.154 GB, free: 103.8 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.004721/11.5, allocations: 1.444 MB / 4.155 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001223/11.5, allocations: 305.5 kB / 4.156 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/11.5, allocations: 0 / 4.156 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/11.5, allocations: 88.7 kB / 4.156 GB, free: 102 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/11.5, allocations: 53.84 kB / 4.156 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2214/11.72, allocations: 60.29 MB / 4.215 GB, free: 41.02 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/11.72, allocations: 0.7649 MB / 4.215 GB, free: 40.23 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/11.72, allocations: 115.3 kB / 4.216 GB, free: 40.12 MB / 0.4952 GB Notification: Performance of SimCode: time 9.32e-07/11.72, allocations: 0 / 4.216 GB, free: 40.12 MB / 0.4952 GB Notification: Performance of Templates: time 0.03767/11.76, allocations: 18.34 MB / 4.233 GB, free: 21.76 MB / 0.4952 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