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.001741/0.001741, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.86 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3436, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007599/0.3513, allocations: 5.021 MB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.3572, allocations: 4.569 MB / 0.5411 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.3575, allocations: 1.156 kB / 0.5411 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.358, allocations: 59.03 kB / 0.5411 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3601, allocations: 0.6533 MB / 0.5418 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.3606, allocations: 165.5 kB / 0.5419 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.3613, allocations: 373.9 kB / 0.5423 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.379e-05/0.3614, allocations: 18.8 kB / 0.5423 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.3618, allocations: 145.3 kB / 0.5424 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.3621, allocations: 126 kB / 0.5425 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.3622, allocations: 12 kB / 0.5426 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3633, allocations: 346.3 kB / 0.5429 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.3634, allocations: 47.25 kB / 0.5429 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.3636, allocations: 110.3 kB / 0.543 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3647, allocations: 424.3 kB / 0.5434 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3647, allocations: 1.5 kB / 0.5434 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3648, allocations: 0 / 0.5434 GB, free: 4.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3648, allocations: 0 / 0.5434 GB, free: 4.367 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.001415/0.3662, allocations: 0.5897 MB / 0.544 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3662, allocations: 9.156 kB / 0.544 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.3665, allocations: 25 kB / 0.5441 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.3669, allocations: 229.7 kB / 0.5443 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3671, allocations: 123.5 kB / 0.5444 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.3671, allocations: 22.88 kB / 0.5444 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.3678, allocations: 330.9 kB / 0.5447 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3678, allocations: 1.188 kB / 0.5447 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.3678, allocations: 11.45 kB / 0.5447 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.3679, allocations: 9.859 kB / 0.5447 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.3688, allocations: 0.737 MB / 0.5455 GB, free: 2.863 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.001485/0.3703, allocations: 1.247 MB / 0.5467 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.3707, allocations: 152.6 kB / 0.5468 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3708, allocations: 76.42 kB / 0.5469 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002527/0.3733, allocations: 2.664 MB / 0.5495 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3734, allocations: 40.8 kB / 0.5495 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.3734, allocations: 0 / 0.5495 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008438/0.3742, allocations: 221.2 kB / 0.5498 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3743, allocations: 61.66 kB / 0.5498 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3745, allocations: 209.3 kB / 0.55 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3745, allocations: 26.95 kB / 0.55 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3747, allocations: 212.1 kB / 0.5502 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.3747, allocations: 59.27 kB / 0.5503 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.3748, allocations: 85.94 kB / 0.5504 GB, free: 13.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3749, allocations: 326.8 kB / 0.5507 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.375, allocations: 52.84 kB / 0.5507 GB, free: 13.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.3753, allocations: 316.1 kB / 0.551 GB, free: 12.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.3757, allocations: 415.5 kB / 0.5514 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3757, allocations: 0 / 0.5514 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006212/0.3764, allocations: 369.7 kB / 0.5518 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3764, allocations: 11.98 kB / 0.5518 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3764, allocations: 8 kB / 0.5518 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3764, allocations: 16 kB / 0.5518 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.3768, allocations: 115.7 kB / 0.5519 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.051e-05/0.3769, allocations: 19.92 kB / 0.552 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.3771, allocations: 12 kB / 0.552 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.3772, allocations: 28 kB / 0.552 GB, free: 11.83 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.0001368/0.3773, allocations: 145.7 kB / 0.5521 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.3774, allocations: 27.73 kB / 0.5522 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.3777, allocations: 146.9 kB / 0.5523 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.3777, allocations: 11.92 kB / 0.5523 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3777, allocations: 7.938 kB / 0.5523 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3778, allocations: 0 / 0.5523 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.3784, allocations: 431.3 kB / 0.5527 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3784, allocations: 0 / 0.5527 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.3785, allocations: 35.86 kB / 0.5528 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3786, allocations: 3.938 kB / 0.5528 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3786, allocations: 12.12 kB / 0.5528 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3786, allocations: 4.031 kB / 0.5528 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3786, allocations: 0 / 0.5528 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.3788, allocations: 215.8 kB / 0.553 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.379, allocations: 104.8 kB / 0.5531 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.379, allocations: 7.906 kB / 0.5531 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3792, allocations: 15.97 kB / 0.5531 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.3793, allocations: 11.94 kB / 0.5531 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3793, allocations: 7.984 kB / 0.5531 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3794, allocations: 156.5 kB / 0.5533 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3794, allocations: 0 / 0.5533 GB, free: 10.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.38, allocations: 95.94 kB / 0.5534 GB, free: 10.3 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.0003235/0.3803, allocations: 163.2 kB / 0.5535 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3806, allocations: 188.1 kB / 0.5537 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3807, allocations: 1.875 kB / 0.5537 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.3807, allocations: 35.92 kB / 0.5537 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3812, allocations: 50.52 kB / 0.5538 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3823, allocations: 0.5268 MB / 0.5543 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3827, allocations: 0.7285 MB / 0.555 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.3828, allocations: 35.38 kB / 0.5551 GB, free: 8.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3828, allocations: 0 / 0.5551 GB, free: 8.52 MB / 414.1 MB Notification: Performance of Templates: time 0.006221/0.389, allocations: 3.516 MB / 0.5585 GB, free: 5.004 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/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