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_InitialState.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_InitialState,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_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00073/0.0007304, allocations: 12 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2868, allocations: 48.7 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4101, allocations: 83.84 MB / 415.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.4104, allocations: 67.97 kB / 415.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1452/0.5556, allocations: 28.02 MB / 443.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.533e-06/0.5557, allocations: 0 / 443.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.268e-05/0.5558, allocations: 20.44 kB / 443.2 MB, free: 14.38 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.002839/0.5586, allocations: 1.067 MB / 444.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5587, allocations: 12.03 kB / 444.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.5589, allocations: 83.06 kB / 444.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.5606, allocations: 0.5501 MB / 444.9 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.5606, allocations: 37 kB / 445 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5608, allocations: 55.89 kB / 445 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.5623, allocations: 0.5608 MB / 445.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.5623, allocations: 0 / 445.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.5624, allocations: 27.88 kB / 445.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5625, allocations: 11.95 kB / 445.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.564, allocations: 477.8 kB / 446.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004722/0.5687, allocations: 1.971 MB / 448.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.5705, allocations: 0.574 MB / 448.6 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.5706, allocations: 12.05 kB / 448.6 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.5706, allocations: 42.59 kB / 448.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.525e-06/0.5707, allocations: 0 / 448.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003574/0.5742, allocations: 1.157 MB / 449.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5744, allocations: 166.2 kB / 450 MB, free: 7.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.5755, allocations: 0.5191 MB / 450.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.5756, allocations: 37.7 kB / 450.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.5759, allocations: 342.8 kB / 450.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.5761, allocations: 165.6 kB / 451.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.5762, allocations: 12 kB / 451.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5764, allocations: 338.8 kB / 451.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/0.5773, allocations: 277 kB / 451.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009916/0.5783, allocations: 397.7 kB / 452.1 MB, free: 5.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.5793, allocations: 309.5 kB / 452.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-06/0.5793, allocations: 0 / 452.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002154/0.5815, allocations: 0.7252 MB / 453.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5815, allocations: 8 kB / 453.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5816, allocations: 4 kB / 453.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5816, allocations: 4 kB / 453.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.5824, allocations: 152.1 kB / 453.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.5825, allocations: 4 kB / 453.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.5832, allocations: 95.66 kB / 453.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.5833, allocations: 19.98 kB / 453.4 MB, free: 3.879 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 (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.0004441/0.5838, allocations: 205.6 kB / 453.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.584, allocations: 67.16 kB / 453.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.5842, allocations: 89.62 kB / 453.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.5842, allocations: 7.938 kB / 453.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.052e-06/0.5843, allocations: 0 / 453.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.713e-06/0.5843, allocations: 4 kB / 453.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.586, allocations: 0.8141 MB / 454.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.092e-06/0.5861, allocations: 4 kB / 454.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/0.587, allocations: 115.9 kB / 454.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.976e-06/0.587, allocations: 3.938 kB / 454.7 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.5871, allocations: 16 kB / 454.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.802e-06/0.5871, allocations: 4 kB / 454.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.5871, allocations: 8 kB / 454.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.59, allocations: 1.211 MB / 455.9 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.5904, allocations: 196.2 kB / 456.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.5906, allocations: 16 kB / 456.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007848/0.5914, allocations: 63.94 kB / 456.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.5915, allocations: 43.89 kB / 456.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.5916, allocations: 11.98 kB / 456.2 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009001/0.5925, allocations: 427 kB / 456.6 MB, free: 492 kB / 378.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.5925, allocations: 4 kB / 456.6 MB, free: 488 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007808/0.5933, allocations: 116 kB / 456.8 MB, free: 372 kB / 378.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 () * Number of clocked 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.0002186/0.5935, allocations: 115.2 kB / 456.9 MB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.5955, allocations: 0.6212 MB / 457.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.769e-06/0.5955, allocations: 0 / 457.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009188/0.5965, allocations: 306.8 kB / 457.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.5981, allocations: 150.1 kB / 457.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.6021, allocations: 1.681 MB / 459.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007772/0.6029, allocations: 0.9423 MB / 460.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.6033, allocations: 47.42 kB / 460.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of SimCode: time 1.737e-06/0.6033, allocations: 0 / 460.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of Templates: time 0.01672/0.62, allocations: 8.001 MB / 468.6 MB, free: 4.445 MB / 394.7 MB