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.001573/0.001573, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.12 MB / 345 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 75.88 kB / 482.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3039, allocations: 62.44 MB / 0.5318 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007316/0.3112, allocations: 5.037 MB / 0.5367 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.3168, allocations: 4.575 MB / 0.5411 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3169, allocations: 1.125 kB / 0.5411 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.3173, allocations: 55.59 kB / 0.5412 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.319, allocations: 0.6666 MB / 0.5418 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.3194, allocations: 159 kB / 0.542 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.3199, allocations: 370.9 kB / 0.5424 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.32, allocations: 7.5 kB / 0.5424 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.3202, allocations: 158.2 kB / 0.5425 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.3204, allocations: 124.4 kB / 0.5426 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.3204, allocations: 11.66 kB / 0.5426 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000913/0.3214, allocations: 347.8 kB / 0.543 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.3214, allocations: 47.34 kB / 0.543 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3216, allocations: 110.3 kB / 0.5431 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.3223, allocations: 436.8 kB / 0.5435 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3223, allocations: 4 kB / 0.5435 GB, free: 4.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3223, allocations: 0 / 0.5435 GB, free: 4.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3224, allocations: 1.094 kB / 0.5435 GB, free: 4.266 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.001119/0.3235, allocations: 0.599 MB / 0.5441 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3235, allocations: 9.062 kB / 0.5441 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3237, allocations: 25.16 kB / 0.5442 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.324, allocations: 233.5 kB / 0.5444 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3242, allocations: 126.6 kB / 0.5445 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.3242, allocations: 23 kB / 0.5445 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.3247, allocations: 327.7 kB / 0.5448 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3248, allocations: 5 kB / 0.5448 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.3248, allocations: 12.06 kB / 0.5449 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3248, allocations: 6.812 kB / 0.5449 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.3257, allocations: 0.7439 MB / 0.5456 GB, free: 2.742 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.001419/0.3271, allocations: 1.243 MB / 0.5468 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.3274, allocations: 145.1 kB / 0.5469 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3276, allocations: 70.56 kB / 0.547 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002598/0.3302, allocations: 2.661 MB / 0.5496 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3302, allocations: 39.81 kB / 0.5496 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.3302, allocations: 0 / 0.5496 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000702/0.3309, allocations: 222.6 kB / 0.5499 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3309, allocations: 60.25 kB / 0.5499 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3312, allocations: 214.9 kB / 0.5501 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3312, allocations: 25.7 kB / 0.5501 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3313, allocations: 223.6 kB / 0.5504 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.3314, allocations: 59.52 kB / 0.5504 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3315, allocations: 82.03 kB / 0.5505 GB, free: 13.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3316, allocations: 326.8 kB / 0.5508 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3318, allocations: 56.83 kB / 0.5509 GB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.3321, allocations: 312.1 kB / 0.5512 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.3325, allocations: 411.5 kB / 0.5515 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3325, allocations: 4 kB / 0.5516 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005918/0.3331, allocations: 369.1 kB / 0.5519 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3332, allocations: 8 kB / 0.5519 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3332, allocations: 12 kB / 0.5519 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3332, allocations: 12.75 kB / 0.5519 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.3336, allocations: 111.7 kB / 0.552 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.3336, allocations: 23.92 kB / 0.5521 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3338, allocations: 16 kB / 0.5521 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.3339, allocations: 27.98 kB / 0.5521 GB, free: 11.66 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.0001531/0.334, allocations: 153.6 kB / 0.5523 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.3341, allocations: 15.91 kB / 0.5523 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.3344, allocations: 150.9 kB / 0.5524 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3344, allocations: 7.938 kB / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3344, allocations: 3.938 kB / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3344, allocations: 0 / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.335, allocations: 439.4 kB / 0.5528 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.335, allocations: 8 kB / 0.5528 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.3352, allocations: 35.86 kB / 0.5529 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3352, allocations: 0 / 0.5529 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3352, allocations: 4 kB / 0.5529 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3352, allocations: 4 kB / 0.5529 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3352, allocations: 0 / 0.5529 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3355, allocations: 223.9 kB / 0.5531 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3356, allocations: 108.9 kB / 0.5532 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3356, allocations: 0 / 0.5532 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3359, allocations: 11.98 kB / 0.5532 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.3359, allocations: 7.984 kB / 0.5532 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3359, allocations: 15.94 kB / 0.5532 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.336, allocations: 148.5 kB / 0.5534 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 0 / 0.5534 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005274/0.3366, allocations: 99.88 kB / 0.5535 GB, free: 10.14 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.0003089/0.3369, allocations: 170.9 kB / 0.5536 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.3372, allocations: 161.8 kB / 0.5538 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3372, allocations: 4.188 kB / 0.5538 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.3373, allocations: 35.98 kB / 0.5538 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.3378, allocations: 49.45 kB / 0.5539 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.3387, allocations: 0.5092 MB / 0.5544 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3391, allocations: 0.7363 MB / 0.5551 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.3393, allocations: 62.7 kB / 0.5552 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.3394, allocations: 27.44 kB / 0.5552 GB, free: 8.336 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3394, allocations: 4 kB / 0.5552 GB, free: 8.332 MB / 414.1 MB Notification: Performance of Templates: time 0.007821/0.3472, allocations: 3.509 MB / 0.5586 GB, free: 4.848 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches