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.001271/0.001271, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001254/0.001254, allocations: 198 kB / 18.07 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.305/1.305, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001043/0.001043, allocations: 51.92 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08162, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01139/0.09304, allocations: 12.82 MB / 339.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.09504, allocations: 1.701 MB / 341.2 MB, free: 6.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.09519, allocations: 11.88 kB / 341.2 MB, free: 6.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.09569, allocations: 139.3 kB / 341.4 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.09618, allocations: 318.4 kB / 341.7 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.09701, allocations: 383.2 kB / 342.1 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009787/0.098, allocations: 1.285 MB / 343.4 MB, free: 4.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.09817, allocations: 76.69 kB / 343.4 MB, free: 4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004962/0.09868, allocations: 342.7 kB / 343.8 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.09898, allocations: 278.8 kB / 344 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.09903, allocations: 16 kB / 344.1 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.09929, allocations: 123.8 kB / 344.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.09939, allocations: 75.78 kB / 344.2 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.09957, allocations: 171.2 kB / 344.4 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.1, allocations: 462.8 kB / 344.9 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1, allocations: 0 / 344.9 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1, allocations: 0 / 344.9 MB, free: 2.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1, allocations: 0 / 344.9 MB, free: 2.559 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.0007278/0.1008, allocations: 0.5809 MB / 345.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1008, allocations: 16.02 kB / 345.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.1009, allocations: 58.73 kB / 345.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.1011, allocations: 40.64 kB / 345.6 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1015, allocations: 283.7 kB / 345.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1015, allocations: 20.94 kB / 345.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.1015, allocations: 24.38 kB / 345.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.102, allocations: 317.3 kB / 346.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.102, allocations: 7.906 kB / 346.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.102, allocations: 12 kB / 346.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1021, allocations: 4 kB / 346.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1024, allocations: 197.5 kB / 346.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.104, allocations: 1.724 MB / 348.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1042, allocations: 142.5 kB / 348.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.1044, allocations: 72.78 kB / 348.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.1045, allocations: 170.2 kB / 348.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1045, allocations: 34.56 kB / 348.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1045, allocations: 0 / 348.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001757/0.1063, allocations: 0.7805 MB / 349.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1064, allocations: 63.28 kB / 349.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1066, allocations: 278.5 kB / 349.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.1067, allocations: 33.7 kB / 349.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1068, allocations: 203.5 kB / 349.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.1069, allocations: 67 kB / 350 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.107, allocations: 73.39 kB / 350 MB, free: 12.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1071, allocations: 334.8 kB / 350.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1073, allocations: 67.97 kB / 350.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1075, allocations: 191.2 kB / 350.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.1078, allocations: 275.2 kB / 350.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1078, allocations: 7.938 kB / 350.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004821/0.1083, allocations: 337.8 kB / 351.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1084, allocations: 4 kB / 351.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1084, allocations: 8.438 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.784e-05/0.1085, allocations: 32.84 kB / 351.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1088, allocations: 83.84 kB / 351.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009334/0.1097, allocations: 1.296 MB / 352.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.1099, allocations: 19.98 kB / 352.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.1099, allocations: 12 kB / 352.7 MB, free: 10.04 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.0001448/0.1101, allocations: 165.6 kB / 352.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.1102, allocations: 27.62 kB / 352.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.1105, allocations: 205.8 kB / 353.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1105, allocations: 4 kB / 353.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1105, allocations: 0 / 353.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003345/0.1109, allocations: 487.7 kB / 353.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.1118, allocations: 0.7645 MB / 354.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1118, allocations: 3.984 kB / 354.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.112, allocations: 55.89 kB / 354.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.112, allocations: 4 kB / 354.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.112, allocations: 4.281 kB / 354.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1121, allocations: 11.94 kB / 354.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1121, allocations: 3.938 kB / 354.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1125, allocations: 407.4 kB / 354.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.1125, allocations: 104.8 kB / 354.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1126, allocations: 4 kB / 354.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1128, allocations: 27.83 kB / 354.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.1129, allocations: 19.98 kB / 354.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1129, allocations: 15.98 kB / 354.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1131, allocations: 198 kB / 355.1 MB, free: 7.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1131, allocations: 4 kB / 355.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.1135, allocations: 96 kB / 355.2 MB, free: 7.203 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.0008407/0.1143, allocations: 0.9733 MB / 356.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.1148, allocations: 303.2 kB / 356.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1148, allocations: 7.938 kB / 356.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1149, allocations: 67.86 kB / 356.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.1158, allocations: 162.6 kB / 356.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.1189, allocations: 3.173 MB / 359.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1192, allocations: 0.7639 MB / 360.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000257/0.1195, allocations: 58.5 kB / 360.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1196, allocations: 95.41 kB / 360.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1196, allocations: 0 / 360.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.1387, allocations: 8.275 MB / 369.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.139, allocations: 265.5 kB / 369.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/1.959, allocations: 0 / 369.4 MB, free: 8.613 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