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.001417/0.001417, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001419, allocations: 198 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.427, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007033/0.4341, allocations: 5.022 MB / 0.5359 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.4392, allocations: 4.576 MB / 0.5404 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.4394, allocations: 4.719 kB / 0.5404 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.4397, allocations: 48.09 kB / 0.5404 GB, free: 6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.4415, allocations: 0.6689 MB / 0.5411 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.4419, allocations: 157.1 kB / 0.5413 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.4425, allocations: 372 kB / 0.5416 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.4426, allocations: 17.67 kB / 0.5416 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.4428, allocations: 145.4 kB / 0.5418 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.443, allocations: 126.1 kB / 0.5419 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.4431, allocations: 11.38 kB / 0.5419 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.4442, allocations: 341.8 kB / 0.5422 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.4443, allocations: 48.31 kB / 0.5423 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.4444, allocations: 109.5 kB / 0.5424 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.4452, allocations: 421.8 kB / 0.5428 GB, free: 4.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4452, allocations: 0 / 0.5428 GB, free: 4.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4452, allocations: 0 / 0.5428 GB, free: 4.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4452, allocations: 9.156 kB / 0.5428 GB, free: 4.574 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.001167/0.4464, allocations: 0.5914 MB / 0.5434 GB, free: 4.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4465, allocations: 10.44 kB / 0.5434 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.4466, allocations: 23.81 kB / 0.5434 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.4471, allocations: 229.2 kB / 0.5436 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.4472, allocations: 127.6 kB / 0.5437 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.4472, allocations: 26.48 kB / 0.5438 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.4478, allocations: 319.8 kB / 0.5441 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4479, allocations: 5 kB / 0.5441 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.4479, allocations: 15.28 kB / 0.5441 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.4479, allocations: 10.61 kB / 0.5441 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.4488, allocations: 0.7328 MB / 0.5448 GB, free: 3.07 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.001479/0.4503, allocations: 1.247 MB / 0.546 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.4507, allocations: 152.4 kB / 0.5462 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.4508, allocations: 75.56 kB / 0.5462 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/0.4531, allocations: 2.669 MB / 0.5488 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4532, allocations: 39.62 kB / 0.5489 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.4532, allocations: 0 / 0.5489 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006687/0.4539, allocations: 217.8 kB / 0.5491 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4539, allocations: 63.28 kB / 0.5492 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.4541, allocations: 210.8 kB / 0.5494 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4541, allocations: 25.7 kB / 0.5494 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4543, allocations: 210.8 kB / 0.5496 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.4543, allocations: 55.28 kB / 0.5496 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.4544, allocations: 93.92 kB / 0.5497 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4545, allocations: 326.8 kB / 0.55 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.4546, allocations: 48.84 kB / 0.5501 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.4549, allocations: 320.1 kB / 0.5504 GB, free: 13.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.4553, allocations: 415.5 kB / 0.5508 GB, free: 12.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4553, allocations: 0 / 0.5508 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005233/0.4558, allocations: 373.3 kB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4559, allocations: 8 kB / 0.5511 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4559, allocations: 8 kB / 0.5512 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.4559, allocations: 12 kB / 0.5512 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.4563, allocations: 111.8 kB / 0.5513 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.4563, allocations: 19.92 kB / 0.5513 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.4565, allocations: 16.47 kB / 0.5513 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.4566, allocations: 28 kB / 0.5513 GB, free: 11.96 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.0001288/0.4567, allocations: 153.6 kB / 0.5515 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.4568, allocations: 19.81 kB / 0.5515 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.4571, allocations: 154.8 kB / 0.5516 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4571, allocations: 3.938 kB / 0.5516 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4571, allocations: 3.938 kB / 0.5517 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4571, allocations: 0 / 0.5517 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.4576, allocations: 439.2 kB / 0.5521 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4576, allocations: 128 / 0.5521 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.4578, allocations: 39.95 kB / 0.5521 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4578, allocations: 3.938 kB / 0.5521 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.4578, allocations: 8 kB / 0.5521 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4579, allocations: 0 / 0.5521 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4579, allocations: 3.938 kB / 0.5521 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.4581, allocations: 216.2 kB / 0.5523 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.4582, allocations: 100.8 kB / 0.5524 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.4582, allocations: 11.91 kB / 0.5524 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.4584, allocations: 11.98 kB / 0.5525 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.4585, allocations: 7.984 kB / 0.5525 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.4585, allocations: 8 kB / 0.5525 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.4586, allocations: 148.5 kB / 0.5526 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4586, allocations: 4 kB / 0.5526 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.4591, allocations: 95.94 kB / 0.5527 GB, free: 10.44 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.0002874/0.4594, allocations: 171.1 kB / 0.5529 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.4597, allocations: 180.6 kB / 0.553 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4597, allocations: 0.8125 kB / 0.553 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.4598, allocations: 39.92 kB / 0.5531 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.4602, allocations: 49.45 kB / 0.5531 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.4613, allocations: 0.5018 MB / 0.5536 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4616, allocations: 0.7285 MB / 0.5543 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.4618, allocations: 58.78 kB / 0.5544 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.4619, allocations: 39.36 kB / 0.5544 GB, free: 8.621 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4619, allocations: 0 / 0.5544 GB, free: 8.621 MB / 414.1 MB Notification: Performance of Templates: time 0.00695/0.4689, allocations: 3.489 MB / 0.5578 GB, free: 5.156 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