Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStreams.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.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004287, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3409, allocations: 54.85 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.4813, allocations: 80.01 MB / 449.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4816, allocations: 71.91 kB / 449.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009293/0.4909, allocations: 2.287 MB / 451.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.491, allocations: 0 / 451.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.491, allocations: 0 / 451.7 MB, free: 8.133 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003576/0.4914, allocations: 377 kB / 452.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4914, allocations: 8.031 kB / 452.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.4915, allocations: 34.5 kB / 452.1 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.4915, allocations: 7.859 kB / 452.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.4916, allocations: 161.3 kB / 452.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4917, allocations: 8 kB / 452.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.4917, allocations: 0 / 452.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/0.4918, allocations: 29.69 kB / 452.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4918, allocations: 0 / 452.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.4918, allocations: 8 kB / 452.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4918, allocations: 0 / 452.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.4919, allocations: 3.953 kB / 452.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.492, allocations: 145.7 kB / 452.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.4921, allocations: 22.55 kB / 452.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.4921, allocations: 3.984 kB / 452.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.4922, allocations: 56.27 kB / 452.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.4922, allocations: 4 kB / 452.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.4924, allocations: 63.47 kB / 452.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.4925, allocations: 81.05 kB / 452.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.677e-05/0.4925, allocations: 85 kB / 452.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.4925, allocations: 25.7 kB / 452.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.4926, allocations: 158.5 kB / 453 MB, free: 6.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4926, allocations: 3.984 kB / 453 MB, free: 6.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.4926, allocations: 0 / 453 MB, free: 6.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4928, allocations: 318.9 kB / 453.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.4928, allocations: 0 / 453.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.4928, allocations: 7.938 kB / 453.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.474e-05/0.4928, allocations: 25.7 kB / 453.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4929, allocations: 0 / 453.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.028e-05/0.493, allocations: 63.41 kB / 453.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.493, allocations: 33.69 kB / 453.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.493, allocations: 0 / 453.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.493, allocations: 0 / 453.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/0.4931, allocations: 96 / 453.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.4931, allocations: 8 kB / 453.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.4931, allocations: 0 / 453.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4931, allocations: 0 / 453.4 MB, free: 6.168 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.4932, allocations: 139.4 kB / 453.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.4932, allocations: 4 kB / 453.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.4933, allocations: 3.125 kB / 453.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4933, allocations: 0 / 453.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4933, allocations: 3.984 kB / 453.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4933, allocations: 0 / 453.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.4934, allocations: 153.6 kB / 453.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4935, allocations: 4 kB / 453.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-07/0.4935, allocations: 0 / 453.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4935, allocations: 0 / 453.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4935, allocations: 4 kB / 453.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.4935, allocations: 3.984 kB / 453.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4935, allocations: 0 / 453.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.4936, allocations: 102.8 kB / 453.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.4937, allocations: 77.11 kB / 453.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4937, allocations: 0 / 453.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.4937, allocations: 4 kB / 453.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.4938, allocations: 3.984 kB / 453.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4938, allocations: 3.938 kB / 453.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.4938, allocations: 75.28 kB / 454 MB, free: 5.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4938, allocations: 3.938 kB / 454 MB, free: 5.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.4942, allocations: 32 kB / 454 MB, free: 5.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009991/0.4952, allocations: 0.8128 MB / 454.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.4953, allocations: 59.41 kB / 454.9 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4954, allocations: 8 kB / 454.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.4954, allocations: 55.41 kB / 455 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.4955, allocations: 4 kB / 455 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.4959, allocations: 150 kB / 455.1 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.4962, allocations: 0.6731 MB / 455.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.4962, allocations: 11.44 kB / 455.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4962, allocations: 0 / 455.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.637/3.133, allocations: 1.344 MB / 457.1 MB, free: 2.258 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat