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.002214/0.002218, allocations: 180.9 kB / 13.66 MB, free: 1.664 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.165/2.165, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001175/0.001175, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.275/0.275, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.282e-05/5.313e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1667, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.03/11.19, allocations: 3.57 GB / 4.043 GB, free: 40.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/11.2, allocations: 77.27 kB / 4.043 GB, free: 40.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7913/11.99, allocations: 106.8 MB / 4.147 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.964e-06/11.99, allocations: 0 / 4.147 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.605e-05/11.99, allocations: 8 kB / 4.147 GB, free: 137.3 MB / 0.4948 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.004514/11.99, allocations: 1.124 MB / 4.148 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/11.99, allocations: 11.97 kB / 4.148 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/11.99, allocations: 31.72 kB / 4.148 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/11.99, allocations: 246.7 kB / 4.148 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/11.99, allocations: 131.6 kB / 4.149 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/11.99, allocations: 31.98 kB / 4.149 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/11.99, allocations: 0.562 MB / 4.149 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/11.99, allocations: 3.984 kB / 4.149 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/11.99, allocations: 15.98 kB / 4.149 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/11.99, allocations: 28.55 kB / 4.149 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/12, allocations: 1.24 MB / 4.15 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/12, allocations: 1.932 MB / 4.152 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/12, allocations: 260.2 kB / 4.153 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/12, allocations: 118.1 kB / 4.153 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004785/12, allocations: 3.432 MB / 4.156 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/12, allocations: 34.56 kB / 4.156 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 4.418e-06/12, allocations: 4 kB / 4.156 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.002573/12.01, allocations: 0.6663 MB / 4.157 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/12.01, allocations: 63.34 kB / 4.157 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/12.01, allocations: 181.4 kB / 4.157 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/12.01, allocations: 33.69 kB / 4.157 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/12.01, allocations: 270.2 kB / 4.157 GB, free: 126 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/12.01, allocations: 153.7 kB / 4.157 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/12.01, allocations: 12 kB / 4.157 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/12.01, allocations: 334.8 kB / 4.158 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/12.01, allocations: 109.5 kB / 4.158 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/12.01, allocations: 410.9 kB / 4.158 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/12.01, allocations: 173 kB / 4.158 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/12.01, allocations: 8 kB / 4.158 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001409/12.01, allocations: 0.5587 MB / 4.159 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/12.01, allocations: 12.06 kB / 4.159 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/12.01, allocations: 12 kB / 4.159 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/12.01, allocations: 16 kB / 4.159 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/12.01, allocations: 203.7 kB / 4.159 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005523/12.01, allocations: 1.195 MB / 4.16 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/12.01, allocations: 27.98 kB / 4.16 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/12.01, allocations: 71.97 kB / 4.16 GB, free: 122.6 MB / 0.4948 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 () * 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.0001911/12.01, allocations: 148.7 kB / 4.161 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/12.01, allocations: 35.58 kB / 4.161 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/12.02, allocations: 0.6973 MB / 4.161 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/12.02, allocations: 4 kB / 4.161 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/12.02, allocations: 3.938 kB / 4.161 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/12.02, allocations: 0 / 4.161 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/12.02, allocations: 0.6366 MB / 4.162 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/12.02, allocations: 0 / 4.162 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007892/12.02, allocations: 99.92 kB / 4.162 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/12.02, allocations: 4 kB / 4.162 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/12.02, allocations: 7.984 kB / 4.162 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004493/12.02, allocations: 1.176 MB / 4.163 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/12.02, allocations: 0 / 4.163 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/12.02, allocations: 348.2 kB / 4.163 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/12.02, allocations: 152.7 kB / 4.164 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/12.02, allocations: 8 kB / 4.164 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/12.02, allocations: 11.98 kB / 4.164 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/12.02, allocations: 27.89 kB / 4.164 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/12.02, allocations: 12 kB / 4.164 GB, free: 119 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002456/12.02, allocations: 183.1 kB / 4.164 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/12.02, allocations: 4 kB / 4.164 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003008/12.02, allocations: 0.6436 MB / 4.164 GB, free: 118.2 MB / 0.4948 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 () * 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.004727/12.03, allocations: 1.336 MB / 4.166 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001429/12.03, allocations: 369.3 kB / 4.166 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/12.03, allocations: 4 kB / 4.166 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/12.03, allocations: 123.8 kB / 4.166 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/12.03, allocations: 85.48 kB / 4.166 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2376/12.27, allocations: 65.95 MB / 4.231 GB, free: 49.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/12.27, allocations: 0.7816 MB / 4.232 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/12.27, allocations: 95.36 kB / 4.232 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.432e-06/12.27, allocations: 0 / 4.232 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.03545/12.31, allocations: 17.93 MB / 4.249 GB, free: 30.8 MB / 0.4948 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