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.001117/0.001116, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, 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.2371/0.2371, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4122, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006676/0.4189, allocations: 5.026 MB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.4242, allocations: 4.56 MB / 0.5404 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.4243, allocations: 1.25 kB / 0.5404 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.4247, allocations: 52.05 kB / 0.5404 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.427, allocations: 0.6647 MB / 0.5411 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.4275, allocations: 163.7 kB / 0.5412 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007995/0.4283, allocations: 369.9 kB / 0.5416 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.4284, allocations: 11.34 kB / 0.5416 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.4287, allocations: 157.3 kB / 0.5418 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.429, allocations: 128.6 kB / 0.5419 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.4291, allocations: 12.59 kB / 0.5419 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.4304, allocations: 351.2 kB / 0.5422 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4305, allocations: 47.44 kB / 0.5423 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.4307, allocations: 101.7 kB / 0.5424 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.4318, allocations: 444.8 kB / 0.5428 GB, free: 4.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4318, allocations: 0 / 0.5428 GB, free: 4.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4318, allocations: 0 / 0.5428 GB, free: 4.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4318, allocations: 1.469 kB / 0.5428 GB, free: 4.34 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.001155/0.433, allocations: 0.5962 MB / 0.5434 GB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.4331, allocations: 9.812 kB / 0.5434 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.4332, allocations: 24.53 kB / 0.5434 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.4336, allocations: 229.2 kB / 0.5436 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.4337, allocations: 131.1 kB / 0.5438 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.4338, allocations: 23.78 kB / 0.5438 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.4343, allocations: 323.4 kB / 0.5441 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4343, allocations: 3.938 kB / 0.5441 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.4344, allocations: 11.41 kB / 0.5441 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.4344, allocations: 14.55 kB / 0.5441 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.4352, allocations: 0.7371 MB / 0.5448 GB, free: 2.82 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.001504/0.4368, allocations: 1.247 MB / 0.546 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.4372, allocations: 148.5 kB / 0.5462 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.4373, allocations: 76 kB / 0.5463 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/0.4397, allocations: 2.664 MB / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4398, allocations: 41.5 kB / 0.5489 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.4398, allocations: 0 / 0.5489 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007869/0.4406, allocations: 221 kB / 0.5491 GB, free: 14.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.4406, allocations: 61.41 kB / 0.5492 GB, free: 14.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.4409, allocations: 209.8 kB / 0.5494 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.4409, allocations: 33.7 kB / 0.5494 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4411, allocations: 211.6 kB / 0.5496 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.4411, allocations: 59.52 kB / 0.5497 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.4412, allocations: 86.03 kB / 0.5497 GB, free: 13.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4414, allocations: 326.8 kB / 0.5501 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/0.4415, allocations: 56.83 kB / 0.5501 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.4417, allocations: 316.1 kB / 0.5504 GB, free: 12.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.4421, allocations: 407.5 kB / 0.5508 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.4421, allocations: 4 kB / 0.5508 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005128/0.4426, allocations: 373.8 kB / 0.5512 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4427, allocations: 12 kB / 0.5512 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4427, allocations: 11.94 kB / 0.5512 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4427, allocations: 12 kB / 0.5512 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.443, allocations: 107.8 kB / 0.5513 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.4431, allocations: 19.92 kB / 0.5513 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.4433, allocations: 20 kB / 0.5513 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.4433, 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.0001269/0.4435, allocations: 153.6 kB / 0.5515 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.4435, allocations: 19.91 kB / 0.5515 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.4438, allocations: 150.9 kB / 0.5517 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4439, allocations: 7.938 kB / 0.5517 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4439, allocations: 0 / 0.5517 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.4439, allocations: 0 / 0.5517 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.4444, allocations: 443.2 kB / 0.5521 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4445, allocations: 0 / 0.5521 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.4446, allocations: 31.92 kB / 0.5521 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4446, allocations: 3.984 kB / 0.5521 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4447, allocations: 0 / 0.5521 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4447, allocations: 8.031 kB / 0.5521 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4447, allocations: 0 / 0.5521 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.4449, allocations: 227.8 kB / 0.5524 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.445, allocations: 104.9 kB / 0.5525 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.4451, allocations: 0 / 0.5525 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4453, allocations: 15.97 kB / 0.5525 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.4453, allocations: 15.98 kB / 0.5525 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4453, allocations: 4.125 kB / 0.5525 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.4455, allocations: 152.5 kB / 0.5526 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4455, allocations: 0 / 0.5526 GB, free: 10.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005121/0.446, 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.0002844/0.4463, allocations: 163 kB / 0.5529 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4466, allocations: 180.6 kB / 0.5531 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4466, allocations: 0 / 0.5531 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.4467, allocations: 35.92 kB / 0.5531 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.4471, allocations: 65.75 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.0008953/0.448, allocations: 0.4975 MB / 0.5536 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4483, allocations: 0.7323 MB / 0.5544 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.4485, allocations: 66.77 kB / 0.5544 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.4486, allocations: 23.44 kB / 0.5544 GB, free: 8.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4486, allocations: 7.875 kB / 0.5545 GB, free: 8.422 MB / 414.1 MB Notification: Performance of Templates: time 0.006569/0.4552, allocations: 3.492 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