Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002957/0.002956, allocations: 188.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.556/3.556, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001875/0.001875, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006022, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1131, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01854/0.1318, allocations: 10.66 MB / 385.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.1353, allocations: 1.488 MB / 386.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.1358, allocations: 4 kB / 386.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007569/0.1366, allocations: 139.3 kB / 386.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007417/0.1373, allocations: 211.4 kB / 387 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1388, allocations: 323.4 kB / 387.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1398, allocations: 463 kB / 387.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1401, allocations: 76.67 kB / 387.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.141, allocations: 295.1 kB / 388.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1414, allocations: 163.3 kB / 388.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.1415, allocations: 16 kB / 388.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.1418, allocations: 51.92 kB / 388.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.142, allocations: 71.78 kB / 388.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1421, allocations: 89.58 kB / 388.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.1428, allocations: 347.4 kB / 388.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1428, allocations: 0 / 388.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1428, allocations: 0 / 388.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1428, allocations: 4 kB / 388.9 MB, free: 1.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00105/0.1439, allocations: 0.5067 MB / 389.4 MB, free: 476 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1439, allocations: 12.03 kB / 389.4 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.1444, allocations: 43.61 kB / 389.5 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.1449, allocations: 278.5 kB / 389.7 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.145, allocations: 16.56 kB / 389.8 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.145, allocations: 24 kB / 389.8 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2893/0.4343, allocations: 309.4 kB / 390.1 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.4345, allocations: 7.156 kB / 390.1 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.4346, allocations: 13.83 kB / 390.1 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.4346, allocations: 6 kB / 390.1 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000919/0.4356, allocations: 195.6 kB / 390.3 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/0.4401, allocations: 1.731 MB / 392 MB, free: 20.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.4407, allocations: 132.3 kB / 392.2 MB, free: 20.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.4411, allocations: 172.6 kB / 392.3 MB, free: 20.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.4411, allocations: 34.53 kB / 392.4 MB, free: 20.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 4.799e-06/0.4412, allocations: 0.5625 kB / 392.4 MB, free: 20.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.004182/0.4454, allocations: 0.8057 MB / 393.2 MB, free: 20.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.4455, allocations: 56.8 kB / 393.2 MB, free: 20.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.4462, allocations: 273.2 kB / 393.5 MB, free: 20.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.4463, allocations: 30.86 kB / 393.5 MB, free: 19.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.4465, allocations: 256.9 kB / 393.8 MB, free: 19.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4467, allocations: 79.28 kB / 393.8 MB, free: 19.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.4467, allocations: 6 kB / 393.9 MB, free: 19.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4469, allocations: 321.7 kB / 394.2 MB, free: 19.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.4472, allocations: 70.03 kB / 394.2 MB, free: 19.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.4477, allocations: 192.6 kB / 394.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.4481, allocations: 103.9 kB / 394.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.4482, allocations: 1.344 kB / 394.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001317/0.4495, allocations: 317.7 kB / 394.8 MB, free: 18.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.4496, allocations: 10.81 kB / 394.8 MB, free: 18.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.4496, allocations: 4.125 kB / 394.9 MB, free: 18.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.4498, allocations: 29.45 kB / 394.9 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.4508, allocations: 82.27 kB / 395 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.4528, allocations: 1.308 MB / 396.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/0.4536, allocations: 16.31 kB / 396.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.4537, allocations: 17.36 kB / 396.3 MB, free: 17.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004121/0.4541, allocations: 161.4 kB / 396.5 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.4543, allocations: 31.33 kB / 396.5 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000938/0.4553, allocations: 199.4 kB / 396.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.4554, allocations: 2.891 kB / 396.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4554, allocations: 3.953 kB / 396.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007715/0.4562, allocations: 482.8 kB / 397.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.459, allocations: 0.7771 MB / 397.9 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.4591, allocations: 2.344 kB / 397.9 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.4597, allocations: 44.89 kB / 398 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/0.4597, allocations: 6.531 kB / 398 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.4598, allocations: 13.11 kB / 398 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/0.4598, allocations: 3.984 kB / 398 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.4599, allocations: 2.469 kB / 398 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.4611, allocations: 0.4914 MB / 398.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.4614, allocations: 105.1 kB / 398.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4615, allocations: 14.7 kB / 398.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/0.4623, allocations: 15.2 kB / 398.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.4624, allocations: 22.86 kB / 398.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.4625, allocations: 17.7 kB / 398.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005256/0.4631, allocations: 199.3 kB / 398.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4631, allocations: 0 / 398.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001304/0.4644, allocations: 101.4 kB / 399 MB, free: 15.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003814/0.4648, allocations: 125.4 kB / 399.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.466, allocations: 307.5 kB / 399.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.466, allocations: 0.9688 kB / 399.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.4663, allocations: 76.03 kB / 399.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.4689, allocations: 163 kB / 399.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.4714, allocations: 0.7698 MB / 400.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.4719, allocations: 0.7659 MB / 401.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4722, allocations: 32.05 kB / 401.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4722, allocations: 0 / 401.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Templates: time 0.022/0.4943, allocations: 5.043 MB / 406.2 MB, free: 12.6 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches