Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.StrictLimiters.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.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.523e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3968, allocations: 54.86 MB / 364.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5575, allocations: 84.33 MB / 448.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5579, allocations: 67.97 kB / 449 MB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1059/0.6637, allocations: 13.57 MB / 462.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6638, allocations: 0 / 462.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.509e-05/0.6639, allocations: 12 kB / 462.6 MB, free: 14.41 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003021/0.6669, allocations: 0.9623 MB / 463.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.667, allocations: 8.031 kB / 463.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.6672, allocations: 78.53 kB / 463.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.6675, allocations: 79.06 kB / 463.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.6692, allocations: 0.5346 MB / 464.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/0.6693, allocations: 33 kB / 464.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6695, allocations: 47.91 kB / 464.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6708, allocations: 473.1 kB / 464.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.6709, allocations: 0 / 464.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.671, allocations: 20 kB / 464.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.671, allocations: 8 kB / 464.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.6724, allocations: 315 kB / 465.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006247/0.6787, allocations: 1.456 MB / 466.6 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.6823, allocations: 0.6992 MB / 467.3 MB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.683, allocations: 185.7 kB / 467.5 MB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.789e-05/0.6831, allocations: 12.66 kB / 467.5 MB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.6832, allocations: 38.56 kB / 467.5 MB, free: 9.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.689e-06/0.6832, allocations: 0 / 467.5 MB, free: 9.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001804/0.685, allocations: 409.3 kB / 467.9 MB, free: 8.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.6852, allocations: 132.5 kB / 468 MB, free: 8.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.6862, allocations: 405 kB / 468.4 MB, free: 8.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.6863, allocations: 37.7 kB / 468.5 MB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.6867, allocations: 328.3 kB / 468.8 MB, free: 7.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.687, allocations: 157.7 kB / 468.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.6871, allocations: 8 kB / 469 MB, free: 7.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.6873, allocations: 330.8 kB / 469.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/0.688, allocations: 140.8 kB / 469.4 MB, free: 7.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.6888, allocations: 196.2 kB / 469.6 MB, free: 7.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.6895, allocations: 148.9 kB / 469.8 MB, free: 6.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.6896, allocations: 0 / 469.8 MB, free: 6.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001782/0.6914, allocations: 407.9 kB / 470.2 MB, free: 6.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.6916, allocations: 183.7 kB / 470.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6916, allocations: 8 kB / 470.3 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.6916, allocations: 0 / 470.3 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.6941, allocations: 195.8 kB / 470.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.6942, allocations: 0 / 470.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.6956, allocations: 111.6 kB / 470.6 MB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.6957, allocations: 19.92 kB / 470.7 MB, free: 6.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6957, allocations: 4 kB / 470.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001399/0.6971, allocations: 342.4 kB / 471 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6972, allocations: 4 kB / 471 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6972, allocations: 11.94 kB / 471 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.6991, allocations: 155.8 kB / 471.2 MB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.6991, allocations: 4 kB / 471.2 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/0.6999, allocations: 83.64 kB / 471.2 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/0.7, allocations: 12 kB / 471.3 MB, free: 5.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.7003, allocations: 124.9 kB / 471.4 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.7007, allocations: 67.23 kB / 471.4 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.701, allocations: 69.78 kB / 471.5 MB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.701, allocations: 7.953 kB / 471.5 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.701, allocations: 0 / 471.5 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.701, allocations: 0 / 471.5 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.7047, allocations: 1.08 MB / 472.6 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7048, allocations: 0 / 472.6 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/0.7067, allocations: 155.8 kB / 472.8 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.7068, allocations: 4 kB / 472.8 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.49e-05/0.7069, allocations: 15.98 kB / 472.8 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.7069, allocations: 0 / 472.8 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7069, allocations: 0 / 472.8 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.7097, allocations: 0.8139 MB / 473.6 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.7102, allocations: 180.2 kB / 473.8 MB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.7104, allocations: 8 kB / 473.8 MB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.7119, allocations: 95.92 kB / 473.9 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.7121, allocations: 43.88 kB / 473.9 MB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.7122, allocations: 15.98 kB / 473.9 MB, free: 2.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007936/0.713, allocations: 325.6 kB / 474.2 MB, free: 2.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.713, allocations: 0 / 474.2 MB, free: 2.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001362/0.7144, allocations: 203.3 kB / 474.4 MB, free: 2.113 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003099/0.7175, allocations: 1.44 MB / 475.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.72, allocations: 0.5708 MB / 476.5 MB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7201, allocations: 4 kB / 476.5 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008709/0.7209, allocations: 200.1 kB / 476.7 MB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.7226, allocations: 130.4 kB / 476.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.7293, allocations: 1.163 MB / 477.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/0.7301, allocations: 0.8941 MB / 478.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/0.731, allocations: 227.3 kB / 479.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.731, allocations: 0 / 479.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/3.342, allocations: 9.631 MB / 488.7 MB, free: 3.781 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat