Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.617e-05, allocations: 0 / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.321, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4592, allocations: 90.06 MB / 454.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4594, allocations: 67.97 kB / 454.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1245/0.5839, allocations: 27.6 MB / 482.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.998e-06/0.584, allocations: 0 / 482.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.646e-05/0.5841, allocations: 23.94 kB / 482.3 MB, free: 10.66 MB / 410.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.002338/0.5864, allocations: 0.9113 MB / 483.2 MB, free: 9.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5865, allocations: 12.03 kB / 483.2 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.5867, allocations: 82.97 kB / 483.3 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.5882, allocations: 0.5421 MB / 483.8 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.5883, allocations: 32.78 kB / 483.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.5884, allocations: 48 kB / 483.9 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5895, allocations: 477.1 kB / 484.4 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.5896, allocations: 9.109 kB / 484.4 MB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.5897, allocations: 19.98 kB / 484.4 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5897, allocations: 12 kB / 484.4 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.5906, allocations: 334 kB / 484.7 MB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.5953, allocations: 1.924 MB / 486.7 MB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.5964, allocations: 429.8 kB / 487.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.5969, allocations: 203 kB / 487.3 MB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.597, allocations: 11.92 kB / 487.3 MB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.597, allocations: 42.52 kB / 487.3 MB, free: 5.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.905e-06/0.597, allocations: 0.75 kB / 487.3 MB, free: 5.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.00202/0.5991, allocations: 0.765 MB / 488.1 MB, free: 4.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.5992, allocations: 118.8 kB / 488.2 MB, free: 4.441 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008871/0.6001, allocations: 499.6 kB / 488.7 MB, free: 3.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.6002, allocations: 37.7 kB / 488.7 MB, free: 3.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.6005, allocations: 342.9 kB / 489.1 MB, free: 3.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.6007, allocations: 165.5 kB / 489.2 MB, free: 3.406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.6008, allocations: 11.98 kB / 489.2 MB, free: 3.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.601, allocations: 339.8 kB / 489.6 MB, free: 3.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.6015, allocations: 197.1 kB / 489.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.6021, allocations: 296.1 kB / 490.1 MB, free: 2.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.6027, allocations: 236.4 kB / 490.3 MB, free: 2.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.715e-06/0.6027, allocations: 0 / 490.3 MB, free: 2.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001448/0.6042, allocations: 0.5762 MB / 490.9 MB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006046/0.6048, allocations: 1.051 MB / 491.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6048, allocations: 4 kB / 491.9 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.6049, allocations: 8 kB / 491.9 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.6062, allocations: 191.8 kB / 492.1 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.6063, allocations: 11.94 kB / 492.1 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.607, allocations: 96.5 kB / 492.2 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.6071, allocations: 20 kB / 492.2 MB, free: 288 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.6072, allocations: 4 kB / 492.2 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/0.6085, allocations: 0.5353 MB / 492.8 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.924e-06/0.6086, allocations: 4 kB / 492.8 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6086, allocations: 4 kB / 492.8 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.6098, allocations: 192.1 kB / 493 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.6099, allocations: 8 kB / 493 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.6103, allocations: 63.66 kB / 493.1 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.6104, allocations: 23.95 kB / 493.1 MB, free: 15.45 MB / 426.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 (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.0002108/0.6106, allocations: 132.9 kB / 493.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.6109, allocations: 76.08 kB / 493.3 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.6112, allocations: 81.42 kB / 493.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6112, allocations: 4 kB / 493.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.697e-06/0.6112, allocations: 0 / 493.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6112, allocations: 3.984 kB / 493.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.6137, allocations: 1.166 MB / 494.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.987e-06/0.6138, allocations: 0 / 494.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.6148, allocations: 115.8 kB / 494.6 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.6148, allocations: 8.062 kB / 494.7 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.6149, allocations: 16 kB / 494.7 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.6149, allocations: 11.89 kB / 494.7 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.562e-06/0.615, allocations: 0 / 494.7 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.6169, allocations: 1.009 MB / 495.7 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.6173, allocations: 192.2 kB / 495.9 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6175, allocations: 16 kB / 495.9 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.6183, allocations: 59.94 kB / 495.9 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.6185, allocations: 39.94 kB / 496 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.6185, allocations: 12 kB / 496 MB, free: 12.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007087/0.6192, allocations: 399.1 kB / 496.4 MB, free: 11.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.6193, allocations: 0 / 496.4 MB, free: 11.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001197/0.6205, allocations: 219.9 kB / 496.6 MB, free: 11.78 MB / 426.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 () * 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.0003944/0.6209, allocations: 160.2 kB / 496.8 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.6228, allocations: 0.7467 MB / 497.5 MB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.081e-06/0.6228, allocations: 4.062 kB / 497.5 MB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.6234, allocations: 229.9 kB / 497.7 MB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6246, allocations: 153.3 kB / 497.9 MB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.6276, allocations: 1.192 MB / 499.1 MB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/0.6284, allocations: 0.9492 MB / 0.4883 GB, free: 8.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.6289, allocations: 55.36 kB / 0.4884 GB, free: 8.227 MB / 426.7 MB Notification: Performance of SimCode: time 1.922e-06/0.6289, allocations: 0 / 0.4884 GB, free: 8.227 MB / 426.7 MB Notification: Performance of Templates: time 0.01708/0.646, allocations: 8.29 MB / 0.4965 GB, free: 15.95 MB / 442.7 MB