Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0005975/0.0005975, allocations: 100.2 kB / 17.31 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 178.5 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 18.81 kB / 281.5 MB, free: 3.297 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 47.58 MB / 329.1 MB, free: 3.645 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01195/0.1155, allocations: 12.33 MB / 341.4 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1177, allocations: 1.682 MB / 343.1 MB, free: 5.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1179, allocations: 4 kB / 343.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.1184, allocations: 143.2 kB / 343.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.1189, allocations: 310.5 kB / 343.5 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.1198, allocations: 387.2 kB / 343.9 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.121, allocations: 1.278 MB / 345.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1212, allocations: 76.7 kB / 345.3 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.1219, allocations: 342.7 kB / 345.6 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.1223, allocations: 278.8 kB / 345.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.1223, allocations: 12 kB / 345.9 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.1226, allocations: 119.8 kB / 346 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1227, allocations: 71.78 kB / 346.1 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.123, allocations: 193 kB / 346.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.1235, allocations: 458.7 kB / 346.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1235, allocations: 0 / 346.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1235, allocations: 0 / 346.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1236, allocations: 0 / 346.7 MB, free: 1.934 MB / 286.1 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.0009531/0.1245, allocations: 0.5185 MB / 347.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.1246, allocations: 8.031 kB / 347.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.116e-05/0.1247, allocations: 58.73 kB / 347.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.125, allocations: 40.64 kB / 347.3 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.1254, allocations: 283.7 kB / 347.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.1255, allocations: 20.94 kB / 347.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.1255, allocations: 24.38 kB / 347.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.1261, allocations: 317.3 kB / 348 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1261, allocations: 4 kB / 348 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.1262, allocations: 12 kB / 348 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1262, allocations: 4 kB / 348 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.1265, allocations: 201.5 kB / 348.2 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1284, allocations: 1.728 MB / 349.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1286, allocations: 134.5 kB / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1288, allocations: 76.44 kB / 350.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.1289, allocations: 170.2 kB / 350.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.129, allocations: 38.56 kB / 350.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.896e-06/0.129, allocations: 3.984 kB / 350.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00175/0.1307, allocations: 0.796 MB / 351.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1308, allocations: 59.34 kB / 351.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1311, allocations: 278.5 kB / 351.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1311, allocations: 29.7 kB / 351.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1313, allocations: 203.5 kB / 351.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.1313, allocations: 71 kB / 351.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.1314, allocations: 37.7 kB / 351.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1315, allocations: 338.8 kB / 352.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1316, allocations: 67.75 kB / 352.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1318, allocations: 187.2 kB / 352.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.1322, allocations: 283.2 kB / 352.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1322, allocations: 0 / 352.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004877/0.1327, allocations: 341.8 kB / 353 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1327, allocations: 8 kB / 353 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1328, allocations: 7.938 kB / 353 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.1329, allocations: 28.78 kB / 353 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1332, allocations: 75.91 kB / 353.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.1343, allocations: 1.292 MB / 354.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.1345, allocations: 24.14 kB / 354.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1346, allocations: 16 kB / 354.4 MB, free: 9.508 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.1348, allocations: 161.6 kB / 354.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.1348, allocations: 31.62 kB / 354.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.1352, allocations: 201.7 kB / 354.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1352, allocations: 4 kB / 354.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1352, allocations: 4 kB / 354.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004475/0.1357, allocations: 487.7 kB / 355.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.1368, allocations: 0.7684 MB / 356.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1368, allocations: 4 kB / 356.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.137, allocations: 47.91 kB / 356.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.137, allocations: 0 / 356.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.137, allocations: 12 kB / 356.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1371, allocations: 3.938 kB / 356.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.1371, allocations: 7.938 kB / 356.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.1376, allocations: 407.6 kB / 356.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.1377, allocations: 100.9 kB / 356.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.1377, allocations: 8.031 kB / 356.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.138, allocations: 31.77 kB / 356.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.138, allocations: 15.98 kB / 356.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.138, allocations: 15.98 kB / 356.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.1382, allocations: 209.9 kB / 356.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1382, allocations: 0 / 356.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.1387, allocations: 96 kB / 357 MB, free: 6.664 MB / 302.1 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 (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.0008893/0.1396, allocations: 0.9695 MB / 358 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.1401, allocations: 302.5 kB / 358.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1401, allocations: 1 kB / 358.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1402, allocations: 88.16 kB / 358.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.1412, allocations: 144.8 kB / 358.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.145, allocations: 3.236 MB / 361.7 MB, free: 1.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1454, allocations: 0.7638 MB / 362.5 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.1456, allocations: 61.5 kB / 362.5 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1458, allocations: 87.41 kB / 362.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1458, allocations: 0 / 362.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.1681, allocations: 8.173 MB / 370.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.1684, allocations: 272.9 kB / 371.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.982, allocations: 3.938 kB / 371.1 MB, free: 8.141 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches