Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings.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.TestStrings,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.892e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3825, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.5292, allocations: 82.62 MB / 447.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.5295, allocations: 55.97 kB / 447.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06504/0.5945, allocations: 16.68 MB / 464 MB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5946, allocations: 2.25 kB / 464 MB, free: 13.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.5946, allocations: 3.938 kB / 464 MB, free: 13.15 MB / 394.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.0007876/0.5954, allocations: 480 kB / 464.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5954, allocations: 12.03 kB / 464.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.5955, allocations: 30.56 kB / 464.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.5955, allocations: 0 / 464.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.5956, allocations: 163.1 kB / 464.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5957, allocations: 0 / 464.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.5957, allocations: 7.938 kB / 464.7 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.112e-05/0.5958, allocations: 37.66 kB / 464.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.5958, allocations: 0 / 464.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.5958, allocations: 0 / 464.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5958, allocations: 0 / 464.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.5959, allocations: 7.984 kB / 464.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.596, allocations: 145.7 kB / 464.8 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.5961, allocations: 18.61 kB / 464.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.5961, allocations: 12.8 kB / 464.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-06/0.5961, allocations: 0 / 464.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.5962, allocations: 64.22 kB / 464.9 MB, free: 12.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.5962, allocations: 0 / 464.9 MB, free: 12.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001716/0.5964, allocations: 63.45 kB / 465 MB, free: 11.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5965, allocations: 77.11 kB / 465.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.645e-05/0.5965, allocations: 85 kB / 465.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.5965, allocations: 25.7 kB / 465.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.5966, allocations: 159.2 kB / 465.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.5966, allocations: 3.906 kB / 465.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-06/0.5966, allocations: 0 / 465.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5968, allocations: 314.8 kB / 465.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.5968, allocations: 0 / 465.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.5968, allocations: 11.88 kB / 465.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.5968, allocations: 25.7 kB / 465.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5969, allocations: 1.406 kB / 465.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.638e-05/0.597, allocations: 67.45 kB / 465.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.597, allocations: 29.7 kB / 465.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.597, allocations: 0 / 465.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.597, allocations: 3.953 kB / 465.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.5971, allocations: 0 / 465.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5971, allocations: 4 kB / 465.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.5971, allocations: 0 / 465.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5971, allocations: 0 / 465.8 MB, free: 11.08 MB / 394.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 () * 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 8.487e-05/0.5972, allocations: 134.7 kB / 465.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.5972, allocations: 4.031 kB / 465.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.5973, allocations: 11.08 kB / 465.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5973, allocations: 0 / 465.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5973, allocations: 3.953 kB / 465.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5973, allocations: 0 / 465.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.5974, allocations: 149.6 kB / 466.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5974, allocations: 3.984 kB / 466.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.5974, allocations: 0 / 466.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5975, allocations: 0 / 466.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.5975, allocations: 3.938 kB / 466.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5975, allocations: 0 / 466.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5975, allocations: 4 kB / 466.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.5976, allocations: 94.78 kB / 466.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.5977, allocations: 77.11 kB / 466.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.5977, allocations: 0 / 466.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.5977, allocations: 4 kB / 466.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.5977, allocations: 0 / 466.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.5978, allocations: 0 / 466.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.5978, allocations: 86.5 kB / 466.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5978, allocations: 0 / 466.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.5985, allocations: 139.9 kB / 466.5 MB, free: 10.27 MB / 394.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) * 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.001667/0.6002, allocations: 0.9915 MB / 467.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.6004, allocations: 67.34 kB / 467.5 MB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6004, allocations: 4.062 kB / 467.5 MB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.6004, allocations: 55.41 kB / 467.6 MB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.737e-05/0.6005, allocations: 0 / 467.6 MB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.6011, allocations: 180.2 kB / 467.8 MB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.6013, allocations: 0.6692 MB / 468.4 MB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.6013, allocations: 11.44 kB / 468.5 MB, free: 8.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.645e-06/0.6013, allocations: 0 / 468.5 MB, free: 8.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.322, allocations: 3.048 MB / 471.5 MB, free: 5.18 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat