Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 1.874/1.874, allocations: 209.3 MB / 224.9 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 8 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3935, allocations: 75.77 MB / 407 MB, free: 2.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3937, allocations: 59.97 kB / 407.1 MB, free: 2.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.4101, allocations: 3.739 MB / 410.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.4102, allocations: 0 / 410.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.4102, allocations: 4 kB / 410.8 MB, free: 14.89 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008055/0.411, allocations: 470.7 kB / 411.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4111, allocations: 15.97 kB / 411.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.4111, allocations: 11.91 kB / 411.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.4117, allocations: 255.3 kB / 411.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.4119, allocations: 89.09 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.4119, allocations: 15.91 kB / 411.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.4124, allocations: 174.5 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4125, allocations: 0 / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.4125, allocations: 4 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-06/0.4125, allocations: 4 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.4131, allocations: 151.8 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.4144, allocations: 492.4 kB / 412.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.415, allocations: 194.4 kB / 412.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.4151, allocations: 192 / 412.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.4151, allocations: 42.5 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.831e-06/0.4151, allocations: 0 / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008999/0.4161, allocations: 241.5 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.4162, allocations: 110.8 kB / 413.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.4164, allocations: 146.5 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.4164, allocations: 29.7 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4165, allocations: 178.6 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.4166, allocations: 23.66 kB / 413.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-06/0.4166, allocations: 0 / 413.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4168, allocations: 318.8 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.417, allocations: 31.98 kB / 413.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.4172, allocations: 80.2 kB / 413.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.4174, allocations: 48 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4174, allocations: 0 / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004216/0.4178, allocations: 129.6 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4178, allocations: 8.062 kB / 414 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.532e-06/0.4179, allocations: 7.891 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4179, allocations: 0 / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.4182, allocations: 43.97 kB / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.223e-06/0.4182, allocations: 0 / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.4183, allocations: 27.88 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.4184, allocations: 8 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 0.0001396/0.4185, allocations: 113.8 kB / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.4186, allocations: 16.08 kB / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.4187, allocations: 9.406 kB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-06/0.4187, allocations: 11.89 kB / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.327e-06/0.4187, allocations: 0 / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.011e-06/0.4187, allocations: 0 / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.4191, allocations: 233.5 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-06/0.4191, allocations: 0 / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.4194, allocations: 55.89 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-06/0.4194, allocations: 0 / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4194, allocations: 0 / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.618e-06/0.4194, allocations: 4 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-06/0.4194, allocations: 3.953 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008715/0.4203, allocations: 351.5 kB / 414.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.4205, allocations: 101 kB / 415 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.4205, allocations: 4 kB / 415 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.4209, allocations: 52.02 kB / 415 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.4209, allocations: 11.94 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.421, allocations: 4 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4211, allocations: 116 kB / 415.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.015e-06/0.4211, allocations: 0 / 415.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.4215, allocations: 31.94 kB / 415.2 MB, free: 10.14 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001457/0.4217, allocations: 103.2 kB / 415.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.4221, allocations: 124 kB / 415.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4222, allocations: 0 / 415.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.4224, allocations: 76.02 kB / 415.5 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.4227, allocations: 20.92 kB / 415.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.4235, allocations: 319.6 kB / 415.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4239, allocations: 0.7082 MB / 416.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.424, allocations: 23.42 kB / 416.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of SimCode: time 1.506e-06/0.424, allocations: 0 / 416.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of Templates: time 0.003948/0.428, allocations: 1.561 MB / 418.1 MB, free: 7.16 MB / 346.7 MB