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.StrictLimiters.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.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.766/1.766, allocations: 209.3 MB / 224.8 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007358/0.0007359, allocations: 15.98 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3154, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.467, allocations: 78.59 MB / 409.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4673, allocations: 63.97 kB / 409.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08295/0.5503, allocations: 18.34 MB / 428.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.471e-06/0.5503, allocations: 0 / 428.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.379e-05/0.5504, allocations: 12 kB / 428.3 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.002888/0.5533, allocations: 1.134 MB / 429.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5533, allocations: 12.03 kB / 429.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.5536, allocations: 94.92 kB / 429.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.5554, allocations: 0.6047 MB / 430.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.5555, allocations: 37 kB / 430.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5556, allocations: 47.91 kB / 430.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.5574, allocations: 0.625 MB / 430.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5574, allocations: 0 / 430.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/0.5575, allocations: 16 kB / 430.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.5575, allocations: 12 kB / 430.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.5594, allocations: 0.5465 MB / 431.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.5629, allocations: 1.48 MB / 432.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.5656, allocations: 0.966 MB / 433.8 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.5656, allocations: 7.984 kB / 433.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.5657, allocations: 42.5 kB / 433.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.396e-06/0.5657, allocations: 0 / 433.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.003255/0.569, allocations: 0.9427 MB / 434.8 MB, free: 6.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5691, allocations: 132.5 kB / 435 MB, free: 6.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/0.5698, allocations: 422.3 kB / 435.4 MB, free: 5.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.5699, allocations: 37.7 kB / 435.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.5702, allocations: 319 kB / 435.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.5704, allocations: 165.6 kB / 435.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.5704, allocations: 8 kB / 435.9 MB, free: 5.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5706, allocations: 330.8 kB / 436.2 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000981/0.5716, allocations: 280.7 kB / 436.5 MB, free: 4.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5726, allocations: 328.1 kB / 436.8 MB, free: 4.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/0.5736, allocations: 284.7 kB / 437.1 MB, free: 4.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.736e-06/0.5736, allocations: 4 kB / 437.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002181/0.5758, allocations: 0.6598 MB / 437.7 MB, free: 3.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.5759, allocations: 7.984 kB / 437.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.771e-06/0.5759, allocations: 0 / 437.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5759, allocations: 4 kB / 437.8 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5771, allocations: 187.7 kB / 437.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5771, allocations: 4 kB / 437.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.5777, allocations: 95.62 kB / 438 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.5778, allocations: 19.98 kB / 438.1 MB, free: 3.262 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.0003661/0.5782, allocations: 177.7 kB / 438.2 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.5784, allocations: 63.25 kB / 438.3 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.5804, allocations: 0.6302 MB / 438.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5804, allocations: 11.94 kB / 438.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.747e-06/0.5805, allocations: 0 / 438.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.5805, allocations: 4.219 kB / 438.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.5838, allocations: 1.323 MB / 440.3 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-06/0.5838, allocations: 0 / 440.3 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/0.5848, allocations: 147.8 kB / 440.4 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.5848, allocations: 4 kB / 440.4 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.5849, allocations: 15.98 kB / 440.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.646e-06/0.5849, allocations: 0 / 440.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-06/0.5849, allocations: 3.953 kB / 440.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.5883, allocations: 1.223 MB / 441.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.5886, allocations: 184.2 kB / 441.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5887, allocations: 7.984 kB / 441.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.5894, allocations: 83.89 kB / 441.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5896, allocations: 39.88 kB / 442 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.5896, allocations: 19.98 kB / 442 MB, free: 15.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005576/0.5902, allocations: 330.9 kB / 442.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.5902, allocations: 0 / 442.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006357/0.5909, allocations: 115.7 kB / 442.4 MB, free: 14.79 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.0001885/0.5911, allocations: 119.2 kB / 442.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.5932, allocations: 0.6309 MB / 443.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.694e-06/0.5932, allocations: 0 / 443.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5943, allocations: 331.7 kB / 443.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008326/0.5951, allocations: 130.1 kB / 443.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.5992, allocations: 1.624 MB / 445.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.5998, allocations: 0.8983 MB / 446.1 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.6002, allocations: 55.41 kB / 446.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.408e-06/0.6002, allocations: 0 / 446.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of Templates: time 0.01336/0.6135, allocations: 7.15 MB / 453.3 MB, free: 3.805 MB / 378.7 MB