Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_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.001291/0.001291, allocations: 114.4 kB / 17.73 MB, free: 5.355 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.00129/0.00129, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.375/1.375, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002736/0.002736, allocations: 47.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09918, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007404/0.1066, allocations: 4.483 MB / 379.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1693/0.276, allocations: 1.81 MB / 380.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.2762, allocations: 4.125 kB / 380.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.2765, allocations: 40.33 kB / 381 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.2769, allocations: 125.1 kB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.2774, allocations: 249.8 kB / 381.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.2778, allocations: 285.4 kB / 381.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.2778, allocations: 10.72 kB / 381.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.278, allocations: 131.7 kB / 381.7 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2782, allocations: 79.33 kB / 381.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.2782, allocations: 10.12 kB / 381.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.2785, allocations: 96.11 kB / 381.9 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.2785, allocations: 41.33 kB / 382 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.2786, allocations: 84.25 kB / 382.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.279, allocations: 208.2 kB / 382.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.279, allocations: 2.172 kB / 382.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2791, allocations: 0 / 382.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2791, allocations: 1.969 kB / 382.3 MB, free: 9.027 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.0009339/0.28, allocations: 0.4894 MB / 382.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2801, allocations: 9.594 kB / 382.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.212e-05/0.2801, allocations: 48.03 kB / 382.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2803, allocations: 19.78 kB / 382.8 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2806, allocations: 207 kB / 383 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2806, allocations: 10.53 kB / 383 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.2807, allocations: 14.03 kB / 383.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.2811, allocations: 219.3 kB / 383.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2812, allocations: 1.438 kB / 383.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2812, allocations: 10.12 kB / 383.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.2812, allocations: 3.781 kB / 383.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.2816, allocations: 149.9 kB / 383.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2827, allocations: 0.9489 MB / 384.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.2831, allocations: 151.4 kB / 384.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2833, allocations: 55.66 kB / 384.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.2837, allocations: 0.509 MB / 385.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.2837, allocations: 37.55 kB / 385.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.2837, allocations: 0 / 385.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00242/0.2861, allocations: 0.7736 MB / 385.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2862, allocations: 52.72 kB / 385.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2863, allocations: 154.1 kB / 386.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2863, allocations: 30.45 kB / 386.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.2864, allocations: 145.4 kB / 386.3 MB, free: 6.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.2864, allocations: 72.66 kB / 386.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.2865, allocations: 60.25 kB / 386.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.2866, allocations: 329.3 kB / 386.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.2868, allocations: 83.78 kB / 386.8 MB, free: 5.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.2871, allocations: 190.1 kB / 387 MB, free: 5.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.2876, allocations: 299.5 kB / 387.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2876, allocations: 1.406 kB / 387.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006746/0.2883, allocations: 318 kB / 387.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2884, allocations: 10.72 kB / 387.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.2884, allocations: 4.312 kB / 387.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2884, allocations: 4.844 kB / 387.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.2888, allocations: 83.25 kB / 387.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.2888, allocations: 6.031 kB / 387.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.289, allocations: 19.33 kB / 387.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.2891, allocations: 13.22 kB / 387.7 MB, free: 5.602 MB / 318.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 9.998e-05/0.2892, allocations: 145 kB / 387.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.2892, allocations: 19.28 kB / 387.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006553/0.2899, allocations: 246.3 kB / 388.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2899, allocations: 1.953 kB / 388.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2899, allocations: 3.531 kB / 388.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2899, allocations: 5.219 kB / 388.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.2911, allocations: 0.594 MB / 388.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2911, allocations: 2.031 kB / 388.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.2914, allocations: 54.91 kB / 388.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2914, allocations: 2.906 kB / 388.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2915, allocations: 4.625 kB / 388.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2915, allocations: 6.234 kB / 388.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2915, allocations: 2.688 kB / 388.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.2923, allocations: 407.9 kB / 389.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2923, allocations: 93.42 kB / 389.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.2924, allocations: 6.406 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.2926, allocations: 15.8 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.2926, allocations: 13.25 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.2927, allocations: 9.938 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.2927, allocations: 113.6 kB / 389.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2927, allocations: 0 / 389.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.2931, allocations: 61.86 kB / 389.5 MB, free: 4.676 MB / 318.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.001031/0.2942, allocations: 0.9636 MB / 390.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006021/0.2948, allocations: 223.9 kB / 390.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2948, allocations: 4.062 kB / 390.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.295, allocations: 91.56 kB / 390.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2954, allocations: 41.8 kB / 390.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.2984, allocations: 2.375 MB / 393.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2986, allocations: 0.7161 MB / 393.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.2988, allocations: 47.55 kB / 394 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.299, allocations: 51.2 kB / 394 MB, free: 1.172 MB / 318.1 MB Notification: Performance of SimCode: time 1.152e-06/0.299, allocations: 0 / 394 MB, free: 1.172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.3264, allocations: 4.547 MB / 398.6 MB, free: 448 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.347, allocations: 8.281 kB / 398.6 MB, free: 440 kB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches