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.412/2.412, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 20 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3485, allocations: 54.85 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.4989, allocations: 82.7 MB / 452 MB, free: 7.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4992, allocations: 67.8 kB / 452.1 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06644/0.5656, allocations: 16.73 MB / 468.8 MB, free: 7.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5657, allocations: 4 kB / 468.8 MB, free: 7.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.5657, allocations: 0 / 468.8 MB, free: 7.078 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.0008871/0.5666, allocations: 488.9 kB / 469.3 MB, free: 6.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.5667, allocations: 12.03 kB / 469.3 MB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.5667, allocations: 34.5 kB / 469.4 MB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.5668, allocations: 0 / 469.4 MB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.5669, allocations: 159.1 kB / 469.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5669, allocations: 0 / 469.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5669, allocations: 4 kB / 469.5 MB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.567, allocations: 37.64 kB / 469.6 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5671, allocations: 0 / 469.6 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.5671, allocations: 3.938 kB / 469.6 MB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5671, allocations: 0 / 469.6 MB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.5671, allocations: 4 kB / 469.6 MB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.5673, allocations: 149.7 kB / 469.7 MB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.896e-05/0.5674, allocations: 22.55 kB / 469.7 MB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.5674, allocations: 3.938 kB / 469.7 MB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.5674, allocations: 64.25 kB / 469.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.5674, allocations: 0 / 469.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002056/0.5677, allocations: 63.42 kB / 469.9 MB, free: 5.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.5677, allocations: 85.05 kB / 470 MB, free: 5.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.5678, allocations: 85 kB / 470 MB, free: 5.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.5678, allocations: 25.7 kB / 470.1 MB, free: 5.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.5679, allocations: 150.6 kB / 470.2 MB, free: 5.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.5679, allocations: 4.125 kB / 470.2 MB, free: 5.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.5679, allocations: 4 kB / 470.2 MB, free: 5.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5681, allocations: 314.8 kB / 470.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.5681, allocations: 0 / 470.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.5681, allocations: 0 / 470.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.5681, allocations: 29.7 kB / 470.6 MB, free: 5.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5682, allocations: 0 / 470.6 MB, free: 5.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.403e-05/0.5683, allocations: 63.41 kB / 470.6 MB, free: 5.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.5683, allocations: 29.7 kB / 470.6 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5683, allocations: 8.078 kB / 470.7 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5684, allocations: 0 / 470.7 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.5684, allocations: 0 / 470.7 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5684, allocations: 3.953 kB / 470.7 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.5684, allocations: 0 / 470.7 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5684, allocations: 7.938 kB / 470.7 MB, free: 5 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 () * 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 0.0001014/0.5685, allocations: 131.5 kB / 470.8 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.5686, allocations: 0 / 470.8 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.5686, allocations: 7.125 kB / 470.8 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5686, allocations: 4 kB / 470.8 MB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5686, allocations: 0 / 470.8 MB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5686, allocations: 3.953 kB / 470.8 MB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.5688, allocations: 145.7 kB / 471 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5688, allocations: 0 / 471 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.5688, allocations: 0 / 471 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5688, allocations: 4 kB / 471 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.5688, allocations: 0 / 471 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5688, allocations: 0 / 471 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5688, allocations: 0 / 471 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.569, allocations: 102.7 kB / 471.1 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.569, allocations: 85.05 kB / 471.1 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.5691, allocations: 0 / 471.1 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.5691, allocations: 0 / 471.1 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.5691, allocations: 7.938 kB / 471.1 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5691, allocations: 0 / 471.1 MB, free: 4.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.5692, allocations: 79.27 kB / 471.2 MB, free: 4.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5692, allocations: 0 / 471.2 MB, free: 4.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007708/0.5699, allocations: 143.9 kB / 471.4 MB, free: 4.191 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) * 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.001768/0.5717, allocations: 1.001 MB / 472.4 MB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.5719, allocations: 55.41 kB / 472.4 MB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5719, allocations: 0 / 472.4 MB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.572, allocations: 71.27 kB / 472.5 MB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.994e-05/0.5721, allocations: 4.75 kB / 472.5 MB, free: 3.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.5726, allocations: 202 kB / 472.7 MB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5729, allocations: 0.6731 MB / 473.4 MB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.573, allocations: 11.44 kB / 473.4 MB, free: 2.102 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.573, allocations: 3.938 kB / 473.4 MB, free: 2.098 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.011/3.584, allocations: 3.054 MB / 476.4 MB, free: 92.66 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