Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",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.00136/0.00136, allocations: 96.73 kB / 16.5 MB, free: 6.641 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.001286/0.001286, allocations: 194.6 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 47.45 kB / 300.1 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.08091, allocations: 49.45 MB / 349.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005597/0.08653, allocations: 4.49 MB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.08843, allocations: 1.814 MB / 355.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.08853, allocations: 7.875 kB / 355.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.08877, allocations: 31.81 kB / 355.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.0891, allocations: 115.4 kB / 356 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.0897, allocations: 239.3 kB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.09008, allocations: 362.8 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.09013, allocations: 9.125 kB / 356.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.09039, allocations: 127.6 kB / 356.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.09053, allocations: 79.62 kB / 356.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.09056, allocations: 8 kB / 356.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.09083, allocations: 103.8 kB / 356.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.0909, allocations: 31.91 kB / 356.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.091, allocations: 79.64 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.09133, allocations: 207.7 kB / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09134, allocations: 0 / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.09135, allocations: 0 / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.09136, allocations: 3.938 kB / 357.2 MB, free: 12.79 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008842/0.09225, allocations: 499.2 kB / 357.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.0923, allocations: 8.031 kB / 357.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.09236, allocations: 50.69 kB / 357.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.09254, allocations: 20.83 kB / 357.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.09274, allocations: 204.1 kB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.09276, allocations: 16.59 kB / 358 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.0928, allocations: 20.38 kB / 358 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.09321, allocations: 221.4 kB / 358.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.09323, allocations: 0 / 358.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.09326, allocations: 11.94 kB / 358.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.09327, allocations: 4 kB / 358.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.09363, allocations: 151.8 kB / 358.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.09483, allocations: 0.9362 MB / 359.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.09524, allocations: 154.8 kB / 359.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.09539, allocations: 52.83 kB / 359.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/0.09588, allocations: 0.507 MB / 360 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.09591, allocations: 30.56 kB / 360 MB, free: 9.656 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.09592, allocations: 0 / 360 MB, free: 9.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002548/0.09847, allocations: 0.7709 MB / 360.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.09852, allocations: 55.41 kB / 360.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.09865, allocations: 150.3 kB / 361 MB, free: 8.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.09869, allocations: 25.7 kB / 361 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.09877, allocations: 135.9 kB / 361.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.09884, allocations: 78.92 kB / 361.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.09894, allocations: 65.59 kB / 361.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.09904, allocations: 330.8 kB / 361.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.09929, allocations: 87.88 kB / 361.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.09959, allocations: 190 kB / 361.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.1001, allocations: 300 kB / 362.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1002, allocations: 0 / 362.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006868/0.1009, allocations: 313.5 kB / 362.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1009, allocations: 12.06 kB / 362.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1009, allocations: 4 kB / 362.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1009, allocations: 4 kB / 362.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.1013, allocations: 75.89 kB / 362.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.1013, allocations: 15.92 kB / 362.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1016, allocations: 19.89 kB / 362.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1016, allocations: 19.98 kB / 362.7 MB, free: 6.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.0001117/0.1017, allocations: 141.7 kB / 362.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.1018, allocations: 11.91 kB / 362.8 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.1024, allocations: 241.4 kB / 363 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1025, allocations: 7.938 kB / 363 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1025, allocations: 0 / 363 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1025, allocations: 4 kB / 363.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.1037, allocations: 0.591 MB / 363.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1037, allocations: 0 / 363.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.104, allocations: 51.95 kB / 363.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.104, allocations: 0 / 363.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1041, allocations: 15.92 kB / 363.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1041, allocations: 7.938 kB / 363.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1041, allocations: 0 / 363.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.1049, allocations: 417.1 kB / 364.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.105, allocations: 88.95 kB / 364.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.105, allocations: 11.92 kB / 364.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.1053, allocations: 11.98 kB / 364.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.1053, allocations: 19.92 kB / 364.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.1053, allocations: 12.06 kB / 364.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.1054, allocations: 107.2 kB / 364.4 MB, free: 5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1054, allocations: 3.938 kB / 364.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.1058, allocations: 60 kB / 364.4 MB, free: 4.938 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.001356/0.1072, allocations: 0.9693 MB / 365.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.1078, allocations: 223 kB / 365.6 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1078, allocations: 0 / 365.6 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.108, allocations: 95.77 kB / 365.7 MB, free: 3.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1084, allocations: 40.53 kB / 365.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.1116, allocations: 2.4 MB / 368.2 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1118, allocations: 0.7207 MB / 368.9 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.1121, allocations: 45.92 kB / 368.9 MB, free: 200 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1122, allocations: 51.41 kB / 369 MB, free: 148 kB / 302.1 MB Notification: Performance of SimCode: time 1.403e-06/0.1122, allocations: 4 kB / 369 MB, free: 144 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/0.26, allocations: 4.232 MB / 373.2 MB, free: 25.34 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.2602, allocations: 192.4 kB / 373.4 MB, free: 25.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.997, allocations: 3.938 kB / 373.4 MB, free: 25.08 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches