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.001184/0.001184, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, 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.2808/0.2808, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 75.88 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.433, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00714/0.4402, allocations: 5.036 MB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005717/0.446, allocations: 4.576 MB / 0.5404 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.4462, allocations: 2.281 kB / 0.5404 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.4467, allocations: 51.7 kB / 0.5405 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.4494, allocations: 0.6608 MB / 0.5411 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.4498, allocations: 164.1 kB / 0.5413 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.4505, allocations: 367.4 kB / 0.5416 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.4505, allocations: 13.69 kB / 0.5416 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.4508, allocations: 144.9 kB / 0.5418 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.451, allocations: 133.5 kB / 0.5419 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.4511, allocations: 8.281 kB / 0.5419 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4523, allocations: 346.1 kB / 0.5422 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4525, allocations: 44.17 kB / 0.5423 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.4526, allocations: 110.1 kB / 0.5424 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009871/0.4536, allocations: 427.1 kB / 0.5428 GB, free: 4.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4536, allocations: 0 / 0.5428 GB, free: 4.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4537, allocations: 4 kB / 0.5428 GB, free: 4.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4537, allocations: 1.562 kB / 0.5428 GB, free: 4.336 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.001235/0.4549, allocations: 0.5922 MB / 0.5434 GB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.455, allocations: 9.125 kB / 0.5434 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.4551, allocations: 24.53 kB / 0.5434 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.4555, allocations: 234 kB / 0.5436 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.4557, allocations: 127.5 kB / 0.5437 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.4558, allocations: 22.94 kB / 0.5438 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.4564, allocations: 327.4 kB / 0.5441 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4564, allocations: 5.094 kB / 0.5441 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.4564, allocations: 11.16 kB / 0.5441 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.4565, allocations: 6.312 kB / 0.5441 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.4576, allocations: 0.737 MB / 0.5448 GB, free: 2.824 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.001816/0.4594, allocations: 1.247 MB / 0.546 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.4599, allocations: 148.1 kB / 0.5462 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4601, allocations: 80.27 kB / 0.5463 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003137/0.4633, allocations: 2.664 MB / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4633, allocations: 44.84 kB / 0.5489 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/0.4633, allocations: 0 / 0.5489 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008576/0.4642, allocations: 223 kB / 0.5491 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4642, allocations: 56.81 kB / 0.5492 GB, free: 14.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4645, allocations: 215.2 kB / 0.5494 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4645, allocations: 25.7 kB / 0.5494 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4646, allocations: 219.6 kB / 0.5496 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.4647, allocations: 67.5 kB / 0.5497 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.4648, allocations: 82.03 kB / 0.5497 GB, free: 13.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4649, allocations: 326.8 kB / 0.5501 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.465, allocations: 52.83 kB / 0.5501 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.4654, allocations: 320.1 kB / 0.5504 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.4659, allocations: 411.5 kB / 0.5508 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4659, allocations: 0 / 0.5508 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000576/0.4665, allocations: 373.2 kB / 0.5512 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.4666, allocations: 8 kB / 0.5512 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4666, allocations: 12 kB / 0.5512 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/0.4666, allocations: 12 kB / 0.5512 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.467, allocations: 108.4 kB / 0.5513 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.467, allocations: 19.92 kB / 0.5513 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.4672, allocations: 16 kB / 0.5513 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.4673, allocations: 28 kB / 0.5514 GB, free: 11.76 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.0001617/0.4675, allocations: 153.6 kB / 0.5515 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.4675, allocations: 19.91 kB / 0.5515 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.4679, allocations: 150.9 kB / 0.5517 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4679, allocations: 3.938 kB / 0.5517 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4679, allocations: 4 kB / 0.5517 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4679, allocations: 0 / 0.5517 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.4685, allocations: 435.2 kB / 0.5521 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4685, allocations: 160 / 0.5521 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4687, allocations: 39.92 kB / 0.5521 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4687, allocations: 7.938 kB / 0.5521 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4687, allocations: 7.938 kB / 0.5521 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4687, allocations: 0 / 0.5521 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4687, allocations: 3.984 kB / 0.5521 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4689, allocations: 215.6 kB / 0.5523 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.469, allocations: 108.9 kB / 0.5525 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.4691, allocations: 4 kB / 0.5525 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.4693, allocations: 11.98 kB / 0.5525 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.4693, allocations: 7.984 kB / 0.5525 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.4693, allocations: 8 kB / 0.5525 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.4694, allocations: 152.5 kB / 0.5526 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4695, allocations: 3.938 kB / 0.5526 GB, free: 10.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.4699, allocations: 95.88 kB / 0.5527 GB, free: 10.25 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.0003126/0.4703, allocations: 178.9 kB / 0.5529 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.4706, allocations: 173.8 kB / 0.5531 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4706, allocations: 256 / 0.5531 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.4707, allocations: 43.91 kB / 0.5531 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4711, allocations: 51.52 kB / 0.5532 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4722, allocations: 0.5131 MB / 0.5537 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.4725, allocations: 0.7285 MB / 0.5544 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.4727, allocations: 54.78 kB / 0.5544 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.4727, allocations: 35.42 kB / 0.5544 GB, free: 8.418 MB / 414.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4727, allocations: 4 kB / 0.5545 GB, free: 8.414 MB / 414.1 MB Notification: Performance of Templates: time 0.006996/0.4797, allocations: 3.483 MB / 0.5579 GB, free: 4.953 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