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 1.835/1.835, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.641e-05, allocations: 4 kB / 277.8 MB, free: 12.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08794, allocations: 48.71 MB / 326.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5053, allocations: 83.75 MB / 410.3 MB, free: 3.488 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5055, allocations: 63.97 kB / 410.3 MB, free: 3.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1271/0.6326, allocations: 28 MB / 438.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.306e-06/0.6327, allocations: 0 / 438.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.464e-05/0.6327, allocations: 19.94 kB / 438.4 MB, free: 7.32 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002224/0.635, allocations: 0.919 MB / 439.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.635, allocations: 8.031 kB / 439.3 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.6353, allocations: 83.06 kB / 439.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.6366, allocations: 0.5305 MB / 439.9 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.6367, allocations: 32.78 kB / 439.9 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.6368, allocations: 55.98 kB / 440 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.638, allocations: 483.5 kB / 440.5 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.638, allocations: 3.906 kB / 440.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.6381, allocations: 23.95 kB / 440.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.6381, allocations: 8 kB / 440.5 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009015/0.639, allocations: 342 kB / 440.8 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.6438, allocations: 1.978 MB / 442.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.6449, allocations: 480 kB / 443.3 MB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.6454, allocations: 194.6 kB / 443.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-05/0.6455, allocations: 4.375 kB / 443.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6455, allocations: 42.5 kB / 443.5 MB, free: 1.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.734e-06/0.6456, allocations: 0 / 443.5 MB, free: 1.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001929/0.6475, allocations: 0.7648 MB / 444.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.6476, allocations: 162.3 kB / 444.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008969/0.6485, allocations: 0.5074 MB / 444.9 MB, free: 468 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.6486, allocations: 33.64 kB / 445 MB, free: 428 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.649, allocations: 338.9 kB / 445.3 MB, free: 88 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.6492, allocations: 169.7 kB / 445.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.6493, allocations: 12 kB / 445.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6495, allocations: 334.6 kB / 445.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.6501, allocations: 193.1 kB / 446 MB, free: 15.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.6507, allocations: 313.9 kB / 446.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.6513, allocations: 225.3 kB / 446.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.941e-06/0.6513, allocations: 0 / 446.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001414/0.6527, allocations: 0.5704 MB / 447.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6528, allocations: 4 kB / 447.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.6528, allocations: 4 kB / 447.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.6528, allocations: 4 kB / 447.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/0.6538, allocations: 152.1 kB / 447.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.6538, allocations: 4 kB / 447.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.6546, allocations: 99.55 kB / 447.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.6547, allocations: 20 kB / 447.4 MB, free: 13.96 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 () * 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.0002004/0.6549, allocations: 136.8 kB / 447.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.6551, allocations: 67.16 kB / 447.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.6554, allocations: 81.42 kB / 447.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.6554, allocations: 8 kB / 447.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-06/0.6554, allocations: 0 / 447.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.907e-06/0.6554, allocations: 7.984 kB / 447.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.6571, allocations: 0.7946 MB / 448.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.319e-06/0.6571, allocations: 4 kB / 448.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.6581, allocations: 119.8 kB / 448.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.6581, allocations: 0 / 448.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.6582, allocations: 16 kB / 448.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.022e-06/0.6582, allocations: 0 / 448.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.381e-06/0.6582, allocations: 4 kB / 448.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.66, allocations: 0.9726 MB / 449.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.6604, allocations: 192.3 kB / 449.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6606, allocations: 15.95 kB / 449.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000804/0.6614, allocations: 71.94 kB / 449.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.6616, allocations: 39.8 kB / 449.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.6616, allocations: 12 kB / 449.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007258/0.6624, allocations: 395.2 kB / 450.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.6624, allocations: 0 / 450.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007577/0.6631, allocations: 116 kB / 450.4 MB, free: 10.82 MB / 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 () * 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.0002243/0.6634, allocations: 131.1 kB / 450.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.6646, allocations: 451.7 kB / 451 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6646, allocations: 0 / 451 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.6651, allocations: 227 kB / 451.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6662, allocations: 151.7 kB / 451.3 MB, free: 9.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.6692, allocations: 1.19 MB / 452.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.67, allocations: 0.9462 MB / 453.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.6703, allocations: 43.44 kB / 453.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of SimCode: time 1.765e-06/0.6703, allocations: 0 / 453.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01671/0.6871, allocations: 7.999 MB / 461.5 MB, free: 15.65 MB / 394.7 MB