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.001411/0.001411, allocations: 106.5 kB / 17.58 MB, free: 5.559 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.001575/0.001576, allocations: 192 kB / 18.51 MB, free: 4.641 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.299/1.299, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.00211/0.00211, allocations: 56.25 kB / 280.8 MB, free: 3.055 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08657/0.08871, allocations: 46.63 MB / 327.4 MB, free: 4.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01542/0.1042, allocations: 12.85 MB / 340.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1067, allocations: 1.709 MB / 342 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.1071, allocations: 11.88 kB / 342 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006854/0.1078, allocations: 167 kB / 342.1 MB, free: 5.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008258/0.1087, allocations: 310.2 kB / 342.4 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1098, allocations: 415 kB / 342.8 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1108, allocations: 0.829 MB / 343.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.111, allocations: 104.7 kB / 343.8 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007268/0.1118, allocations: 386.6 kB / 344.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.1122, allocations: 259 kB / 344.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.1123, allocations: 28 kB / 344.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.1126, allocations: 103.8 kB / 344.5 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1127, allocations: 91.77 kB / 344.6 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1129, allocations: 187.2 kB / 344.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.1135, allocations: 466.9 kB / 345.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1135, allocations: 0 / 345.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1135, allocations: 0 / 345.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1135, allocations: 3.938 kB / 345.3 MB, free: 2.406 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.0008047/0.1143, allocations: 0.5847 MB / 345.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1144, allocations: 8.031 kB / 345.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.085e-05/0.1144, allocations: 58.72 kB / 345.9 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.1147, allocations: 44.64 kB / 346 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1151, allocations: 283.7 kB / 346.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1151, allocations: 20.94 kB / 346.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.1152, allocations: 24.38 kB / 346.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.1156, allocations: 329.2 kB / 346.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1156, allocations: 7.906 kB / 346.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1157, allocations: 12 kB / 346.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1157, allocations: 4 kB / 346.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.116, allocations: 197.5 kB / 346.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.1177, allocations: 1.728 MB / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1179, allocations: 134.5 kB / 348.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.118, allocations: 64.84 kB / 348.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.1182, allocations: 178.2 kB / 348.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1182, allocations: 34.56 kB / 348.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1182, allocations: 0 / 348.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00167/0.1199, allocations: 0.7881 MB / 349.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.1199, allocations: 55.34 kB / 349.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1202, allocations: 282.5 kB / 350.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1202, allocations: 33.7 kB / 350.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1204, allocations: 199.5 kB / 350.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.1204, allocations: 71 kB / 350.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.1205, allocations: 73.39 kB / 350.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1206, allocations: 338.8 kB / 350.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1207, allocations: 63.97 kB / 350.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1209, allocations: 195.1 kB / 351 MB, free: 12.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.1213, allocations: 287.3 kB / 351.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1213, allocations: 7.938 kB / 351.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004494/0.1217, allocations: 329.7 kB / 351.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1218, allocations: 4.5 kB / 351.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1218, allocations: 11.94 kB / 351.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.822e-05/0.1219, allocations: 24.84 kB / 351.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.1222, allocations: 83.89 kB / 351.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009457/0.1231, allocations: 1.398 MB / 353.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1233, allocations: 8 kB / 353.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.1233, allocations: 20 kB / 353.2 MB, free: 9.773 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.0001371/0.1235, allocations: 157.8 kB / 353.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1235, allocations: 23.72 kB / 353.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.1239, allocations: 212.5 kB / 353.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1239, allocations: 4 kB / 353.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1239, allocations: 0 / 353.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003395/0.1242, allocations: 487.7 kB / 354 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1252, allocations: 0.7721 MB / 354.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1253, allocations: 7.922 kB / 354.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1254, allocations: 48.2 kB / 354.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1255, allocations: 4 kB / 354.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1255, allocations: 11.94 kB / 354.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1255, allocations: 4 kB / 354.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1255, allocations: 4 kB / 354.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.1259, allocations: 399.2 kB / 355.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.126, allocations: 104.8 kB / 355.4 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.126, allocations: 8 kB / 355.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1263, allocations: 12.05 kB / 355.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1263, allocations: 19.92 kB / 355.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.1263, allocations: 19.98 kB / 355.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1265, allocations: 198 kB / 355.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1265, allocations: 0 / 355.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000418/0.1269, allocations: 95.94 kB / 355.7 MB, free: 6.953 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.0008237/0.1278, allocations: 0.9733 MB / 356.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004806/0.1283, allocations: 319.1 kB / 357 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1283, allocations: 0 / 357 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1284, allocations: 75.78 kB / 357.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.1293, allocations: 169.6 kB / 357.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.1325, allocations: 3.074 MB / 360.3 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1328, allocations: 0.76 MB / 361.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.1331, allocations: 64.59 kB / 361.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1333, allocations: 95.41 kB / 361.2 MB, free: 1.102 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1333, allocations: 0 / 361.2 MB, free: 1.102 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.1715, allocations: 8.603 MB / 369.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.14, allocations: 4.188 kB / 369.8 MB, free: 8.426 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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