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.00146/0.00146, allocations: 96.39 kB / 17.58 MB, free: 5.418 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.0017/0.0017, allocations: 192 kB / 18.51 MB, free: 4.508 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.236/1.236, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001237/0.001237, allocations: 52.25 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07006/0.0713, allocations: 46.63 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005389/0.07673, allocations: 4.476 MB / 331.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.07879, allocations: 1.822 MB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.07891, allocations: 0 / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.07919, allocations: 39.73 kB / 333.7 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.07955, allocations: 123.2 kB / 333.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.08019, allocations: 243.4 kB / 334.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.08051, allocations: 286.9 kB / 334.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.08057, allocations: 20.89 kB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.08083, allocations: 131.5 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.08096, allocations: 71.75 kB / 334.6 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.081, allocations: 11.94 kB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.08126, allocations: 99.88 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.08134, allocations: 35.89 kB / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.08144, allocations: 79.7 kB / 334.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.08176, allocations: 207.7 kB / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.08177, allocations: 0 / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08178, allocations: 8 kB / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.0818, allocations: 0 / 335 MB, free: 12.71 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009033/0.0827, allocations: 491.2 kB / 335.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.08275, allocations: 11.97 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.08281, allocations: 46.75 kB / 335.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.083, allocations: 24.83 kB / 335.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.08321, allocations: 212.1 kB / 335.8 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.08324, allocations: 12.66 kB / 335.8 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.08327, allocations: 12.38 kB / 335.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.08367, allocations: 216.6 kB / 336 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.0837, allocations: 3.938 kB / 336 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.08373, allocations: 12 kB / 336 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.08374, allocations: 0 / 336 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.0841, allocations: 147.8 kB / 336.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.08529, allocations: 0.944 MB / 337.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.08569, allocations: 158.7 kB / 337.3 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.08584, allocations: 60.7 kB / 337.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.08635, allocations: 0.507 MB / 337.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.08638, allocations: 34.56 kB / 337.9 MB, free: 9.574 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.08639, allocations: 0 / 337.9 MB, free: 9.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002632/0.08903, allocations: 0.7637 MB / 338.6 MB, free: 8.758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.08907, allocations: 59.34 kB / 338.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.08921, allocations: 150.4 kB / 338.8 MB, free: 8.531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.08924, allocations: 29.7 kB / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.08932, allocations: 143.8 kB / 339 MB, free: 8.352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.08939, allocations: 78.92 kB / 339.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.08949, allocations: 65.59 kB / 339.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.0896, allocations: 322.8 kB / 339.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.08986, allocations: 87.94 kB / 339.5 MB, free: 7.793 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.09019, allocations: 189.2 kB / 339.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.09077, allocations: 302 kB / 340 MB, free: 7.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.09078, allocations: 0 / 340 MB, free: 7.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006943/0.09148, allocations: 313.1 kB / 340.3 MB, free: 6.902 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.09151, allocations: 8 kB / 340.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.09152, allocations: 4 kB / 340.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.09154, allocations: 4.469 kB / 340.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.09192, allocations: 83.89 kB / 340.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.09195, allocations: 11.94 kB / 340.4 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.09217, allocations: 15.98 kB / 340.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.09221, allocations: 16 kB / 340.5 MB, free: 6.762 MB / 286.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.0001131/0.09233, allocations: 141.6 kB / 340.6 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.09239, allocations: 15.81 kB / 340.6 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.09306, allocations: 246.7 kB / 340.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.09307, allocations: 4 kB / 340.9 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.09308, allocations: 0 / 340.9 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.09309, allocations: 0 / 340.9 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.09438, allocations: 0.5925 MB / 341.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.0944, allocations: 4.125 kB / 341.5 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.09471, allocations: 55.89 kB / 341.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.09472, allocations: 0 / 341.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.09475, allocations: 11.94 kB / 341.5 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.09476, allocations: 11.92 kB / 341.5 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.09477, allocations: 4 kB / 341.5 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.09562, allocations: 402.6 kB / 341.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.09569, allocations: 88.92 kB / 342 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.09573, allocations: 11.92 kB / 342 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.09598, allocations: 12 kB / 342 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.09601, allocations: 19.91 kB / 342.1 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.09604, allocations: 12 kB / 342.1 MB, free: 5.023 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.457e-05/0.09612, allocations: 107.2 kB / 342.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09613, allocations: 0 / 342.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.0965, allocations: 64.06 kB / 342.2 MB, free: 4.855 MB / 286.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.001229/0.09774, allocations: 0.9577 MB / 343.2 MB, free: 3.855 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.09837, allocations: 229.8 kB / 343.4 MB, free: 3.633 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.09838, allocations: 0 / 343.4 MB, free: 3.633 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.09864, allocations: 92 kB / 343.5 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.09903, allocations: 34.23 kB / 343.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.1022, allocations: 2.366 MB / 345.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1025, allocations: 0.7206 MB / 346.6 MB, free: 212 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.1027, allocations: 41.94 kB / 346.7 MB, free: 168 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1029, allocations: 55.41 kB / 346.7 MB, free: 112 kB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1029, allocations: 0 / 346.7 MB, free: 112 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5307/0.6336, allocations: 4.459 MB / 351.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/10.29, allocations: 19.91 kB / 351.2 MB, free: 11.57 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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