Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002223/0.002223, allocations: 181.6 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.14/2.14, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001181/0.001181, allocations: 90.64 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.2724/0.2724, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.096e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6223/0.7448, allocations: 194.3 MB / 0.6625 GB, free: 10.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.7452, allocations: 85.67 kB / 0.6626 GB, free: 10.26 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1919/0.9371, allocations: 44.96 MB / 0.7065 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9371, allocations: 0 / 0.7065 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.9372, allocations: 4 kB / 0.7065 GB, free: 0.7227 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001635/0.9388, allocations: 0.6264 MB / 0.7071 GB, free: 52 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.9389, allocations: 12.03 kB / 0.7072 GB, free: 40 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.324/1.263, allocations: 45.45 kB / 0.7072 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/1.263, allocations: 205.9 kB / 0.7074 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/1.263, allocations: 12 kB / 0.7074 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/1.263, allocations: 16.22 kB / 0.7074 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/1.264, allocations: 236.9 kB / 0.7077 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.264, allocations: 2.734 kB / 0.7077 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/1.264, allocations: 8.688 kB / 0.7077 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/1.264, allocations: 6.562 kB / 0.7077 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/1.265, allocations: 230.8 kB / 0.7079 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/1.267, allocations: 1.347 MB / 0.7092 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/1.267, allocations: 83.59 kB / 0.7093 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/1.267, allocations: 46.58 kB / 0.7093 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001798/1.269, allocations: 1.872 MB / 0.7112 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/1.269, allocations: 165.7 kB / 0.7113 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 4.318e-06/1.269, allocations: 1.219 kB / 0.7113 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001273/1.271, allocations: 320.6 kB / 0.7116 GB, free: 168 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/1.271, allocations: 263.6 kB / 0.7119 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/1.271, allocations: 142.7 kB / 0.712 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/1.271, allocations: 34.23 kB / 0.712 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/1.271, allocations: 231.8 kB / 0.7123 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/1.271, allocations: 55.77 kB / 0.7123 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/1.271, allocations: 5.062 kB / 0.7123 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/1.271, allocations: 321.5 kB / 0.7126 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/1.272, allocations: 41.89 kB / 0.7127 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.272, allocations: 180.8 kB / 0.7128 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/1.272, allocations: 72.98 kB / 0.7129 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.272, allocations: 1.219 kB / 0.7129 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007633/1.273, allocations: 263.9 kB / 0.7132 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.273, allocations: 6.594 kB / 0.7132 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.273, allocations: 13.03 kB / 0.7132 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.273, allocations: 9.562 kB / 0.7132 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/1.274, allocations: 99.23 kB / 0.7133 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003092/1.274, allocations: 0.5912 MB / 0.7139 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/1.274, allocations: 16.36 kB / 0.7139 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/1.274, allocations: 25.92 kB / 0.7139 GB, free: 166.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001437/1.275, allocations: 122.1 kB / 0.714 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/1.275, allocations: 18.23 kB / 0.714 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008809/1.276, allocations: 245.4 kB / 0.7143 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/1.276, allocations: 1.031 kB / 0.7143 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.276, allocations: 5.438 kB / 0.7143 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.276, allocations: 1.547 kB / 0.7143 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/1.276, allocations: 225.4 kB / 0.7145 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.276, allocations: 1.734 kB / 0.7145 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/1.277, allocations: 45.28 kB / 0.7145 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/1.277, allocations: 2.578 kB / 0.7145 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/1.277, allocations: 4.719 kB / 0.7145 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002488/1.277, allocations: 0.5892 MB / 0.7151 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.277, allocations: 1.5 kB / 0.7151 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/1.277, allocations: 139.7 kB / 0.7153 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/1.277, allocations: 132.4 kB / 0.7154 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/1.277, allocations: 9.516 kB / 0.7154 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/1.278, allocations: 11.16 kB / 0.7154 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/1.278, allocations: 7.156 kB / 0.7154 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/1.278, allocations: 6.531 kB / 0.7154 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001635/1.278, allocations: 126.5 kB / 0.7155 GB, free: 165 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/1.278, allocations: 3.562 kB / 0.7155 GB, free: 165 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00156/1.28, allocations: 193.3 kB / 0.7157 GB, free: 165 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001109/1.281, allocations: 349.6 kB / 0.7161 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008211/1.282, allocations: 149 kB / 0.7162 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.282, allocations: 3.812 kB / 0.7162 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/1.282, allocations: 46.95 kB / 0.7162 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/1.282, allocations: 23.86 kB / 0.7163 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04603/1.328, allocations: 12.04 MB / 0.728 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/1.329, allocations: 0.7178 MB / 0.7287 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/1.329, allocations: 34.02 kB / 0.7288 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/1.329, allocations: 0 / 0.7288 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.01353/1.342, allocations: 5.56 MB / 0.7342 GB, free: 163.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches