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.001347/0.001347, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 83.86 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3887, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008031/0.3968, allocations: 5.301 MB / 0.5362 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.4009, allocations: 2.653 MB / 0.5388 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.401, allocations: 1.062 kB / 0.5388 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.4015, allocations: 38.81 kB / 0.5388 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.4051, allocations: 1.106 MB / 0.5399 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.4055, allocations: 151.1 kB / 0.54 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005415/0.406, allocations: 311.4 kB / 0.5403 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.749e-05/0.4061, allocations: 12.45 kB / 0.5404 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.4076, allocations: 0.736 MB / 0.5411 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.4079, allocations: 155.9 kB / 0.5412 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.4079, allocations: 6.469 kB / 0.5412 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.4105, allocations: 1.331 MB / 0.5425 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.4106, allocations: 37.08 kB / 0.5426 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.4107, allocations: 84.64 kB / 0.5426 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000902/0.4116, allocations: 0.5316 MB / 0.5432 GB, free: 4.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4116, allocations: 0 / 0.5432 GB, free: 4.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4116, allocations: 0 / 0.5432 GB, free: 4.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.4116, allocations: 0 / 0.5432 GB, free: 4.781 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.0009865/0.4126, allocations: 0.5687 MB / 0.5437 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4127, allocations: 10.27 kB / 0.5437 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.4131, allocations: 46.22 kB / 0.5438 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.4135, allocations: 214.3 kB / 0.544 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.4135, allocations: 11.28 kB / 0.544 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.4136, allocations: 17.97 kB / 0.544 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.414, allocations: 243.2 kB / 0.5442 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.414, allocations: 4.875 kB / 0.5442 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.414, allocations: 7.344 kB / 0.5442 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.414, allocations: 8.25 kB / 0.5443 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.4144, allocations: 232 kB / 0.5445 GB, free: 3.691 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.001287/0.4157, allocations: 1.362 MB / 0.5458 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.4159, allocations: 103.3 kB / 0.5459 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.416, allocations: 43.08 kB / 0.5459 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.4175, allocations: 2.043 MB / 0.5479 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.4177, allocations: 167 kB / 0.5481 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.4177, allocations: 0 / 0.5481 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008784/0.4186, allocations: 359.9 kB / 0.5484 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.4187, allocations: 261 kB / 0.5487 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4189, allocations: 153.7 kB / 0.5488 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4189, allocations: 33.7 kB / 0.5489 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.419, allocations: 143.8 kB / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.4191, allocations: 67.03 kB / 0.5491 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4192, allocations: 69.72 kB / 0.5491 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4193, allocations: 326.8 kB / 0.5494 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.4194, allocations: 43.97 kB / 0.5495 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.4196, allocations: 187.5 kB / 0.5497 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.4199, allocations: 258.5 kB / 0.5499 GB, free: 13.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4199, allocations: 4 kB / 0.5499 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004064/0.4203, allocations: 261.5 kB / 0.5502 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4203, allocations: 10.19 kB / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4203, allocations: 4 kB / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4203, allocations: 8.656 kB / 0.5502 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.4208, allocations: 99.81 kB / 0.5503 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003321/0.4211, allocations: 0.5978 MB / 0.5509 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.4213, allocations: 12 kB / 0.5509 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.4213, allocations: 23.98 kB / 0.5509 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.0001203/0.4214, allocations: 136.8 kB / 0.551 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.4215, allocations: 19.81 kB / 0.5511 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.4219, allocations: 231.9 kB / 0.5513 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.422, allocations: 4 kB / 0.5513 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.422, allocations: 3.938 kB / 0.5513 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.422, allocations: 0 / 0.5513 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.4224, allocations: 444.8 kB / 0.5517 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4225, allocations: 0 / 0.5517 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.4228, allocations: 59.88 kB / 0.5518 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.4228, allocations: 3.938 kB / 0.5518 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4228, allocations: 8.031 kB / 0.5518 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002695/0.4231, allocations: 0.59 MB / 0.5524 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4231, allocations: 0 / 0.5524 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.4233, allocations: 154.5 kB / 0.5525 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.4234, allocations: 92.98 kB / 0.5526 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.4234, allocations: 8 kB / 0.5526 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.4236, allocations: 4 kB / 0.5526 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.4236, allocations: 11.98 kB / 0.5526 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4236, allocations: 7.984 kB / 0.5526 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.774e-05/0.4237, allocations: 123.2 kB / 0.5527 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4237, allocations: 0 / 0.5527 GB, free: 10.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.4242, allocations: 135.9 kB / 0.5529 GB, free: 10.17 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.0005197/0.4247, allocations: 267.5 kB / 0.5531 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.4252, allocations: 156.9 kB / 0.5533 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4252, allocations: 4.125 kB / 0.5533 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.4254, allocations: 47.91 kB / 0.5533 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4258, allocations: 55.98 kB / 0.5534 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.4271, allocations: 0.7789 MB / 0.5541 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4274, allocations: 0.7206 MB / 0.5548 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.4276, allocations: 65.72 kB / 0.5549 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.4277, allocations: 31.42 kB / 0.5549 GB, free: 7.996 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4277, allocations: 192 / 0.5549 GB, free: 7.996 MB / 414.1 MB Notification: Performance of Templates: time 0.008083/0.4358, allocations: 4.655 MB / 0.5595 GB, free: 3.367 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