Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.098/2.098, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 19.94 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3635, allocations: 48.69 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7618/1.125, allocations: 209.2 MB / 0.5279 GB, free: 55.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.126, allocations: 89.33 kB / 0.528 GB, free: 55.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.774/3.9, allocations: 0.5002 GB / 1.028 GB, free: 65.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/3.9, allocations: 0 / 1.028 GB, free: 65.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001229/3.9, allocations: 35.97 kB / 1.028 GB, free: 65.6 MB / 442.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.007715/3.908, allocations: 2.059 MB / 1.03 GB, free: 64.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/3.908, allocations: 7.312 kB / 1.03 GB, free: 64.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005514/3.909, allocations: 134.2 kB / 1.03 GB, free: 64.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/3.913, allocations: 352.2 kB / 1.031 GB, free: 64.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/3.916, allocations: 0.9045 MB / 1.032 GB, free: 64.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/3.916, allocations: 64.84 kB / 1.032 GB, free: 64.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/3.917, allocations: 80.25 kB / 1.032 GB, free: 64.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/3.921, allocations: 1.224 MB / 1.033 GB, free: 63.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/3.921, allocations: 0 / 1.033 GB, free: 63.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/3.921, allocations: 45.34 kB / 1.033 GB, free: 63.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/3.921, allocations: 29.23 kB / 1.033 GB, free: 63.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004245/3.926, allocations: 1 MB / 1.034 GB, free: 63.85 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009997/3.936, allocations: 6.245 MB / 1.04 GB, free: 59.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/3.939, allocations: 0.6382 MB / 1.041 GB, free: 59.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/3.939, allocations: 0.7592 MB / 1.041 GB, free: 58.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/3.939, allocations: 41.88 kB / 1.041 GB, free: 58.66 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001085/3.94, allocations: 111.1 kB / 1.042 GB, free: 58.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.627e-06/3.94, allocations: 0 / 1.042 GB, free: 58.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.008761/3.949, allocations: 1.433 MB / 1.043 GB, free: 58.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/3.949, allocations: 189.9 kB / 1.043 GB, free: 58.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/3.951, allocations: 0.7593 MB / 1.044 GB, free: 58.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/3.951, allocations: 39.2 kB / 1.044 GB, free: 58.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/3.951, allocations: 0.6072 MB / 1.044 GB, free: 57.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/3.952, allocations: 173 kB / 1.045 GB, free: 57.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.44e-05/3.952, allocations: 18.31 kB / 1.045 GB, free: 57.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/3.952, allocations: 346.3 kB / 1.045 GB, free: 57.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/3.953, allocations: 357 kB / 1.045 GB, free: 57.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/3.955, allocations: 0.6958 MB / 1.046 GB, free: 56.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/3.956, allocations: 450.8 kB / 1.046 GB, free: 56.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/3.956, allocations: 3.531 kB / 1.046 GB, free: 56.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004199/3.961, allocations: 1.21 MB / 1.048 GB, free: 56.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009963/3.962, allocations: 4.184 MB / 1.052 GB, free: 52.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/3.962, allocations: 10.75 kB / 1.052 GB, free: 52.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009185/3.971, allocations: 0.7667 MB / 1.052 GB, free: 52.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/3.973, allocations: 290.5 kB / 1.053 GB, free: 52.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/3.974, allocations: 0.7924 MB / 1.054 GB, free: 51.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/3.976, allocations: 100.8 kB / 1.054 GB, free: 51.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/3.977, allocations: 82.7 kB / 1.054 GB, free: 51.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/3.977, allocations: 3.594 kB / 1.054 GB, free: 51.73 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003875/3.98, allocations: 1.108 MB / 1.055 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/3.981, allocations: 11.25 kB / 1.055 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/3.981, allocations: 78.61 kB / 1.055 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/3.983, allocations: 307.3 kB / 1.055 GB, free: 51.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/3.985, allocations: 1.652 MB / 1.057 GB, free: 50.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/3.987, allocations: 94.48 kB / 1.057 GB, free: 50.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/3.987, allocations: 74.42 kB / 1.057 GB, free: 50.25 MB / 442.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.0008111/3.988, allocations: 329 kB / 1.057 GB, free: 50.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/3.988, allocations: 105.7 kB / 1.057 GB, free: 49.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/3.994, allocations: 1.673 MB / 1.059 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/3.994, allocations: 9.938 kB / 1.059 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/3.994, allocations: 0 / 1.059 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/3.994, allocations: 7.531 kB / 1.059 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/3.999, allocations: 1.815 MB / 1.061 GB, free: 49.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/3.999, allocations: 10.05 kB / 1.061 GB, free: 49.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/4, allocations: 126.2 kB / 1.061 GB, free: 49.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/4.004, allocations: 0.5906 MB / 1.061 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/4.005, allocations: 22.89 kB / 1.061 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/4.006, allocations: 0.8058 MB / 1.062 GB, free: 48.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/4.006, allocations: 6.266 kB / 1.062 GB, free: 48.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/4.009, allocations: 1.067 MB / 1.063 GB, free: 48.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/4.009, allocations: 316.9 kB / 1.064 GB, free: 48.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/4.01, allocations: 13.81 kB / 1.064 GB, free: 48.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/4.011, allocations: 68.55 kB / 1.064 GB, free: 48.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/4.011, allocations: 58.11 kB / 1.064 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.21e-05/4.011, allocations: 33.88 kB / 1.064 GB, free: 48.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001085/4.012, allocations: 0.5863 MB / 1.064 GB, free: 48.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/4.012, allocations: 0 / 1.064 GB, free: 48.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004532/4.017, allocations: 1.021 MB / 1.065 GB, free: 47.91 MB / 442.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.006004/4.023, allocations: 2.655 MB / 1.068 GB, free: 46.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005056/4.028, allocations: 1.557 MB / 1.069 GB, free: 45.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/4.028, allocations: 2 kB / 1.069 GB, free: 45.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/4.029, allocations: 406.2 kB / 1.07 GB, free: 44.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/4.033, allocations: 429.4 kB / 1.07 GB, free: 44.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00943/4.042, allocations: 10.62 MB / 1.081 GB, free: 34.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/4.043, allocations: 1.095 MB / 1.082 GB, free: 33.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/4.044, allocations: 460.4 kB / 1.082 GB, free: 32.77 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/4.044, allocations: 0 / 1.082 GB, free: 32.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.428/7.472, allocations: 30.94 MB / 1.112 GB, free: 5.363 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat