Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01116/0.01117, allocations: 106 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001602/0.001602, allocations: 166.4 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.676/1.676, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.252/0.252, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004572, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.0978/0.2019, allocations: 33.28 MB / 405.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03861/0.2406, allocations: 10.35 MB / 415.9 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.2434, allocations: 55.5 kB / 416 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.2465, allocations: 0.5988 MB / 416.6 MB, free: 456 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.2589, allocations: 3.176 MB / 419.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01349/0.2724, allocations: 3.372 MB / 423.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.2777, allocations: 1.708 MB / 424.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.2801, allocations: 0.7759 MB / 425.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01443/0.2945, allocations: 3.9 MB / 429.5 MB, free: 3.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00748/0.3021, allocations: 2.234 MB / 431.7 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004682/0.3026, allocations: 56 kB / 431.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3279/0.6305, allocations: 2.957 MB / 434.8 MB, free: 17.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000694/0.6313, allocations: 261.9 kB / 435 MB, free: 17.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.632, allocations: 257.8 kB / 435.3 MB, free: 17.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005556/0.6375, allocations: 1.809 MB / 437.1 MB, free: 17.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6376, allocations: 0 / 437.1 MB, free: 17.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6376, allocations: 0 / 437.1 MB, free: 17.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.348e-05/0.6377, allocations: 0 / 437.1 MB, free: 17.72 MB / 330.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.006171/0.6439, allocations: 1.607 MB / 438.7 MB, free: 16.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6439, allocations: 10 kB / 438.7 MB, free: 16.83 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005758/0.6445, allocations: 137.6 kB / 438.8 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.6485, allocations: 310.1 kB / 439.1 MB, free: 16.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.651, allocations: 0.7821 MB / 439.9 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.6511, allocations: 62.5 kB / 440 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.6515, allocations: 83.62 kB / 440.1 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005394/0.6569, allocations: 1.223 MB / 441.3 MB, free: 16.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.657, allocations: 5.312 kB / 441.3 MB, free: 16.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.6572, allocations: 42.31 kB / 441.3 MB, free: 16.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.6573, allocations: 21.56 kB / 441.3 MB, free: 16.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005481/0.6628, allocations: 1.034 MB / 442.4 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.6748, allocations: 6.241 MB / 448.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.6782, allocations: 0.6329 MB / 449.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/0.6789, allocations: 0.7601 MB / 450 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.6789, allocations: 38 kB / 450 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009928/0.6799, allocations: 93.14 kB / 450.1 MB, free: 11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 3.737e-06/0.6799, allocations: 0 / 450.1 MB, free: 11 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0114/0.6914, allocations: 1.535 MB / 451.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.6915, allocations: 188.4 kB / 451.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.6931, allocations: 0.8776 MB / 452.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.6934, allocations: 42.48 kB / 452.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.6939, allocations: 0.6083 MB / 453.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.6941, allocations: 168.2 kB / 453.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.6942, allocations: 18.16 kB / 453.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.6943, allocations: 342.8 kB / 453.9 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.6957, allocations: 358.7 kB / 454.3 MB, free: 9.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.6973, allocations: 0.7085 MB / 455 MB, free: 9.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.6991, allocations: 448.1 kB / 455.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.6991, allocations: 6.656 kB / 455.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004774/0.7039, allocations: 1.285 MB / 456.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008886/0.7049, allocations: 4.186 MB / 460.9 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.7049, allocations: 10.97 kB / 460.9 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.715, allocations: 0.7653 MB / 461.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.7171, allocations: 306.7 kB / 462 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.7185, allocations: 0.7927 MB / 462.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/0.7221, allocations: 88.28 kB / 462.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004424/0.7226, allocations: 103.6 kB / 462.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7227, allocations: 6 kB / 462.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004191/0.7269, allocations: 1.123 MB / 464.1 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/0.727, allocations: 11.5 kB / 464.1 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.7275, allocations: 93.16 kB / 464.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.7296, allocations: 312.1 kB / 464.5 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.7319, allocations: 1.665 MB / 466.1 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.7338, allocations: 91.58 kB / 466.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.7341, allocations: 93.12 kB / 466.3 MB, free: 2.719 MB / 330.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.0008788/0.735, allocations: 330.6 kB / 466.6 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.7355, allocations: 107.3 kB / 466.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005544/0.741, allocations: 1.328 MB / 468.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.7411, allocations: 6.5 kB / 468.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7411, allocations: 0 / 468.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.7411, allocations: 3.469 kB / 468.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.7465, allocations: 1.827 MB / 469.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.7465, allocations: 0 / 469.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/0.7474, allocations: 137.8 kB / 470 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004953/0.7524, allocations: 0.5731 MB / 470.6 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.7526, allocations: 27.52 kB / 470.6 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.7538, allocations: 0.8297 MB / 471.5 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7538, allocations: 2.031 kB / 471.5 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.7572, allocations: 1.063 MB / 472.5 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/0.7583, allocations: 300 kB / 472.8 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.7586, allocations: 12.03 kB / 472.8 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.76, allocations: 68.14 kB / 472.9 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.7602, allocations: 53.42 kB / 473 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7603, allocations: 35.11 kB / 473 MB, free: 280 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001228/0.7616, allocations: 0.6101 MB / 473.6 MB, free: 64 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.7616, allocations: 0 / 473.6 MB, free: 64 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.004764/0.7664, allocations: 0.8337 MB / 474.4 MB, free: 15.95 MB / 346.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.006669/0.7731, allocations: 2.452 MB / 476.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005995/0.7792, allocations: 1.575 MB / 478.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.7792, allocations: 5.5 kB / 478.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.7808, allocations: 395.3 kB / 478.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/0.785, allocations: 430.3 kB / 479.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.7969, allocations: 10.24 MB / 489.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.7978, allocations: 1.101 MB / 490.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003254/0.8011, allocations: 463.8 kB / 491.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.8022, allocations: 451.7 kB / 491.5 MB, free: 1.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.8023, allocations: 0 / 491.5 MB, free: 1.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.9034, allocations: 33.25 MB / 0.5125 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004645/0.904, allocations: 291.6 kB / 0.5127 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/5.376, allocations: 0 / 0.5127 GB, free: 0.4922 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat