Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009644/0.0009645, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008567, allocations: 103.5 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1735/0.1735, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.975e-05, allocations: 224 / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1232, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5003/0.6235, allocations: 191 MB / 0.6883 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.6239, allocations: 79.95 kB / 0.6884 GB, free: 10 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3684/0.9923, allocations: 35.53 MB / 0.7231 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9924, allocations: 0 / 0.7231 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.9924, allocations: 2.469 kB / 0.7231 GB, free: 177.7 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001279/0.9937, allocations: 0.5831 MB / 0.7236 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.9937, allocations: 9.781 kB / 0.7236 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.9942, allocations: 52.86 kB / 0.7237 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.9945, allocations: 216.4 kB / 0.7239 GB, free: 177 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.9945, allocations: 13.12 kB / 0.7239 GB, free: 177 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.9945, allocations: 20.61 kB / 0.7239 GB, free: 177 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.995, allocations: 232.8 kB / 0.7241 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.995, allocations: 7.016 kB / 0.7242 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.995, allocations: 9.5 kB / 0.7242 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.995, allocations: 4.875 kB / 0.7242 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.9954, allocations: 229 kB / 0.7244 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.9964, allocations: 1.336 MB / 0.7257 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.9966, allocations: 80.8 kB / 0.7258 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.9967, allocations: 42.89 kB / 0.7258 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.998, allocations: 2.099 MB / 0.7279 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.9982, allocations: 160.6 kB / 0.728 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/0.9982, allocations: 3.938 kB / 0.728 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.000822/0.999, allocations: 320.9 kB / 0.7283 GB, free: 173.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.9991, allocations: 265.2 kB / 0.7286 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.9992, allocations: 150.7 kB / 0.7287 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.9993, allocations: 30.45 kB / 0.7287 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.9993, allocations: 140.5 kB / 0.7289 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.9994, allocations: 69.28 kB / 0.7289 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.9994, allocations: 4.406 kB / 0.7289 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.9995, allocations: 325.2 kB / 0.7293 GB, free: 172.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.9995, allocations: 44.03 kB / 0.7293 GB, free: 172.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.9997, allocations: 179.7 kB / 0.7295 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.9998, allocations: 79.52 kB / 0.7295 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9998, allocations: 2.031 kB / 0.7295 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004245/1, allocations: 249 kB / 0.7298 GB, free: 172 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1, allocations: 9.031 kB / 0.7298 GB, free: 172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1, allocations: 8.609 kB / 0.7298 GB, free: 172 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/1, allocations: 7.406 kB / 0.7298 GB, free: 172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/1.001, allocations: 102.2 kB / 0.7299 GB, free: 172 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002819/1.001, allocations: 0.5952 MB / 0.7305 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/1.001, allocations: 15.38 kB / 0.7305 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/1.001, allocations: 25.91 kB / 0.7305 GB, free: 171.4 MB / 0.5105 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 9.372e-05/1.002, allocations: 125.3 kB / 0.7306 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/1.002, allocations: 17.84 kB / 0.7307 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/1.002, allocations: 217.5 kB / 0.7309 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.002, allocations: 1.188 kB / 0.7309 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.002, allocations: 7.438 kB / 0.7309 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.002, allocations: 5.078 kB / 0.7309 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/1.002, allocations: 225 kB / 0.7311 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.002, allocations: 3.953 kB / 0.7311 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/1.003, allocations: 49.62 kB / 0.7312 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.003, allocations: 2.188 kB / 0.7312 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/1.003, allocations: 5.094 kB / 0.7312 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001945/1.003, allocations: 0.5816 MB / 0.7317 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.003, allocations: 1.125 kB / 0.7317 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/1.003, allocations: 156.9 kB / 0.7319 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/1.003, allocations: 122 kB / 0.732 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/1.003, allocations: 1.125 kB / 0.732 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.003, allocations: 6.25 kB / 0.732 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/1.003, allocations: 10.66 kB / 0.732 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/1.003, allocations: 9.281 kB / 0.732 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.282e-05/1.004, allocations: 133 kB / 0.7321 GB, free: 170.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.004, allocations: 0 / 0.7321 GB, free: 170.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006606/1.004, allocations: 138.5 kB / 0.7323 GB, free: 170.1 MB / 0.5105 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.0005709/1.005, allocations: 257.5 kB / 0.7325 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004457/1.005, allocations: 147.9 kB / 0.7327 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.005, allocations: 0 / 0.7327 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/1.005, allocations: 48.11 kB / 0.7327 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/1.006, allocations: 34 kB / 0.7327 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/1.033, allocations: 11.8 MB / 0.7443 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/1.034, allocations: 0.7163 MB / 0.745 GB, free: 167 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003244/1.034, allocations: 78.69 kB / 0.745 GB, free: 167 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/1.034, allocations: 30.14 kB / 0.7451 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/1.034, allocations: 0 / 0.7451 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.007064/1.041, allocations: 3.665 MB / 0.7486 GB, free: 165.9 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches