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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.354/2.354, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.649e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3892, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.5812, allocations: 81.94 MB / 440.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5815, allocations: 59.97 kB / 440.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06592/0.6475, allocations: 16.69 MB / 456.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6475, allocations: 0 / 456.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.6475, allocations: 4 kB / 456.8 MB, free: 12.02 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.0008312/0.6484, allocations: 492 kB / 457.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.6484, allocations: 8.031 kB / 457.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.6485, allocations: 4 kB / 457.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.6486, allocations: 159.1 kB / 457.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.6486, allocations: 0 / 457.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.6486, allocations: 0 / 457.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.599e-05/0.6487, allocations: 3.938 kB / 457.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.426e-05/0.6488, allocations: 37.64 kB / 457.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6488, allocations: 0 / 457.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6488, allocations: 4 kB / 457.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.6488, allocations: 0 / 457.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.649, allocations: 122.2 kB / 457.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.649, allocations: 18.61 kB / 457.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.649, allocations: 4.859 kB / 457.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.6491, allocations: 0 / 457.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.6491, allocations: 64.2 kB / 457.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.6491, allocations: 4 kB / 457.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001938/0.6493, allocations: 41.7 kB / 457.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.6494, allocations: 77.11 kB / 457.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.797e-05/0.6494, allocations: 85 kB / 457.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.6495, allocations: 25.7 kB / 457.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.6495, allocations: 150.6 kB / 458.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.6495, allocations: 0 / 458.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.6496, allocations: 4 kB / 458.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6497, allocations: 314.9 kB / 458.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.6497, allocations: 3.938 kB / 458.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.6497, allocations: 4 kB / 458.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.6498, allocations: 0 / 458.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6498, allocations: 7.938 kB / 458.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.834e-05/0.6499, allocations: 37.62 kB / 458.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.6499, allocations: 29.7 kB / 458.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6499, allocations: 4 kB / 458.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.65, allocations: 0 / 458.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.65, allocations: 4.094 kB / 458.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.65, allocations: 0 / 458.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.65, allocations: 3.953 kB / 458.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.6501, allocations: 0 / 458.5 MB, free: 10.12 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 9.244e-05/0.6502, allocations: 136.7 kB / 458.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.599e-05/0.6503, allocations: 37.7 kB / 458.7 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.6503, allocations: 4 kB / 458.7 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.259e-05/0.6503, allocations: 7.703 kB / 458.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6503, allocations: 0 / 458.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6503, allocations: 11.98 kB / 458.7 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6503, allocations: 0 / 458.7 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/0.6504, allocations: 126.2 kB / 458.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6505, allocations: 0 / 458.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.6505, allocations: 0 / 458.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6505, allocations: 0 / 458.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.6505, allocations: 4 kB / 458.8 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6505, allocations: 3.938 kB / 458.8 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6505, allocations: 0 / 458.8 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.6506, allocations: 73.06 kB / 458.9 MB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.6507, allocations: 85 kB / 459 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.6507, allocations: 4 kB / 459 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.6507, allocations: 0 / 459 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.6508, allocations: 0 / 459 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.6508, allocations: 0 / 459 MB, free: 9.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.6508, allocations: 75.28 kB / 459 MB, free: 9.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6508, allocations: 0 / 459 MB, free: 9.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007309/0.6516, allocations: 139.9 kB / 459.2 MB, free: 9.344 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.001715/0.6533, allocations: 0.9724 MB / 460.2 MB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.6535, allocations: 63.34 kB / 460.2 MB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6535, allocations: 0 / 460.2 MB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.6535, allocations: 63.34 kB / 460.3 MB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.6537, allocations: 0 / 460.3 MB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.6542, allocations: 171.3 kB / 460.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.6545, allocations: 0.6729 MB / 461.1 MB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.6545, allocations: 11.44 kB / 461.1 MB, free: 7.301 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6545, allocations: 0 / 461.1 MB, free: 7.301 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.798/3.452, allocations: 3.113 MB / 464.2 MB, free: 4.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