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.001374/0.001374, allocations: 112.6 kB / 17.06 MB, free: 5.992 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.0015/0.0015, allocations: 193.4 kB / 18 MB, free: 5.074 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.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2816, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006145/0.2878, allocations: 4.482 MB / 404.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.29, allocations: 1.814 MB / 406.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.29, allocations: 4 kB / 406.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.2903, allocations: 47.67 kB / 406.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.2907, allocations: 123.2 kB / 406.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.2913, allocations: 256.2 kB / 406.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.2917, allocations: 278.9 kB / 407.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.2917, allocations: 16.62 kB / 407.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.292, allocations: 127.7 kB / 407.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.2921, allocations: 87.62 kB / 407.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2922, allocations: 8 kB / 407.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.2924, allocations: 91.88 kB / 407.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.2925, allocations: 39.89 kB / 407.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2926, allocations: 79.64 kB / 407.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.293, allocations: 210.3 kB / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.293, allocations: 0 / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.293, allocations: 0 / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.293, allocations: 0 / 407.8 MB, free: 1.164 MB / 318.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.0009845/0.294, allocations: 495 kB / 408.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.294, allocations: 12.03 kB / 408.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.2941, allocations: 42.75 kB / 408.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.2943, allocations: 24.83 kB / 408.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.2946, allocations: 216.1 kB / 408.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2946, allocations: 12.66 kB / 408.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.2947, allocations: 16.33 kB / 408.6 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.2951, allocations: 217.4 kB / 408.9 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2951, allocations: 0 / 408.9 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.2952, allocations: 8 kB / 408.9 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2952, allocations: 8 kB / 408.9 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.2956, allocations: 163.7 kB / 409 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2969, allocations: 0.9325 MB / 410 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.2973, allocations: 158.7 kB / 410.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2975, allocations: 48.83 kB / 410.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/0.2981, allocations: 0.5071 MB / 410.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2981, allocations: 30.56 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2981, allocations: 3.938 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002636/0.3008, allocations: 0.7749 MB / 411.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3008, allocations: 55.41 kB / 411.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.301, allocations: 152.1 kB / 411.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.301, allocations: 37.64 kB / 411.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.3011, allocations: 136.1 kB / 411.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.3012, allocations: 87.36 kB / 411.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.3013, allocations: 57.69 kB / 412 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3015, allocations: 322.8 kB / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.3018, allocations: 83.94 kB / 412.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.3022, allocations: 202.4 kB / 412.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.3028, allocations: 299.2 kB / 412.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3028, allocations: 0 / 412.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00075/0.3036, allocations: 320.5 kB / 413.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3036, allocations: 8 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3036, allocations: 4 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3036, allocations: 4 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.304, allocations: 79.89 kB / 413.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3041, allocations: 4 kB / 413.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.3043, allocations: 24.27 kB / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.3043, allocations: 19.98 kB / 413.3 MB, free: 11.19 MB / 334.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.0001419/0.3045, allocations: 141.6 kB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.3045, allocations: 15.91 kB / 413.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007005/0.3053, allocations: 242.7 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3053, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3053, allocations: 3.938 kB / 413.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3053, allocations: 0 / 413.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.3067, allocations: 0.5915 MB / 414.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3067, allocations: 4 kB / 414.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.307, allocations: 51.89 kB / 414.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.307, allocations: 0 / 414.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.307, allocations: 15.92 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3071, allocations: 8.125 kB / 414.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3071, allocations: 0 / 414.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009039/0.308, allocations: 405.9 kB / 414.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.308, allocations: 93.03 kB / 414.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.3081, allocations: 15.88 kB / 414.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3083, allocations: 11.98 kB / 414.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.3084, allocations: 16.05 kB / 414.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3084, allocations: 8 kB / 414.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.907e-05/0.3085, allocations: 107.2 kB / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.3085, allocations: 0 / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.3089, allocations: 63.94 kB / 415.1 MB, free: 9.293 MB / 334.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.001318/0.3102, allocations: 0.9836 MB / 416.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.3109, allocations: 216.3 kB / 416.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3109, allocations: 0 / 416.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.3112, allocations: 91.81 kB / 416.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.3116, allocations: 32.61 kB / 416.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.3152, allocations: 2.369 MB / 418.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.3156, allocations: 0.7128 MB / 419.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.3159, allocations: 53.92 kB / 419.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.316, allocations: 51.41 kB / 419.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of SimCode: time 5.52e-07/0.316, allocations: 0 / 419.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.3443, allocations: 4.511 MB / 424.1 MB, free: 100 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.17, allocations: 22.02 kB / 424.1 MB, free: 84 kB / 334.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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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