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.461/2.461, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000698/0.0006983, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3985, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.5826, allocations: 84.41 MB / 453.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.583, allocations: 67.91 kB / 453.8 MB, free: 6.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07422/0.6572, allocations: 13.59 MB / 467.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6573, allocations: 0 / 467.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.5e-05/0.6574, allocations: 15.98 kB / 467.4 MB, free: 8.367 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.003789/0.6612, allocations: 1.067 MB / 468.5 MB, free: 7.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.6612, allocations: 8.031 kB / 468.5 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003299/0.6616, allocations: 78.53 kB / 468.6 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.6619, allocations: 79.06 kB / 468.7 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.6639, allocations: 0.5385 MB / 469.2 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.664, allocations: 36.95 kB / 469.2 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.6642, allocations: 51.88 kB / 469.3 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.6667, allocations: 0.6224 MB / 469.9 MB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.6668, allocations: 0 / 469.9 MB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.6669, allocations: 16 kB / 469.9 MB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.6669, allocations: 8 kB / 469.9 MB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.6697, allocations: 0.5543 MB / 470.5 MB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.6743, allocations: 1.461 MB / 471.9 MB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005228/0.6796, allocations: 1.042 MB / 473 MB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.6798, allocations: 8 kB / 473 MB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.6798, allocations: 46.52 kB / 473 MB, free: 2.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.427e-06/0.6798, allocations: 0 / 473 MB, free: 2.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.004991/0.6848, allocations: 0.9983 MB / 474 MB, free: 1.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.685, allocations: 136.5 kB / 474.2 MB, free: 1.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.6858, allocations: 414.3 kB / 474.6 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.686, allocations: 33.7 kB / 474.6 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.6862, allocations: 322.9 kB / 474.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.6865, allocations: 157.6 kB / 475.1 MB, free: 440 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.6865, allocations: 12 kB / 475.1 MB, free: 428 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.6867, allocations: 326.8 kB / 475.4 MB, free: 92 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3216/1.008, allocations: 298.7 kB / 475.7 MB, free: 93.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/1.01, allocations: 357.1 kB / 476 MB, free: 93.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/1.012, allocations: 307.1 kB / 476.3 MB, free: 93.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/1.012, allocations: 0.75 kB / 476.4 MB, free: 93.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00341/1.015, allocations: 0.7044 MB / 477.1 MB, free: 93.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/1.016, allocations: 183 kB / 477.2 MB, free: 93.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.016, allocations: 5.625 kB / 477.2 MB, free: 93.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/1.016, allocations: 2.375 kB / 477.2 MB, free: 93.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.017, allocations: 193.2 kB / 477.4 MB, free: 93.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.017, allocations: 2.219 kB / 477.4 MB, free: 93.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.019, allocations: 113.2 kB / 477.5 MB, free: 93.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/1.019, allocations: 17.61 kB / 477.6 MB, free: 93.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.019, allocations: 6 kB / 477.6 MB, free: 93.22 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002333/1.021, allocations: 0.5295 MB / 478.1 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.021, allocations: 1.062 kB / 478.1 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/1.021, allocations: 2.188 kB / 478.1 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.023, allocations: 157.3 kB / 478.3 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.023, allocations: 4.594 kB / 478.3 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/1.023, allocations: 89.75 kB / 478.3 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/1.023, allocations: 16.78 kB / 478.4 MB, free: 93.21 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 () * Number of clocked 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.0004743/1.024, allocations: 256.6 kB / 478.6 MB, free: 93.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.024, allocations: 57.84 kB / 478.7 MB, free: 93.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/1.024, allocations: 69.66 kB / 478.7 MB, free: 93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.024, allocations: 4.25 kB / 478.7 MB, free: 93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.024, allocations: 1.188 kB / 478.7 MB, free: 93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.024, allocations: 3.312 kB / 478.7 MB, free: 93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/1.029, allocations: 1.336 MB / 480.1 MB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.029, allocations: 0 / 480.1 MB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.03, allocations: 159.6 kB / 480.2 MB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/1.03, allocations: 2.75 kB / 480.2 MB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.324e-05/1.03, allocations: 12.3 kB / 480.3 MB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.03, allocations: 2.625 kB / 480.3 MB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.03, allocations: 5.453 kB / 480.3 MB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004992/1.035, allocations: 1.267 MB / 481.5 MB, free: 92.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/1.036, allocations: 178.3 kB / 481.7 MB, free: 92.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.036, allocations: 10.75 kB / 481.7 MB, free: 92.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.037, allocations: 97.98 kB / 481.8 MB, free: 92.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.037, allocations: 38.55 kB / 481.8 MB, free: 92.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/1.037, allocations: 15.56 kB / 481.9 MB, free: 92.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006056/1.038, allocations: 329.5 kB / 482.2 MB, free: 92.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.038, allocations: 5.25 kB / 482.2 MB, free: 92.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009772/1.039, allocations: 197.1 kB / 482.4 MB, free: 92.2 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 () * Number of clocked 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.005084/1.044, allocations: 1.907 MB / 484.3 MB, free: 91.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004198/1.048, allocations: 0.9824 MB / 485.3 MB, free: 91.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.048, allocations: 0 / 485.3 MB, free: 91.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.05, allocations: 356.7 kB / 485.6 MB, free: 91.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.051, allocations: 120.6 kB / 485.7 MB, free: 91.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.064, allocations: 4.308 MB / 490 MB, free: 89.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/1.064, allocations: 0.9016 MB / 490.9 MB, free: 88.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/1.065, allocations: 231.7 kB / 491.2 MB, free: 88.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/1.065, allocations: 4 kB / 491.2 MB, free: 88.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.228/4.293, allocations: 9.744 MB / 0.4892 GB, free: 81.14 MB / 394.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