Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004325, allocations: 8 kB / 283.1 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3582, allocations: 48.7 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.5011, allocations: 78.58 MB / 410.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5014, allocations: 71.97 kB / 410.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09553/0.597, allocations: 18.35 MB / 428.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.597, allocations: 0 / 428.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.507e-05/0.5971, allocations: 12 kB / 428.8 MB, free: 13.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.004149/0.6013, allocations: 1.13 MB / 429.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.6013, allocations: 8.031 kB / 429.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.6018, allocations: 98.91 kB / 430 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.6042, allocations: 0.6125 MB / 430.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.6044, allocations: 37 kB / 430.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.6045, allocations: 51.91 kB / 430.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.6069, allocations: 0.6318 MB / 431.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.6069, allocations: 0 / 431.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.607, allocations: 24 kB / 431.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.6071, allocations: 12 kB / 431.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.6096, allocations: 0.5309 MB / 431.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.6143, allocations: 1.484 MB / 433.4 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.6183, allocations: 0.962 MB / 434.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.6184, allocations: 15.98 kB / 434.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.6185, allocations: 42.5 kB / 434.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.047e-06/0.6185, allocations: 0 / 434.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.005043/0.6236, allocations: 0.9342 MB / 435.4 MB, free: 6.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.6238, allocations: 140.5 kB / 435.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.6248, allocations: 479.2 kB / 436 MB, free: 5.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.625, allocations: 37.7 kB / 436 MB, free: 5.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.6254, allocations: 323 kB / 436.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.6257, allocations: 161.6 kB / 436.5 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.6258, allocations: 12 kB / 436.5 MB, free: 5.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.626, allocations: 334.7 kB / 436.8 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.6276, allocations: 276.7 kB / 437.1 MB, free: 4.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.6292, allocations: 336 kB / 437.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6308, allocations: 284.7 kB / 437.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6308, allocations: 0 / 437.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003278/0.6341, allocations: 0.6637 MB / 438.4 MB, free: 3.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.6342, allocations: 4 kB / 438.4 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6342, allocations: 3.984 kB / 438.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.6342, allocations: 4 kB / 438.4 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.636, allocations: 179.8 kB / 438.5 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.636, allocations: 4 kB / 438.5 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009807/0.637, allocations: 99.56 kB / 438.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.6371, allocations: 23.92 kB / 438.7 MB, free: 3.184 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (54): * Single equations (assignments): 54 * 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.000489/0.6376, allocations: 173.7 kB / 438.8 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.6378, allocations: 67.25 kB / 438.9 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.6406, allocations: 0.6264 MB / 439.5 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6407, allocations: 4 kB / 439.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6407, allocations: 0 / 439.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6407, allocations: 7.984 kB / 439.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.6451, allocations: 1.323 MB / 440.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6451, allocations: 0 / 440.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.6465, allocations: 143.8 kB / 441 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.6465, allocations: 4.234 kB / 441 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/0.6466, allocations: 15.98 kB / 441 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.6466, allocations: 4 kB / 441 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6466, allocations: 7.953 kB / 441 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.6514, allocations: 1.206 MB / 442.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.6519, allocations: 184.2 kB / 442.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.652, allocations: 8 kB / 442.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009572/0.653, allocations: 79.92 kB / 442.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.6532, allocations: 43.89 kB / 442.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.068e-05/0.6533, allocations: 23.92 kB / 442.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006371/0.6539, allocations: 330.9 kB / 442.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.654, allocations: 8 kB / 442.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006498/0.6546, allocations: 111.7 kB / 443 MB, free: 14.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (46): * Single equations (assignments): 46 * 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.0002099/0.6548, allocations: 115.2 kB / 443.1 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.6579, allocations: 0.6309 MB / 443.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6579, allocations: 3.938 kB / 443.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.6594, allocations: 335.7 kB / 444.1 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.6606, allocations: 121.3 kB / 444.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.6664, allocations: 1.624 MB / 445.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.6671, allocations: 0.9061 MB / 446.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.6676, allocations: 51.41 kB / 446.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6676, allocations: 4 kB / 446.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01802/0.6856, allocations: 7.153 MB / 453.9 MB, free: 3.738 MB / 378.7 MB