Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.972e-05, allocations: 4 kB / 303.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2756, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4011, allocations: 81.08 MB / 439.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4014, allocations: 63.97 kB / 439.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.4192, allocations: 3.993 MB / 443.2 MB, free: 9.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.037e-06/0.4192, allocations: 0 / 443.2 MB, free: 9.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.4192, allocations: 8 kB / 443.2 MB, free: 9.668 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.0006865/0.4199, allocations: 438 kB / 443.6 MB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.42, allocations: 12.03 kB / 443.6 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.4201, allocations: 7.906 kB / 443.6 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.4204, allocations: 206.1 kB / 443.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.4204, allocations: 4 kB / 443.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.4204, allocations: 7.984 kB / 443.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001784/0.4206, allocations: 59.88 kB / 443.9 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.4209, allocations: 120.2 kB / 444 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4209, allocations: 4 kB / 444 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.421, allocations: 0 / 444 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-06/0.421, allocations: 3.938 kB / 444 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.422, allocations: 420.9 kB / 444.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/0.4225, allocations: 158.6 kB / 444.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.4226, allocations: 32.86 kB / 444.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4227, allocations: 4.031 kB / 444.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.4227, allocations: 38.5 kB / 444.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.142e-06/0.4227, allocations: 0 / 444.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002862/0.423, allocations: 85.58 kB / 444.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.4231, allocations: 102.8 kB / 444.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.4233, allocations: 128.8 kB / 445 MB, free: 7.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.4233, allocations: 29.7 kB / 445 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4234, allocations: 170.5 kB / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.4235, allocations: 23.66 kB / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-06/0.4235, allocations: 0 / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4237, allocations: 318.8 kB / 445.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.4238, allocations: 23.98 kB / 445.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.4239, allocations: 46.58 kB / 445.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.424, allocations: 32.09 kB / 445.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-06/0.424, allocations: 0 / 445.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/0.4242, allocations: 85.59 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.4243, allocations: 89 kB / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.376e-06/0.4243, allocations: 0 / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4243, allocations: 4 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.4246, allocations: 43.95 kB / 445.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4246, allocations: 4 kB / 445.8 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.4248, allocations: 35.92 kB / 445.9 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.4248, allocations: 4 kB / 445.9 MB, free: 6.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.4249, allocations: 4 kB / 445.9 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000125/0.425, allocations: 43.92 kB / 445.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.968e-06/0.425, allocations: 0 / 445.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-06/0.425, allocations: 3.938 kB / 445.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4252, allocations: 19.98 kB / 445.9 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.4252, allocations: 0 / 445.9 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.4253, allocations: 16 kB / 446 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4253, allocations: 3.984 kB / 446 MB, free: 6.66 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.0001081/0.4254, allocations: 105 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.4255, allocations: 15.86 kB / 446.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.4256, allocations: 8.625 kB / 446.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4256, allocations: 3.938 kB / 446.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.172e-06/0.4256, allocations: 0 / 446.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.329e-06/0.4256, allocations: 4 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.4259, allocations: 202 kB / 446.3 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-06/0.426, allocations: 4 kB / 446.3 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.4262, allocations: 39.91 kB / 446.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.293e-06/0.4262, allocations: 0 / 446.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.4263, allocations: 7.953 kB / 446.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4263, allocations: 0 / 446.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.908e-06/0.4263, allocations: 3.984 kB / 446.3 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.4267, allocations: 215.9 kB / 446.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.4268, allocations: 88.98 kB / 446.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.4268, allocations: 0 / 446.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.4272, allocations: 55.97 kB / 446.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.4273, allocations: 7.984 kB / 446.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.4273, allocations: 4 kB / 446.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.4274, allocations: 102.4 kB / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.4274, allocations: 0 / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.4279, allocations: 35.91 kB / 446.8 MB, free: 5.699 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.0001613/0.4281, allocations: 111.1 kB / 447 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.4283, allocations: 84.12 kB / 447 MB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4284, allocations: 0 / 447 MB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.4284, allocations: 28.09 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4287, allocations: 18.8 kB / 447.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.4292, allocations: 172.3 kB / 447.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.4296, allocations: 0.708 MB / 448 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.4297, allocations: 15.44 kB / 448 MB, free: 4.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.655e-06/0.4297, allocations: 0 / 448 MB, free: 4.504 MB / 378.7 MB Notification: Performance of Templates: time 0.003864/0.4336, allocations: 1.553 MB / 449.5 MB, free: 2.961 MB / 378.7 MB