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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.463/2.463, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.842e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4168, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.5893, allocations: 81.09 MB / 439.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5897, allocations: 67.91 kB / 439.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02/0.6097, allocations: 3.994 MB / 443.3 MB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6097, allocations: 0 / 443.3 MB, free: 9.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.6098, allocations: 4 kB / 443.3 MB, free: 9.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.0008949/0.6107, allocations: 442.1 kB / 443.7 MB, free: 9.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.6108, allocations: 12.03 kB / 443.7 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.6108, allocations: 11.89 kB / 443.7 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.6112, allocations: 206.9 kB / 443.9 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.6112, allocations: 0 / 443.9 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.6113, allocations: 7.906 kB / 443.9 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002121/0.6115, allocations: 52 kB / 444 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.6118, allocations: 130.8 kB / 444.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.6119, allocations: 0 / 444.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.6119, allocations: 0 / 444.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.6119, allocations: 4 kB / 444.1 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.6131, allocations: 425 kB / 444.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.6139, allocations: 154.5 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.614, allocations: 36.95 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.614, allocations: 0 / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.6141, allocations: 34.56 kB / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.6141, allocations: 3.938 kB / 444.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003098/0.6144, allocations: 85.59 kB / 444.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.6145, allocations: 102.8 kB / 444.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.6146, allocations: 131.6 kB / 445.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6147, allocations: 25.7 kB / 445.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.6148, allocations: 174.5 kB / 445.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.6149, allocations: 19.66 kB / 445.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.6149, allocations: 0 / 445.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.615, allocations: 326.7 kB / 445.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.6151, allocations: 24 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.6152, allocations: 50.67 kB / 445.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.6153, allocations: 27.97 kB / 445.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6153, allocations: 0 / 445.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002443/0.6156, allocations: 85.53 kB / 445.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.6157, allocations: 89 kB / 445.9 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.6157, allocations: 4 kB / 445.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.6157, allocations: 4.031 kB / 445.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.6161, allocations: 43.94 kB / 445.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6161, allocations: 4 kB / 445.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.6163, allocations: 35.92 kB / 446 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.6164, allocations: 4 kB / 446 MB, free: 6.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.6164, allocations: 5.562 kB / 446 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000133/0.6165, allocations: 39.98 kB / 446 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-06/0.6166, allocations: 3.938 kB / 446 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-06/0.6166, allocations: 0 / 446 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.6167, allocations: 19.98 kB / 446 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.6168, allocations: 4 kB / 446 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.6169, allocations: 15.98 kB / 446.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.6169, allocations: 0 / 446.1 MB, free: 6.645 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.0001136/0.617, allocations: 109 kB / 446.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002309/0.6173, allocations: 85.53 kB / 446.2 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.6173, allocations: 11.81 kB / 446.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.6174, allocations: 16.56 kB / 446.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.6174, allocations: 7.984 kB / 446.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6174, allocations: 0 / 446.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.6175, allocations: 0 / 446.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.6178, allocations: 190.2 kB / 446.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6178, allocations: 3.953 kB / 446.5 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.6181, allocations: 35.97 kB / 446.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6181, allocations: 4 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.6182, allocations: 4 kB / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.6182, allocations: 4.453 kB / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.6182, allocations: 0 / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.6186, allocations: 215.4 kB / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.6187, allocations: 96.94 kB / 446.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.6187, allocations: 3.984 kB / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.6192, allocations: 52.02 kB / 446.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.6193, allocations: 11.94 kB / 446.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.6193, allocations: 7.984 kB / 446.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.6194, allocations: 99.28 kB / 447 MB, free: 5.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6195, allocations: 0 / 447 MB, free: 5.621 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004383/0.6199, allocations: 31.91 kB / 447 MB, free: 5.59 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.0007463/0.6207, allocations: 0.7552 MB / 447.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.621, allocations: 87.92 kB / 447.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.621, allocations: 4.062 kB / 447.9 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.6211, allocations: 24 kB / 447.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.6214, allocations: 19.92 kB / 447.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.6222, allocations: 202 kB / 448.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.6225, allocations: 0.708 MB / 448.8 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6227, allocations: 35.42 kB / 448.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6227, allocations: 0 / 448.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/3.227, allocations: 2.011 MB / 450.9 MB, free: 1.664 MB / 378.7 MB