Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.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.Continuous_InitialOutput,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_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 2.068/2.068, allocations: 209.2 MB / 225.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 16 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3451, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.4936, allocations: 83.92 MB / 415.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.4939, allocations: 67.97 kB / 415.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1444/0.6383, allocations: 29.37 MB / 445.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6383, allocations: 0 / 445.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.6384, allocations: 23.94 kB / 445.2 MB, free: 12.95 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003673/0.6421, allocations: 1.075 MB / 446.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.6422, allocations: 16.02 kB / 446.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.6425, allocations: 83.06 kB / 446.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.6446, allocations: 0.5696 MB / 446.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.6447, allocations: 37 kB / 447 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.6449, allocations: 51.91 kB / 447 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6466, allocations: 0.5412 MB / 447.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.6467, allocations: 8 kB / 447.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.6468, allocations: 19.95 kB / 447.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.6468, allocations: 8 kB / 447.6 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.6487, allocations: 449.8 kB / 448 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/0.6544, allocations: 1.936 MB / 450 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.6563, allocations: 0.5074 MB / 450.5 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.6564, allocations: 9.375 kB / 450.5 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.6565, allocations: 46.77 kB / 450.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.516e-06/0.6565, allocations: 0 / 450.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.004311/0.6608, allocations: 1.128 MB / 451.6 MB, free: 6.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.6609, allocations: 122.7 kB / 451.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.6623, allocations: 0.594 MB / 452.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.6624, allocations: 37.7 kB / 452.4 MB, free: 5.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.6627, allocations: 334.9 kB / 452.7 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.663, allocations: 173.5 kB / 452.9 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.663, allocations: 12 kB / 452.9 MB, free: 4.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6632, allocations: 334.8 kB / 453.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.6644, allocations: 273 kB / 453.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.6656, allocations: 377.1 kB / 453.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.6668, allocations: 297.3 kB / 454.2 MB, free: 3.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6669, allocations: 4 kB / 454.2 MB, free: 3.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002819/0.6697, allocations: 0.7207 MB / 454.9 MB, free: 2.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.6698, allocations: 4.625 kB / 454.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.6698, allocations: 4 kB / 454.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.6698, allocations: 7.938 kB / 454.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.6718, allocations: 199.8 kB / 455.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.6719, allocations: 4 kB / 455.1 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.673, allocations: 79.55 kB / 455.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.982e-05/0.6731, allocations: 27.98 kB / 455.2 MB, free: 2.578 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0005148/0.6737, allocations: 197.7 kB / 455.4 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.6739, allocations: 71.16 kB / 455.5 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.6742, allocations: 89.62 kB / 455.6 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.6742, allocations: 4 kB / 455.6 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6742, allocations: 0 / 455.6 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6742, allocations: 0 / 455.6 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.6775, allocations: 1.235 MB / 456.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.6776, allocations: 0 / 456.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.679, allocations: 115.9 kB / 456.9 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.679, allocations: 8.062 kB / 456.9 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/0.6791, allocations: 15.98 kB / 456.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/0.6791, allocations: 7.938 kB / 456.9 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.6791, allocations: 0 / 456.9 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.6829, allocations: 1.177 MB / 458.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.6834, allocations: 192.3 kB / 458.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.6836, allocations: 16 kB / 458.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/0.6846, allocations: 59.94 kB / 458.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.6848, allocations: 47.89 kB / 458.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.6849, allocations: 15.95 kB / 458.4 MB, free: 15.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.686, allocations: 427 kB / 458.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.686, allocations: 0 / 458.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000996/0.687, allocations: 139.9 kB / 459 MB, free: 14.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0004433/0.6874, allocations: 166.1 kB / 459.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.69, allocations: 0.6058 MB / 459.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.69, allocations: 0 / 459.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.6913, allocations: 299.9 kB / 460.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6928, allocations: 156.9 kB / 460.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.6972, allocations: 1.687 MB / 461.9 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.698, allocations: 0.9411 MB / 462.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.6985, allocations: 51.42 kB / 462.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.6985, allocations: 0 / 462.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of Templates: time 0.02172/0.7202, allocations: 8.293 MB / 471.2 MB, free: 2.418 MB / 394.7 MB