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.001516/0.001517, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4317, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008299/0.44, allocations: 5.302 MB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.4438, allocations: 2.645 MB / 0.5388 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.444, allocations: 1.094 kB / 0.5388 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.4444, allocations: 42.28 kB / 0.5388 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.4485, allocations: 1.109 MB / 0.5399 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.449, allocations: 151.4 kB / 0.5401 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006467/0.4496, allocations: 307.2 kB / 0.5403 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.42e-05/0.4497, allocations: 12.33 kB / 0.5404 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.4512, allocations: 0.7404 MB / 0.5411 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.4516, allocations: 151.7 kB / 0.5412 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.4517, allocations: 7.344 kB / 0.5412 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.4545, allocations: 1.327 MB / 0.5425 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.4546, allocations: 44.61 kB / 0.5426 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.4548, allocations: 81.52 kB / 0.5426 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.4562, allocations: 0.5313 MB / 0.5432 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4562, allocations: 0 / 0.5432 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4562, allocations: 0 / 0.5432 GB, free: 4.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.4562, allocations: 1.062 kB / 0.5432 GB, free: 4.762 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.0009995/0.4572, allocations: 0.5633 MB / 0.5437 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4573, allocations: 14.61 kB / 0.5437 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.4578, allocations: 46.94 kB / 0.5438 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.4581, allocations: 209.5 kB / 0.544 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4582, allocations: 15.44 kB / 0.544 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.4582, allocations: 18.41 kB / 0.544 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.4587, allocations: 239.8 kB / 0.5442 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4587, allocations: 4 kB / 0.5442 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.4588, allocations: 15.45 kB / 0.5443 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4588, allocations: 4.469 kB / 0.5443 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.4592, allocations: 232.5 kB / 0.5445 GB, free: 3.672 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.001623/0.4608, allocations: 1.366 MB / 0.5458 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.4611, allocations: 102.5 kB / 0.5459 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.4612, allocations: 43.06 kB / 0.546 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001954/0.4631, allocations: 2.043 MB / 0.5479 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.4634, allocations: 163 kB / 0.5481 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4634, allocations: 0 / 0.5481 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001093/0.4645, allocations: 363.8 kB / 0.5485 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.4647, allocations: 265 kB / 0.5487 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.4649, allocations: 157 kB / 0.5489 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4649, allocations: 33.7 kB / 0.5489 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4651, allocations: 139.8 kB / 0.549 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.4651, allocations: 71.28 kB / 0.5491 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.4652, allocations: 69.59 kB / 0.5492 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4654, allocations: 322.8 kB / 0.5495 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.4655, allocations: 43.97 kB / 0.5495 GB, free: 13.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.4657, allocations: 187.4 kB / 0.5497 GB, free: 13.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.466, allocations: 262.5 kB / 0.5499 GB, free: 13.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4661, allocations: 0 / 0.5499 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004478/0.4665, allocations: 257.3 kB / 0.5502 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4665, allocations: 14.17 kB / 0.5502 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4666, allocations: 4 kB / 0.5502 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.4666, allocations: 8 kB / 0.5502 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.4671, allocations: 95.88 kB / 0.5503 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004373/0.4675, allocations: 0.5986 MB / 0.5509 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.4677, allocations: 12 kB / 0.5509 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.4677, allocations: 23.98 kB / 0.5509 GB, free: 12.33 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.0001315/0.4679, allocations: 137.7 kB / 0.551 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.4679, allocations: 19.81 kB / 0.5511 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.4684, allocations: 231.9 kB / 0.5513 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4684, allocations: 8 kB / 0.5513 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4684, allocations: 3.938 kB / 0.5513 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4684, allocations: 0 / 0.5513 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.4689, allocations: 448.7 kB / 0.5517 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4689, allocations: 0 / 0.5517 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.4693, allocations: 56.05 kB / 0.5518 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4693, allocations: 11.88 kB / 0.5518 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4693, allocations: 4 kB / 0.5518 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003783/0.4697, allocations: 0.5821 MB / 0.5524 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4697, allocations: 3.984 kB / 0.5524 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.4699, allocations: 150.6 kB / 0.5525 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.47, allocations: 96.98 kB / 0.5526 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.4701, allocations: 4 kB / 0.5526 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.4702, allocations: 8 kB / 0.5526 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.4702, allocations: 7.984 kB / 0.5526 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.4703, allocations: 7.984 kB / 0.5526 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.4704, allocations: 127.2 kB / 0.5527 GB, free: 10.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4704, allocations: 4 kB / 0.5528 GB, free: 10.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006359/0.471, allocations: 135.9 kB / 0.5529 GB, free: 10.13 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.0006302/0.4717, allocations: 264 kB / 0.5531 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.4722, allocations: 160.7 kB / 0.5533 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4722, allocations: 0 / 0.5533 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.4724, allocations: 51.91 kB / 0.5533 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4728, allocations: 47.05 kB / 0.5534 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4744, allocations: 0.7722 MB / 0.5541 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4747, allocations: 0.7206 MB / 0.5548 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.4749, allocations: 81.62 kB / 0.5549 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.475, allocations: 31.42 kB / 0.5549 GB, free: 7.957 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.475, allocations: 4 kB / 0.555 GB, free: 7.953 MB / 414.1 MB Notification: Performance of Templates: time 0.01024/0.4853, allocations: 4.607 MB / 0.5594 GB, free: 3.371 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches