Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 196.4 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009153/0.0009151, allocations: 96.62 kB / 297.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4095/0.4095, allocations: 44.81 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4296, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5302/0.9598, allocations: 192.1 MB / 0.706 GB, free: 139.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.9602, allocations: 90.61 kB / 0.7061 GB, free: 139.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08087/1.041, allocations: 33.81 MB / 0.7391 GB, free: 113.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.849e-06/1.041, allocations: 4 kB / 0.7391 GB, free: 113.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/1.041, allocations: 0 / 0.7391 GB, free: 113.3 MB / 490.7 MB 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.001554/1.043, allocations: 0.5924 MB / 0.7397 GB, free: 112.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.043, allocations: 15.97 kB / 0.7397 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007375/1.044, allocations: 48.7 kB / 0.7397 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/1.044, allocations: 212.1 kB / 0.7399 GB, free: 112.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/1.044, allocations: 8.375 kB / 0.7399 GB, free: 112.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/1.044, allocations: 20.38 kB / 0.74 GB, free: 112.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/1.045, allocations: 242.4 kB / 0.7402 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.045, allocations: 192 / 0.7402 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/1.045, allocations: 15.94 kB / 0.7402 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.045, allocations: 4 kB / 0.7402 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/1.045, allocations: 237.3 kB / 0.7404 GB, free: 111.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/1.047, allocations: 1.311 MB / 0.7417 GB, free: 110.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/1.047, allocations: 90.48 kB / 0.7418 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/1.047, allocations: 40.84 kB / 0.7419 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/1.049, allocations: 2.055 MB / 0.7439 GB, free: 107.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/1.049, allocations: 163 kB / 0.744 GB, free: 107.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 2.836e-06/1.049, allocations: 0 / 0.744 GB, free: 107.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.001383/1.051, allocations: 351.5 kB / 0.7443 GB, free: 107.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/1.051, allocations: 270 kB / 0.7446 GB, free: 106.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/1.051, allocations: 160.5 kB / 0.7448 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.051, allocations: 33.7 kB / 0.7448 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/1.051, allocations: 151.6 kB / 0.7449 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/1.051, allocations: 59.19 kB / 0.745 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/1.051, allocations: 4 kB / 0.745 GB, free: 106.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/1.051, allocations: 326.8 kB / 0.7453 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/1.051, allocations: 39.97 kB / 0.7453 GB, free: 106 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/1.052, allocations: 182.4 kB / 0.7455 GB, free: 105.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/1.052, allocations: 257.9 kB / 0.7458 GB, free: 105.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.052, allocations: 0 / 0.7458 GB, free: 105.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006681/1.053, allocations: 268.9 kB / 0.746 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.053, allocations: 4 kB / 0.746 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.053, allocations: 8.656 kB / 0.746 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.053, allocations: 8 kB / 0.746 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/1.054, allocations: 99.88 kB / 0.7461 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003156/1.054, allocations: 0.5938 MB / 0.7467 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/1.054, allocations: 15.84 kB / 0.7467 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/1.054, allocations: 24 kB / 0.7468 GB, free: 104.4 MB / 490.7 MB 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 () * Number of clocked 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.0001607/1.054, allocations: 141.8 kB / 0.7469 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/1.055, allocations: 15.91 kB / 0.7469 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/1.055, allocations: 223.3 kB / 0.7471 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.055, allocations: 0 / 0.7471 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.055, allocations: 0 / 0.7471 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.055, allocations: 4 kB / 0.7471 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/1.056, allocations: 225.5 kB / 0.7473 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.056, allocations: 4 kB / 0.7473 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/1.056, allocations: 43.95 kB / 0.7474 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.056, allocations: 4 kB / 0.7474 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.056, allocations: 0 / 0.7474 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002437/1.057, allocations: 0.5898 MB / 0.748 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.057, allocations: 4.031 kB / 0.748 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/1.057, allocations: 141.8 kB / 0.7481 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.057, allocations: 112.9 kB / 0.7482 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/1.057, allocations: 4 kB / 0.7482 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.057, allocations: 15.92 kB / 0.7482 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/1.057, allocations: 4 kB / 0.7482 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/1.057, allocations: 7.984 kB / 0.7482 GB, free: 102.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001304/1.057, allocations: 131.7 kB / 0.7484 GB, free: 102.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.057, allocations: 0 / 0.7484 GB, free: 102.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009903/1.058, allocations: 159.8 kB / 0.7485 GB, free: 102.5 MB / 490.7 MB 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 () * Number of clocked 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.0009285/1.059, allocations: 252.4 kB / 0.7488 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006894/1.06, allocations: 164.5 kB / 0.7489 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.06, allocations: 0 / 0.7489 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/1.06, allocations: 51.89 kB / 0.749 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/1.061, allocations: 32.95 kB / 0.749 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.088, allocations: 8.73 MB / 0.7575 GB, free: 93.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/1.088, allocations: 0.7128 MB / 0.7582 GB, free: 92.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005831/1.089, allocations: 77.7 kB / 0.7583 GB, free: 92.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/1.089, allocations: 27.44 kB / 0.7583 GB, free: 92.35 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/1.089, allocations: 0 / 0.7583 GB, free: 92.35 MB / 490.7 MB Notification: Performance of Templates: time 0.01185/1.101, allocations: 3.841 MB / 0.7621 GB, free: 88.53 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches