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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4414, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008017/0.4494, allocations: 5.3 MB / 0.5369 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.4532, allocations: 2.648 MB / 0.5394 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.4533, allocations: 1.5 kB / 0.5394 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.4537, allocations: 43.06 kB / 0.5395 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.4574, allocations: 1.109 MB / 0.5406 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.4578, allocations: 148.4 kB / 0.5407 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.4584, allocations: 310.8 kB / 0.541 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.4585, allocations: 12.61 kB / 0.541 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.46, allocations: 0.7411 MB / 0.5417 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.4604, allocations: 151.8 kB / 0.5419 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.4604, allocations: 11.31 kB / 0.5419 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.4633, allocations: 1.338 MB / 0.5432 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.4634, allocations: 37.08 kB / 0.5432 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.4636, allocations: 80.16 kB / 0.5433 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.4648, allocations: 0.5273 MB / 0.5438 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.4648, allocations: 0.9375 kB / 0.5438 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4648, allocations: 0 / 0.5438 GB, free: 4.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.4648, allocations: 0 / 0.5438 GB, free: 4.77 MB / 398.1 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.00129/0.4661, allocations: 0.5718 MB / 0.5444 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4661, allocations: 10.77 kB / 0.5444 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.4667, allocations: 50.64 kB / 0.5444 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.467, allocations: 206.3 kB / 0.5446 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.4671, allocations: 14.59 kB / 0.5447 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4671, allocations: 18.47 kB / 0.5447 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.4676, allocations: 240.1 kB / 0.5449 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4676, allocations: 0 / 0.5449 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.4676, allocations: 11.53 kB / 0.5449 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4676, allocations: 7.484 kB / 0.5449 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.468, allocations: 236.3 kB / 0.5451 GB, free: 3.676 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.4695, allocations: 1.363 MB / 0.5465 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.4697, allocations: 99.44 kB / 0.5466 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.4698, allocations: 39.08 kB / 0.5466 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.4716, allocations: 2.051 MB / 0.5486 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.4718, allocations: 163 kB / 0.5488 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.4719, allocations: 0 / 0.5488 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009876/0.4729, allocations: 362.9 kB / 0.5491 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.473, allocations: 266 kB / 0.5494 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4732, allocations: 157.7 kB / 0.5495 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.4732, allocations: 33.7 kB / 0.5496 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4733, allocations: 139.8 kB / 0.5497 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.4734, allocations: 71.03 kB / 0.5498 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.4735, allocations: 65.59 kB / 0.5498 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4737, allocations: 322.8 kB / 0.5501 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.4738, allocations: 43.97 kB / 0.5502 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.474, allocations: 187.4 kB / 0.5503 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.4743, allocations: 258.5 kB / 0.5506 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4743, allocations: 4 kB / 0.5506 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004733/0.4748, allocations: 257.1 kB / 0.5508 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4748, allocations: 8.656 kB / 0.5508 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4749, allocations: 4 kB / 0.5509 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.4749, allocations: 12 kB / 0.5509 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.4754, allocations: 103.9 kB / 0.551 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003589/0.4758, allocations: 0.5937 MB / 0.5515 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.4759, allocations: 12 kB / 0.5516 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.476, allocations: 20 kB / 0.5516 GB, free: 12.36 MB / 414.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.4761, allocations: 148.8 kB / 0.5517 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.4762, allocations: 19.81 kB / 0.5517 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.4766, allocations: 224.5 kB / 0.5519 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4767, allocations: 4 kB / 0.552 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4767, allocations: 4.031 kB / 0.552 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4767, allocations: 3.938 kB / 0.552 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.4772, allocations: 444.8 kB / 0.5524 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4772, allocations: 0 / 0.5524 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.4775, allocations: 59.94 kB / 0.5524 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4776, allocations: 7.875 kB / 0.5524 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4776, allocations: 0 / 0.5524 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003593/0.4779, allocations: 0.5939 MB / 0.553 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.478, allocations: 0 / 0.553 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.4782, allocations: 146.5 kB / 0.5532 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.4783, allocations: 96.98 kB / 0.5533 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.4784, allocations: 4 kB / 0.5533 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.4785, allocations: 12 kB / 0.5533 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.4786, allocations: 12.05 kB / 0.5533 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.4786, allocations: 4 kB / 0.5533 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.4787, allocations: 131.2 kB / 0.5534 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4787, allocations: 0 / 0.5534 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006216/0.4794, allocations: 135.9 kB / 0.5535 GB, free: 10.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008465/0.4802, allocations: 263.1 kB / 0.5538 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000573/0.4808, allocations: 155.7 kB / 0.5539 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.4808, allocations: 0 / 0.5539 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.4811, allocations: 57.16 kB / 0.554 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.4815, allocations: 56.06 kB / 0.5541 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4832, allocations: 0.8009 MB / 0.5548 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.4835, allocations: 0.7167 MB / 0.5555 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4836, allocations: 35.42 kB / 0.5556 GB, free: 8.016 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4836, allocations: 0 / 0.5556 GB, free: 8.016 MB / 414.1 MB Notification: Performance of Templates: time 0.009807/0.4934, allocations: 5.032 MB / 0.5605 GB, free: 2.996 MB / 414.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches