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.00114/0.00114, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008241/0.0008241, allocations: 93.36 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.257e-05/1.258e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.5956, allocations: 191.4 MB / 0.6913 GB, free: 11.92 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5959, allocations: 81.95 kB / 0.6914 GB, free: 11.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08853/0.6845, allocations: 35.76 MB / 0.7263 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6845, allocations: 0 / 0.7263 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.6846, allocations: 4 kB / 0.7263 GB, free: 12.05 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.001306/0.6859, allocations: 0.5874 MB / 0.7269 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6859, allocations: 11.97 kB / 0.7269 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004566/0.6864, allocations: 51.77 kB / 0.727 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.6867, allocations: 206.8 kB / 0.7272 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.6867, allocations: 4 kB / 0.7272 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.6867, allocations: 12 kB / 0.7272 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003079/0.687, allocations: 211.8 kB / 0.7274 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.6873, allocations: 209.1 kB / 0.7276 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6873, allocations: 0 / 0.7276 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.6874, allocations: 4 kB / 0.7276 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.6874, allocations: 4 kB / 0.7276 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.6895, allocations: 2.398 MB / 0.7299 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6897, allocations: 58.52 kB / 0.73 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.6897, allocations: 32.84 kB / 0.73 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.6901, allocations: 494.6 kB / 0.7305 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.6903, allocations: 106 kB / 0.7306 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.6903, allocations: 0 / 0.7306 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0008378/0.6911, allocations: 212.6 kB / 0.7308 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.6912, allocations: 102.8 kB / 0.7309 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.6913, allocations: 155.5 kB / 0.731 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.6913, allocations: 29.77 kB / 0.7311 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.6914, allocations: 163.5 kB / 0.7312 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.6915, allocations: 43.39 kB / 0.7313 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.6915, allocations: 0 / 0.7313 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6916, allocations: 326.8 kB / 0.7316 GB, free: 6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.6917, allocations: 31.98 kB / 0.7316 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.6918, allocations: 179.2 kB / 0.7318 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.6926, allocations: 131.8 kB / 0.7319 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6926, allocations: 0 / 0.7319 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009836/0.6936, allocations: 306 kB / 0.7322 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6936, allocations: 4 kB / 0.7322 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6936, allocations: 12 kB / 0.7322 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6937, allocations: 4 kB / 0.7322 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.6942, allocations: 104.1 kB / 0.7323 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004344/0.6946, allocations: 0.5944 MB / 0.7329 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.6948, allocations: 7.984 kB / 0.7329 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.6948, allocations: 23.94 kB / 0.7329 GB, free: 4.52 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 0.0001367/0.695, allocations: 124.8 kB / 0.733 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.695, allocations: 15.81 kB / 0.7331 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.6955, allocations: 153.2 kB / 0.7332 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6955, allocations: 4 kB / 0.7332 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6955, allocations: 0 / 0.7332 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6956, allocations: 3.984 kB / 0.7332 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.6961, allocations: 387.7 kB / 0.7336 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6961, allocations: 0 / 0.7336 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.6964, allocations: 59.88 kB / 0.7336 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6965, allocations: 0 / 0.7336 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6965, allocations: 4 kB / 0.7336 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003409/0.6968, allocations: 0.5899 MB / 0.7342 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6968, allocations: 0 / 0.7342 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.6972, allocations: 226 kB / 0.7344 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.6973, allocations: 116.9 kB / 0.7345 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.6973, allocations: 3.953 kB / 0.7345 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.6975, allocations: 4 kB / 0.7346 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.6975, allocations: 11.98 kB / 0.7346 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.6976, allocations: 8 kB / 0.7346 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.568e-05/0.6976, allocations: 116.5 kB / 0.7347 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6977, allocations: 0 / 0.7347 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006783/0.6983, allocations: 143.9 kB / 0.7348 GB, free: 2.445 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.0006158/0.699, allocations: 264.3 kB / 0.7351 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.6994, allocations: 133 kB / 0.7352 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6994, allocations: 4 kB / 0.7352 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.6995, allocations: 35.92 kB / 0.7352 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.6999, allocations: 27.97 kB / 0.7353 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/0.7275, allocations: 11.82 MB / 0.7468 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.7278, allocations: 0.7165 MB / 0.7475 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.7282, allocations: 79.92 kB / 0.7476 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.7283, allocations: 27.42 kB / 0.7476 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/0.7283, allocations: 0 / 0.7476 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of Templates: time 0.007459/0.7358, allocations: 3.583 MB / 0.7511 GB, free: 1.676 MB / 0.5261 GB 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/jenkins/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