Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01436/0.01436, allocations: 107.6 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001274/0.001274, allocations: 182.5 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.269/2.269, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2722/0.2722, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007981/0.0007983, allocations: 8 kB / 361.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1432, allocations: 54.89 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.06218/0.2054, allocations: 33.3 MB / 449.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3391/0.5446, allocations: 10.32 MB / 459.7 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.5469, allocations: 49.75 kB / 459.7 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.5497, allocations: 0.6152 MB / 460.3 MB, free: 31.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.5623, allocations: 3.171 MB / 463.5 MB, free: 31.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01302/0.5753, allocations: 3.352 MB / 466.8 MB, free: 31.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004191/0.5795, allocations: 1.713 MB / 468.6 MB, free: 31.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.5816, allocations: 0.7839 MB / 469.3 MB, free: 31.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.5926, allocations: 4.18 MB / 473.5 MB, free: 31.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006098/0.5987, allocations: 2.388 MB / 475.9 MB, free: 31.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005142/0.5993, allocations: 51.94 kB / 476 MB, free: 31.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009785/0.6091, allocations: 3.105 MB / 479.1 MB, free: 31.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.6099, allocations: 253.4 kB / 479.3 MB, free: 31.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007583/0.6106, allocations: 259.8 kB / 479.6 MB, free: 30.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006242/0.6169, allocations: 1.808 MB / 481.4 MB, free: 30.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.617, allocations: 0 / 481.4 MB, free: 30.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.617, allocations: 4.719 kB / 481.4 MB, free: 30.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.181e-05/0.6171, allocations: 0 / 481.4 MB, free: 30.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006693/0.6238, allocations: 1.605 MB / 483 MB, free: 29.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.6239, allocations: 9.078 kB / 483 MB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006199/0.6245, allocations: 133.8 kB / 483.1 MB, free: 29.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/0.6284, allocations: 320.5 kB / 483.4 MB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.631, allocations: 0.7809 MB / 484.2 MB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.6311, allocations: 63.44 kB / 484.3 MB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.6314, allocations: 80.36 kB / 484.4 MB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005652/0.637, allocations: 1.221 MB / 485.6 MB, free: 29.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/0.6371, allocations: 5.094 kB / 485.6 MB, free: 29.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.6374, allocations: 40.22 kB / 485.6 MB, free: 29.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.6374, allocations: 23.39 kB / 485.6 MB, free: 29.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005679/0.6431, allocations: 1.032 MB / 486.7 MB, free: 29.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.6556, allocations: 6.249 MB / 492.9 MB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.6591, allocations: 0.633 MB / 493.6 MB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.6598, allocations: 0.7592 MB / 494.3 MB, free: 24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.6598, allocations: 41.59 kB / 494.4 MB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001028/0.6609, allocations: 96.31 kB / 494.5 MB, free: 23.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 4.028e-06/0.6609, allocations: 1.469 kB / 494.5 MB, free: 23.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.01106/0.672, allocations: 1.53 MB / 496 MB, free: 23.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.6721, allocations: 186.7 kB / 496.2 MB, free: 23.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.674, allocations: 0.8785 MB / 497 MB, free: 23.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002367/0.6742, allocations: 36.8 kB / 497.1 MB, free: 23.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.6748, allocations: 0.5961 MB / 497.7 MB, free: 22.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.675, allocations: 177.8 kB / 497.8 MB, free: 22.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6751, allocations: 17.44 kB / 497.9 MB, free: 22.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.6752, allocations: 350.4 kB / 498.2 MB, free: 22.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.6768, allocations: 361.9 kB / 498.6 MB, free: 22.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.6785, allocations: 0.703 MB / 499.3 MB, free: 22.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.6802, allocations: 447.5 kB / 499.7 MB, free: 22.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.6803, allocations: 6.906 kB / 499.7 MB, free: 22.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004684/0.685, allocations: 1.287 MB / 0.4893 GB, free: 21.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008387/0.6859, allocations: 4.184 MB / 0.4933 GB, free: 17.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.6859, allocations: 11.28 kB / 0.4934 GB, free: 17.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009531/0.6955, allocations: 0.7796 MB / 0.4941 GB, free: 17.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.6975, allocations: 303.7 kB / 0.4944 GB, free: 17.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.6989, allocations: 0.7822 MB / 0.4952 GB, free: 16.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.701, allocations: 96.86 kB / 0.4953 GB, free: 16.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.7013, allocations: 97.06 kB / 0.4954 GB, free: 16.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7013, allocations: 6.609 kB / 0.4954 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004107/0.7054, allocations: 1.126 MB / 0.4965 GB, free: 16.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.7055, allocations: 11.66 kB / 0.4965 GB, free: 16.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.7061, allocations: 90.88 kB / 0.4966 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.708, allocations: 310.9 kB / 0.4969 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.7106, allocations: 1.658 MB / 0.4985 GB, free: 30.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.7123, allocations: 88.44 kB / 0.4986 GB, free: 30.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.7125, allocations: 89.16 kB / 0.4986 GB, free: 30.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008719/0.7134, allocations: 338.5 kB / 0.499 GB, free: 30.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.7137, allocations: 105.5 kB / 0.4991 GB, free: 30.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005526/0.7193, allocations: 1.327 MB / 0.5004 GB, free: 29.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7193, allocations: 6.438 kB / 0.5004 GB, free: 29.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7193, allocations: 0 / 0.5004 GB, free: 29.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.7194, allocations: 7.969 kB / 0.5004 GB, free: 29.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/0.7246, allocations: 1.831 MB / 0.5022 GB, free: 28.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.7246, allocations: 2.969 kB / 0.5022 GB, free: 28.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.7255, allocations: 132.9 kB / 0.5023 GB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004855/0.7303, allocations: 0.5835 MB / 0.5029 GB, free: 28.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.7305, allocations: 22.39 kB / 0.5029 GB, free: 28.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.7318, allocations: 0.8239 MB / 0.5037 GB, free: 27.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.7318, allocations: 6.656 kB / 0.5037 GB, free: 27.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.7349, allocations: 1.059 MB / 0.5047 GB, free: 27.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/0.7357, allocations: 303.5 kB / 0.505 GB, free: 26.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.7359, allocations: 10.28 kB / 0.505 GB, free: 26.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.737, allocations: 72.05 kB / 0.5051 GB, free: 26.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.7372, allocations: 49.36 kB / 0.5051 GB, free: 26.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7373, allocations: 44.3 kB / 0.5052 GB, free: 26.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001187/0.7385, allocations: 0.5954 MB / 0.5058 GB, free: 26.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.773e-06/0.7386, allocations: 0 / 0.5058 GB, free: 26.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003989/0.7426, allocations: 0.8433 MB / 0.5066 GB, free: 26.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005503/0.7481, allocations: 2.458 MB / 0.509 GB, free: 24.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005606/0.7538, allocations: 1.572 MB / 0.5105 GB, free: 23.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7538, allocations: 0 / 0.5105 GB, free: 23.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.7552, allocations: 406.1 kB / 0.5109 GB, free: 23.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.7588, allocations: 423 kB / 0.5113 GB, free: 22.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009247/0.7681, allocations: 10.24 MB / 0.5213 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.7689, allocations: 1.106 MB / 0.5224 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003048/0.772, allocations: 453.3 kB / 0.5228 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.773, allocations: 451.2 kB / 0.5233 GB, free: 10.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.773, allocations: 0 / 0.5233 GB, free: 10.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.8756, allocations: 33.25 MB / 0.5557 GB, free: 9.195 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003427/0.876, allocations: 279.8 kB / 0.556 GB, free: 8.844 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.209/5.085, allocations: 1.531 kB / 0.556 GB, free: 8.844 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat