Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,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.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,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.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 204.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 79.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4332, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007458/0.4407, allocations: 5.302 MB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.444, allocations: 2.645 MB / 0.5388 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.4441, allocations: 2.281 kB / 0.5388 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.4444, allocations: 46.42 kB / 0.5388 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.4476, allocations: 1.074 MB / 0.5399 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.4481, allocations: 146.5 kB / 0.54 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005946/0.4487, allocations: 311.9 kB / 0.5403 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.4488, allocations: 12.11 kB / 0.5403 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.4502, allocations: 0.6494 MB / 0.541 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.4506, allocations: 155.4 kB / 0.5411 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.4507, allocations: 7.312 kB / 0.5411 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.4534, allocations: 1.212 MB / 0.5423 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.4535, allocations: 37.7 kB / 0.5423 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.4536, allocations: 80.91 kB / 0.5424 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.4545, allocations: 0.5192 MB / 0.5429 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4545, allocations: 0 / 0.5429 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4545, allocations: 1.062 kB / 0.5429 GB, free: 4.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4545, allocations: 0 / 0.5429 GB, free: 4.898 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.001027/0.4556, allocations: 0.5678 MB / 0.5435 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4556, allocations: 13.62 kB / 0.5435 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.4561, allocations: 54.19 kB / 0.5435 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.4564, allocations: 210.3 kB / 0.5437 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4565, allocations: 11.53 kB / 0.5437 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.4565, allocations: 22.25 kB / 0.5438 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.4569, allocations: 242.7 kB / 0.544 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4569, allocations: 1.125 kB / 0.544 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.457, allocations: 16.03 kB / 0.544 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.457, allocations: 3.312 kB / 0.544 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.4574, allocations: 236.2 kB / 0.5442 GB, free: 3.793 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.001252/0.4586, allocations: 1.359 MB / 0.5456 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.4589, allocations: 101.2 kB / 0.5457 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.4589, allocations: 44.42 kB / 0.5457 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.4604, allocations: 2.044 MB / 0.5477 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.4607, allocations: 163 kB / 0.5479 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.4607, allocations: 0 / 0.5479 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009006/0.4616, allocations: 363.7 kB / 0.5482 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4617, allocations: 269 kB / 0.5485 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4618, allocations: 156.7 kB / 0.5486 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.4619, allocations: 29.7 kB / 0.5486 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.462, allocations: 135.8 kB / 0.5488 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.462, allocations: 79.27 kB / 0.5488 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.4621, allocations: 69.59 kB / 0.5489 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4622, allocations: 326.8 kB / 0.5492 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.4623, allocations: 36.64 kB / 0.5493 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4625, allocations: 187.5 kB / 0.5494 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.4628, allocations: 258.5 kB / 0.5497 GB, free: 13.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4628, allocations: 4 kB / 0.5497 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004089/0.4632, allocations: 265.2 kB / 0.5499 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4633, allocations: 6.188 kB / 0.5499 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4633, allocations: 8 kB / 0.55 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4633, allocations: 7.938 kB / 0.55 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.4638, allocations: 99.88 kB / 0.5501 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003454/0.4641, allocations: 0.6058 MB / 0.5506 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.4643, allocations: 8 kB / 0.5507 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.4643, allocations: 24 kB / 0.5507 GB, free: 12.59 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.0001271/0.4645, allocations: 140.8 kB / 0.5508 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.4645, allocations: 19.81 kB / 0.5508 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.465, allocations: 231.9 kB / 0.5511 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.465, allocations: 4 kB / 0.5511 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.465, allocations: 3.938 kB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.465, allocations: 3.984 kB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.4655, allocations: 440.8 kB / 0.5515 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4655, allocations: 0 / 0.5515 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.4658, allocations: 51.95 kB / 0.5515 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4659, allocations: 12.03 kB / 0.5515 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4659, allocations: 0 / 0.5515 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002832/0.4662, allocations: 0.5821 MB / 0.5521 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4662, allocations: 4.031 kB / 0.5521 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.4664, allocations: 154.6 kB / 0.5523 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.4665, allocations: 97 kB / 0.5524 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.4665, allocations: 4 kB / 0.5524 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.4667, allocations: 7.984 kB / 0.5524 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4667, allocations: 15.92 kB / 0.5524 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.4667, allocations: 4 kB / 0.5524 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.4668, allocations: 123.3 kB / 0.5525 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4669, allocations: 7.938 kB / 0.5525 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005997/0.4675, allocations: 139.9 kB / 0.5526 GB, free: 10.39 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.0006235/0.4681, allocations: 258.9 kB / 0.5529 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.4686, allocations: 164.8 kB / 0.553 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.4686, allocations: 4 kB / 0.5531 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.4688, allocations: 51.91 kB / 0.5531 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.4692, allocations: 43.94 kB / 0.5531 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.4706, allocations: 0.784 MB / 0.5539 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.471, allocations: 0.709 MB / 0.5546 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.4712, allocations: 81.69 kB / 0.5547 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.4713, allocations: 27.44 kB / 0.5547 GB, free: 8.223 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4713, allocations: 0 / 0.5547 GB, free: 8.223 MB / 414.1 MB Notification: Performance of Templates: time 0.009502/0.4808, allocations: 4.612 MB / 0.5592 GB, free: 3.633 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches