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.144/2.144, allocations: 234.9 MB / 250.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004297, allocations: 8 kB / 314.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3258, allocations: 54.87 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002253/0.3281, allocations: 1.297 MB / 370.6 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3294, allocations: 0.5445 MB / 371.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.3294, allocations: 3.938 kB / 371.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.3295, allocations: 7.922 kB / 371.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3296, allocations: 19.92 kB / 371.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.3301, allocations: 95.8 kB / 371.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3303, allocations: 87.83 kB / 371.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3305, allocations: 33.03 kB / 371.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.3306, allocations: 55.81 kB / 371.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3307, allocations: 55.75 kB / 371.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.3308, allocations: 8 kB / 371.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.46e-05/0.3308, allocations: 8 kB / 371.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.3309, allocations: 23.91 kB / 371.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.3309, allocations: 41.64 kB / 371.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3311, allocations: 83.81 kB / 371.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.3311, allocations: 0 / 371.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3311, allocations: 0 / 371.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.3311, allocations: 0 / 371.6 MB, free: 8.461 MB / 298.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.000839/0.332, allocations: 431.9 kB / 372 MB, free: 7.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.332, allocations: 12.03 kB / 372.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.3321, allocations: 42.5 kB / 372.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.3322, allocations: 15.81 kB / 372.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.3325, allocations: 210.9 kB / 372.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3325, allocations: 4 kB / 372.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3325, allocations: 8 kB / 372.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.3332, allocations: 197 kB / 372.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3333, allocations: 0 / 372.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.3333, allocations: 0 / 372.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3333, allocations: 0 / 372.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/0.3341, allocations: 155.9 kB / 372.7 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.3353, allocations: 464.5 kB / 373.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3365, allocations: 250.4 kB / 373.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3365, allocations: 0 / 373.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3366, allocations: 34.56 kB / 373.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.3366, allocations: 0 / 373.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.00252/0.3391, allocations: 0.6464 MB / 374.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.3392, allocations: 106.9 kB / 374.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3394, allocations: 161.5 kB / 374.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3394, allocations: 29.7 kB / 374.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.3395, allocations: 170.4 kB / 374.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.3396, allocations: 35.55 kB / 374.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.3396, allocations: 3.938 kB / 374.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3398, allocations: 318.8 kB / 374.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.3402, allocations: 87.94 kB / 374.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.3407, allocations: 106.5 kB / 375.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.3411, allocations: 87.97 kB / 375.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3411, allocations: 0 / 375.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009232/0.3421, allocations: 213.5 kB / 375.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.3421, allocations: 93 kB / 375.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3422, allocations: 0 / 375.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3422, allocations: 3.938 kB / 375.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.3425, allocations: 47.97 kB / 375.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.3426, allocations: 11.88 kB / 375.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.3428, allocations: 27.98 kB / 375.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3429, allocations: 3.984 kB / 375.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.3429, allocations: 4 kB / 375.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003968/0.3433, allocations: 100.2 kB / 375.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.3433, allocations: 0 / 375.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-06/0.3433, allocations: 0 / 375.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3435, allocations: 27.92 kB / 375.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.3435, allocations: 4 kB / 375.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3437, allocations: 15.98 kB / 375.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3437, allocations: 4 kB / 375.7 MB, free: 4.098 MB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001573/0.3438, allocations: 193.1 kB / 375.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.3439, allocations: 11.91 kB / 375.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.344, allocations: 20.7 kB / 375.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.344, allocations: 0 / 375.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.344, allocations: 8 kB / 375.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.344, allocations: 3.984 kB / 375.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3455, allocations: 0.5459 MB / 376.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3455, allocations: 0 / 376.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.3459, allocations: 51.92 kB / 376.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3459, allocations: 4 kB / 376.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3459, allocations: 4 kB / 376.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3459, allocations: 0 / 376.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3459, allocations: 0 / 376.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3474, allocations: 420 kB / 376.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.3475, allocations: 81.02 kB / 377 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.3475, allocations: 8 kB / 377 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.348, allocations: 52.02 kB / 377.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3481, allocations: 7.984 kB / 377.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.3481, allocations: 8 kB / 377.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3483, allocations: 111.2 kB / 377.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3483, allocations: 0 / 377.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.3487, allocations: 36 kB / 377.2 MB, free: 2.441 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001724/0.3504, allocations: 0.9591 MB / 378.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3515, allocations: 231.8 kB / 378.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3516, allocations: 4 kB / 378.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.352, allocations: 95.98 kB / 378.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3523, allocations: 18.02 kB / 378.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.3552, allocations: 0.9929 MB / 379.5 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3556, allocations: 0.7084 MB / 380.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3557, allocations: 39.42 kB / 380.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3557, allocations: 0 / 380.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.318/2.673, allocations: 2.147 MB / 382.4 MB, free: 13.16 MB / 314.7 MB