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.Continuous.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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.11e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.08963, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.442, allocations: 83.34 MB / 409.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001638/0.4422, allocations: 59.14 kB / 409.9 MB, free: 8.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07273/0.515, allocations: 14.61 MB / 424.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.047e-06/0.515, allocations: 0 / 424.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.268e-05/0.5151, allocations: 16 kB / 424.6 MB, free: 11.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002218/0.5173, allocations: 0.918 MB / 425.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.5174, allocations: 8.031 kB / 425.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.5177, allocations: 94.86 kB / 425.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.5191, allocations: 0.5208 MB / 426.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.5191, allocations: 37.22 kB / 426.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5193, allocations: 51.34 kB / 426.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5204, allocations: 492 kB / 426.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.5204, allocations: 7.938 kB / 426.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.5205, allocations: 13.75 kB / 426.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5205, allocations: 11.98 kB / 426.7 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.5215, allocations: 345.8 kB / 427 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.5262, allocations: 1.975 MB / 429 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.5274, allocations: 478.4 kB / 429.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.5279, allocations: 194.4 kB / 429.7 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.528, allocations: 4 kB / 429.7 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.528, allocations: 41.78 kB / 429.7 MB, free: 7.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.53e-06/0.528, allocations: 0 / 429.7 MB, free: 7.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002/0.53, allocations: 0.7711 MB / 430.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5302, allocations: 158.2 kB / 430.6 MB, free: 6.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.5311, allocations: 0.4972 MB / 431.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.5311, allocations: 37.08 kB / 431.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.5314, allocations: 342.9 kB / 431.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.5317, allocations: 161.8 kB / 431.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.5317, allocations: 14.97 kB / 431.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5319, allocations: 333.1 kB / 432 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.5324, allocations: 196.4 kB / 432.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.5331, allocations: 310.5 kB / 432.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.5336, allocations: 228.9 kB / 432.7 MB, free: 4.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.238e-06/0.5336, allocations: 4 kB / 432.7 MB, free: 4.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001345/0.535, allocations: 0.5616 MB / 433.3 MB, free: 4.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.535, allocations: 4 kB / 433.3 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.535, allocations: 4 kB / 433.3 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.5351, allocations: 8.312 kB / 433.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/0.536, allocations: 154.9 kB / 433.5 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.536, allocations: 4 kB / 433.5 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007586/0.5368, allocations: 98.66 kB / 433.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.5369, allocations: 19.19 kB / 433.6 MB, free: 4.266 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0001879/0.5371, allocations: 134 kB / 433.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.5373, allocations: 75.11 kB / 433.8 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.5376, allocations: 93.33 kB / 433.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5376, allocations: 7.984 kB / 433.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.601e-06/0.5376, allocations: 0 / 433.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.318e-06/0.5377, allocations: 0 / 433.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.5393, allocations: 0.7898 MB / 434.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.693e-06/0.5393, allocations: 0 / 434.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.5402, allocations: 115.2 kB / 434.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.5403, allocations: 4 kB / 434.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.5403, allocations: 14.8 kB / 434.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.623e-06/0.5404, allocations: 4 kB / 434.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.627e-06/0.5404, allocations: 3.938 kB / 434.8 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.5422, allocations: 0.9689 MB / 435.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.5426, allocations: 195.6 kB / 436 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.5428, allocations: 22.36 kB / 436 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.5436, allocations: 67.19 kB / 436.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5438, allocations: 31.08 kB / 436.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.5438, allocations: 19.62 kB / 436.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006922/0.5445, allocations: 398.2 kB / 436.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.67e-07/0.5446, allocations: 8 kB / 436.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008052/0.5454, allocations: 110.3 kB / 436.6 MB, free: 1.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0002332/0.5456, allocations: 122.2 kB / 436.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.5469, allocations: 461.2 kB / 437.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.067e-06/0.547, allocations: 4 kB / 437.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.5479, allocations: 226.6 kB / 437.4 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.5499, allocations: 156.3 kB / 437.6 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/0.555, allocations: 1.182 MB / 438.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.5562, allocations: 0.9447 MB / 439.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/0.5569, allocations: 50.8 kB / 439.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.582e-06/0.5569, allocations: 0 / 439.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Templates: time 0.02844/0.5853, allocations: 7.998 MB / 447.7 MB, free: 6.996 MB / 346.7 MB