Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 83.84 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4547, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.009669/0.4645, allocations: 5.019 MB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.471, allocations: 4.573 MB / 0.5404 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.4713, allocations: 1.094 kB / 0.5404 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.4717, allocations: 59.75 kB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.4741, allocations: 0.6574 MB / 0.5411 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.4746, allocations: 163.2 kB / 0.5413 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007831/0.4754, allocations: 371.5 kB / 0.5416 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.935e-05/0.4755, allocations: 17.48 kB / 0.5416 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.4758, allocations: 142.1 kB / 0.5418 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.4761, allocations: 129.1 kB / 0.5419 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.4761, allocations: 12.69 kB / 0.5419 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.4773, allocations: 350.1 kB / 0.5422 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.4774, allocations: 43.38 kB / 0.5423 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.4776, allocations: 109.8 kB / 0.5424 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008938/0.4785, allocations: 424.9 kB / 0.5428 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/0.4785, allocations: 0 / 0.5428 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4785, allocations: 1.031 kB / 0.5428 GB, free: 4.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.4785, allocations: 0 / 0.5428 GB, free: 4.375 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001214/0.4797, allocations: 0.5921 MB / 0.5434 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4798, allocations: 10.09 kB / 0.5434 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.48, allocations: 23.59 kB / 0.5434 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.4803, allocations: 229.7 kB / 0.5436 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4805, allocations: 123.2 kB / 0.5437 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.4805, allocations: 27.61 kB / 0.5438 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.4811, allocations: 327.1 kB / 0.5441 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4811, allocations: 1.156 kB / 0.5441 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.4811, allocations: 11.31 kB / 0.5441 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.4812, allocations: 10.48 kB / 0.5441 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009663/0.4821, allocations: 0.737 MB / 0.5448 GB, free: 2.871 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.001465/0.4836, allocations: 1.25 MB / 0.546 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.484, allocations: 156.6 kB / 0.5462 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.4841, allocations: 79.97 kB / 0.5463 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002466/0.4866, allocations: 2.657 MB / 0.5489 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4866, allocations: 36.62 kB / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.033e-06/0.4867, allocations: 0 / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008301/0.4875, allocations: 225.3 kB / 0.5491 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.4876, allocations: 60.53 kB / 0.5492 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.4878, allocations: 210.2 kB / 0.5494 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4878, allocations: 26.83 kB / 0.5494 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.488, allocations: 205.1 kB / 0.5496 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.4881, allocations: 61.67 kB / 0.5496 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4882, allocations: 85.94 kB / 0.5497 GB, free: 13.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4883, allocations: 326.8 kB / 0.55 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.4884, allocations: 52.84 kB / 0.5501 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.4887, allocations: 316.1 kB / 0.5504 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.4892, allocations: 411.5 kB / 0.5508 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4892, allocations: 4 kB / 0.5508 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005488/0.4898, allocations: 373.8 kB / 0.5511 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4898, allocations: 8 kB / 0.5511 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4898, allocations: 12 kB / 0.5512 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.4899, allocations: 12 kB / 0.5512 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.4902, allocations: 115.7 kB / 0.5513 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/0.4902, allocations: 19.92 kB / 0.5513 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.4905, allocations: 16 kB / 0.5513 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.4905, allocations: 24 kB / 0.5513 GB, free: 11.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.4907, allocations: 153.7 kB / 0.5515 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.4907, allocations: 19.75 kB / 0.5515 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.4911, allocations: 150.9 kB / 0.5516 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4911, allocations: 11.94 kB / 0.5517 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4911, allocations: 0 / 0.5517 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4912, allocations: 0 / 0.5517 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.4917, allocations: 438.7 kB / 0.5521 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4917, allocations: 0 / 0.5521 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.4919, allocations: 39.8 kB / 0.5521 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4919, allocations: 4 kB / 0.5521 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4919, allocations: 0 / 0.5521 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4919, allocations: 32 / 0.5521 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4919, allocations: 4 kB / 0.5521 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.4922, allocations: 220.2 kB / 0.5523 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.4923, allocations: 100.8 kB / 0.5524 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.4923, allocations: 11.89 kB / 0.5524 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.4925, allocations: 11.98 kB / 0.5524 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.4926, allocations: 15.92 kB / 0.5525 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.4926, allocations: 8 kB / 0.5525 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.4927, allocations: 152.5 kB / 0.5526 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4927, allocations: 0 / 0.5526 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.4932, allocations: 95.94 kB / 0.5527 GB, free: 10.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/0.4935, allocations: 159.2 kB / 0.5529 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.4938, allocations: 188.2 kB / 0.553 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4938, allocations: 1.812 kB / 0.553 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.4939, allocations: 31.98 kB / 0.5531 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4944, allocations: 56.7 kB / 0.5531 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/0.4954, allocations: 0.5056 MB / 0.5536 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4957, allocations: 0.7285 MB / 0.5543 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.4959, allocations: 66.7 kB / 0.5544 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.4959, allocations: 27.42 kB / 0.5544 GB, free: 8.512 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4959, allocations: 0 / 0.5544 GB, free: 8.512 MB / 414.1 MB Notification: Performance of Templates: time 0.007713/0.5037, allocations: 3.524 MB / 0.5579 GB, free: 5.008 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches