Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Limiters.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.Limiters,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.11e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4468, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.6006, allocations: 81.76 MB / 446.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.6009, allocations: 66.05 kB / 446.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01985/0.6207, allocations: 4.023 MB / 450.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.6208, allocations: 3.938 kB / 450.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.6208, allocations: 4 kB / 450.5 MB, free: 10.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008093/0.6216, allocations: 431 kB / 450.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6217, allocations: 12.03 kB / 450.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.819e-05/0.6218, allocations: 34.56 kB / 450.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.6218, allocations: 15.81 kB / 451 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.6221, allocations: 210.8 kB / 451.2 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.6222, allocations: 11.98 kB / 451.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.6222, allocations: 8 kB / 451.2 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.6226, allocations: 128.2 kB / 451.3 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6226, allocations: 0.8438 kB / 451.3 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.6226, allocations: 8 kB / 451.3 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6227, allocations: 0 / 451.3 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.6229, allocations: 55.94 kB / 451.4 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.6241, allocations: 456.4 kB / 451.8 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.6248, allocations: 154.5 kB / 452 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.625, allocations: 32.86 kB / 452 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.625, allocations: 4.031 kB / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.625, allocations: 35.44 kB / 452 MB, free: 8.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.504e-06/0.6251, allocations: 5.125 kB / 452 MB, free: 8.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003235/0.6254, allocations: 81.59 kB / 452.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.6255, allocations: 106.8 kB / 452.2 MB, free: 8.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.6257, allocations: 141.1 kB / 452.4 MB, free: 8.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.6257, allocations: 29.7 kB / 452.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.6258, allocations: 170.6 kB / 452.6 MB, free: 8.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.6259, allocations: 27.56 kB / 452.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.6259, allocations: 0 / 452.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.626, allocations: 326.7 kB / 452.9 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.6261, allocations: 27.98 kB / 452.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.6262, allocations: 46.72 kB / 453 MB, free: 7.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.889e-05/0.6263, allocations: 23.98 kB / 453 MB, free: 7.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6264, allocations: 0.6562 kB / 453 MB, free: 7.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/0.6266, allocations: 77.69 kB / 453.1 MB, free: 7.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.6267, allocations: 97.03 kB / 453.2 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6267, allocations: 0 / 453.2 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.6267, allocations: 3.938 kB / 453.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.627, allocations: 39.97 kB / 453.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6271, allocations: 3.953 kB / 453.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.6273, allocations: 40.72 kB / 453.3 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6274, allocations: 4.312 kB / 453.3 MB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.649e-06/0.6274, allocations: 4 kB / 453.3 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001814/0.6276, allocations: 47.97 kB / 453.3 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.6276, allocations: 0 / 453.3 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.6276, allocations: 0 / 453.3 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6278, allocations: 27.92 kB / 453.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6278, allocations: 7.984 kB / 453.3 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.628, allocations: 16.66 kB / 453.4 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.628, allocations: 4 kB / 453.4 MB, free: 7.508 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001012/0.6281, allocations: 104.9 kB / 453.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.6282, allocations: 19.89 kB / 453.5 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.6282, allocations: 16.62 kB / 453.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6282, allocations: 0 / 453.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6283, allocations: 0 / 453.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6283, allocations: 0 / 453.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.6286, allocations: 222.3 kB / 453.7 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6286, allocations: 3.953 kB / 453.7 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.6289, allocations: 39.97 kB / 453.8 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.629, allocations: 4 kB / 453.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.629, allocations: 7.984 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.629, allocations: 0 / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.629, allocations: 0 / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.6294, allocations: 219.3 kB / 454 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.6295, allocations: 100.9 kB / 454.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.6296, allocations: 4.562 kB / 454.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.6301, allocations: 52.02 kB / 454.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.6301, allocations: 4 kB / 454.1 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.6302, allocations: 11.98 kB / 454.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.6303, allocations: 111.3 kB / 454.3 MB, free: 6.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6303, allocations: 0 / 454.3 MB, free: 6.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.6307, allocations: 40.84 kB / 454.3 MB, free: 6.473 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007448/0.6315, allocations: 0.7635 MB / 455.1 MB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.6319, allocations: 84 kB / 455.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.6319, allocations: 4 kB / 455.2 MB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.632, allocations: 31.98 kB / 455.2 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.6323, allocations: 15.94 kB / 455.2 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.633, allocations: 218.7 kB / 455.4 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.6333, allocations: 0.7048 MB / 456.1 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.6335, allocations: 35.42 kB / 456.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6335, allocations: 0 / 456.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.646/3.28, allocations: 2.058 MB / 458.2 MB, free: 2.492 MB / 378.7 MB