Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004399, allocations: 15.98 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.348, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6387/0.9867, allocations: 215.5 MB / 0.5712 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.987, allocations: 92.28 kB / 0.5712 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.901/3.888, allocations: 0.5098 GB / 1.081 GB, free: 75.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.066e-06/3.888, allocations: 0 / 1.081 GB, free: 75.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001537/3.888, allocations: 31.67 kB / 1.081 GB, free: 75.1 MB / 490.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.008227/3.896, allocations: 2.062 MB / 1.083 GB, free: 74.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/3.896, allocations: 11.09 kB / 1.083 GB, free: 74.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005926/3.897, allocations: 132.9 kB / 1.083 GB, free: 74.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/3.902, allocations: 361.7 kB / 1.084 GB, free: 74.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/3.905, allocations: 0.8966 MB / 1.084 GB, free: 74.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/3.905, allocations: 64.5 kB / 1.084 GB, free: 74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/3.905, allocations: 88.62 kB / 1.085 GB, free: 74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/3.91, allocations: 1.229 MB / 1.086 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/3.91, allocations: 0 / 1.086 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/3.91, allocations: 46.86 kB / 1.086 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/3.91, allocations: 18.78 kB / 1.086 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004751/3.915, allocations: 1.006 MB / 1.087 GB, free: 73.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/3.926, allocations: 6.24 MB / 1.093 GB, free: 69.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/3.929, allocations: 0.6379 MB / 1.094 GB, free: 69.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/3.93, allocations: 0.7693 MB / 1.094 GB, free: 68.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/3.93, allocations: 42.16 kB / 1.094 GB, free: 68.62 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001105/3.931, allocations: 105.4 kB / 1.094 GB, free: 68.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 3.637e-06/3.931, allocations: 0 / 1.094 GB, free: 68.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.009509/3.94, allocations: 1.436 MB / 1.096 GB, free: 68.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/3.941, allocations: 193.1 kB / 1.096 GB, free: 68.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/3.942, allocations: 0.761 MB / 1.097 GB, free: 68.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/3.943, allocations: 34.95 kB / 1.097 GB, free: 68.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000499/3.943, allocations: 0.6042 MB / 1.097 GB, free: 67.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/3.943, allocations: 174.2 kB / 1.098 GB, free: 67.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/3.943, allocations: 19.03 kB / 1.098 GB, free: 67.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/3.944, allocations: 349 kB / 1.098 GB, free: 67.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/3.945, allocations: 354.1 kB / 1.098 GB, free: 67.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/3.947, allocations: 0.6975 MB / 1.099 GB, free: 66.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/3.948, allocations: 443.5 kB / 1.099 GB, free: 66.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/3.948, allocations: 4.531 kB / 1.099 GB, free: 66.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00445/3.953, allocations: 1.211 MB / 1.101 GB, free: 66.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001065/3.954, allocations: 4.183 MB / 1.105 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/3.954, allocations: 14.47 kB / 1.105 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009322/3.963, allocations: 0.7659 MB / 1.105 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/3.965, allocations: 285.7 kB / 1.106 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/3.967, allocations: 0.7968 MB / 1.106 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/3.969, allocations: 103.6 kB / 1.107 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/3.969, allocations: 80.97 kB / 1.107 GB, free: 61.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/3.969, allocations: 3.344 kB / 1.107 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003849/3.973, allocations: 1.1 MB / 1.108 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/3.973, allocations: 11.66 kB / 1.108 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/3.973, allocations: 92.53 kB / 1.108 GB, free: 61.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/3.975, allocations: 299.2 kB / 1.108 GB, free: 61.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/3.977, allocations: 1.657 MB / 1.11 GB, free: 60.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/3.979, allocations: 85.97 kB / 1.11 GB, free: 60.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/3.979, allocations: 72.31 kB / 1.11 GB, free: 60.51 MB / 490.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.0007817/3.98, allocations: 338.1 kB / 1.11 GB, free: 60.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/3.98, allocations: 105.7 kB / 1.11 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/3.986, allocations: 1.674 MB / 1.112 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/3.986, allocations: 8.906 kB / 1.112 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/3.986, allocations: 0 / 1.112 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/3.986, allocations: 7.75 kB / 1.112 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/3.991, allocations: 1.813 MB / 1.114 GB, free: 59.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/3.991, allocations: 3.469 kB / 1.114 GB, free: 59.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/3.992, allocations: 128.5 kB / 1.114 GB, free: 59.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004718/3.996, allocations: 0.5902 MB / 1.114 GB, free: 59.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/3.997, allocations: 24.2 kB / 1.114 GB, free: 59.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/3.998, allocations: 0.8026 MB / 1.115 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/3.998, allocations: 0 / 1.115 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/4.001, allocations: 1.07 MB / 1.116 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007029/4.002, allocations: 314.7 kB / 1.117 GB, free: 58.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/4.002, allocations: 13.89 kB / 1.117 GB, free: 58.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/4.003, allocations: 72.08 kB / 1.117 GB, free: 58.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/4.003, allocations: 52.94 kB / 1.117 GB, free: 58.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/4.003, allocations: 41 kB / 1.117 GB, free: 58.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001119/4.004, allocations: 0.5919 MB / 1.117 GB, free: 58.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.3e-07/4.004, allocations: 0 / 1.117 GB, free: 58.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004626/4.009, allocations: 1.021 MB / 1.118 GB, free: 58.46 MB / 490.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 (49): * Single equations (assignments): 48 * 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.006108/4.015, allocations: 2.653 MB / 1.121 GB, free: 57.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005257/4.02, allocations: 1.559 MB / 1.122 GB, free: 56.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/4.021, allocations: 0 / 1.122 GB, free: 56.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/4.022, allocations: 404 kB / 1.123 GB, free: 56.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/4.026, allocations: 425 kB / 1.123 GB, free: 56.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009794/4.035, allocations: 10.61 MB / 1.134 GB, free: 47.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/4.036, allocations: 1.093 MB / 1.135 GB, free: 47.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/4.037, allocations: 456.6 kB / 1.135 GB, free: 47.27 MB / 490.7 MB Notification: Performance of SimCode: time 2.165e-06/4.037, allocations: 0 / 1.135 GB, free: 47.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.433/7.471, allocations: 30.95 MB / 1.165 GB, free: 43.45 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat