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_InitialOutput.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_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 1.814/1.814, allocations: 209.2 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 15.94 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3267, allocations: 48.7 MB / 331.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.449, allocations: 83.94 MB / 415.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4493, allocations: 71.97 kB / 415.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1298/0.5791, allocations: 29.35 MB / 444.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.427e-06/0.5791, allocations: 0 / 444.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8e-05/0.5792, allocations: 19.94 kB / 444.6 MB, free: 12.97 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.002763/0.582, allocations: 1.075 MB / 445.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5821, allocations: 8.031 kB / 445.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.5823, allocations: 91 kB / 445.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.584, allocations: 0.5774 MB / 446.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.5841, allocations: 33 kB / 446.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.5842, allocations: 51.91 kB / 446.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5856, allocations: 0.5412 MB / 447 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.5857, allocations: 7.938 kB / 447 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.5858, allocations: 23.95 kB / 447.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5858, allocations: 12 kB / 447.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5873, allocations: 445.9 kB / 447.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.5918, allocations: 1.924 MB / 449.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.5933, allocations: 0.5089 MB / 449.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.769e-05/0.5934, allocations: 5.375 kB / 449.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5934, allocations: 42.78 kB / 450 MB, free: 7.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.612e-06/0.5935, allocations: 0 / 450 MB, free: 7.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.00348/0.5969, allocations: 1.148 MB / 451.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.5971, allocations: 114.8 kB / 451.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.5982, allocations: 0.5229 MB / 451.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.5983, allocations: 37.7 kB / 451.8 MB, free: 5.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.5986, allocations: 334.9 kB / 452.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.5988, allocations: 173.5 kB / 452.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.5989, allocations: 15.94 kB / 452.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5991, allocations: 334.8 kB / 452.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.6, allocations: 273 kB / 452.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009964/0.601, allocations: 369.1 kB / 453.3 MB, free: 4.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/0.602, allocations: 309.3 kB / 453.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.434e-06/0.6021, allocations: 0 / 453.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002164/0.6042, allocations: 0.7127 MB / 454.3 MB, free: 3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6043, allocations: 4.281 kB / 454.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.6043, allocations: 8 kB / 454.3 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.6043, allocations: 7.938 kB / 454.3 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.6056, allocations: 195.8 kB / 454.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.6057, allocations: 8 kB / 454.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.6064, allocations: 83.53 kB / 454.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.6065, allocations: 20 kB / 454.6 MB, free: 2.68 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.0004394/0.6069, allocations: 205.6 kB / 454.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.6072, allocations: 71.16 kB / 454.9 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.6074, allocations: 81.64 kB / 454.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-06/0.6074, allocations: 4 kB / 455 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6074, allocations: 0 / 455 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6074, allocations: 3.984 kB / 455 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.6102, allocations: 1.236 MB / 456.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.404e-06/0.6103, allocations: 4 kB / 456.2 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/0.6111, allocations: 107.8 kB / 456.3 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.6112, allocations: 7.984 kB / 456.3 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.6112, allocations: 16 kB / 456.3 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-06/0.6113, allocations: 8.062 kB / 456.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-06/0.6113, allocations: 0 / 456.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.6142, allocations: 1.231 MB / 457.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.6146, allocations: 188.2 kB / 457.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.6147, allocations: 16 kB / 457.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/0.6154, allocations: 63.94 kB / 457.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6156, allocations: 36.03 kB / 457.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.6157, allocations: 15.98 kB / 457.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008794/0.6166, allocations: 423 kB / 458.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.6166, allocations: 0 / 458.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008378/0.6174, allocations: 151.9 kB / 458.4 MB, free: 14.7 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.0003783/0.6178, allocations: 155 kB / 458.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.6197, allocations: 0.6096 MB / 459.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.755e-06/0.6198, allocations: 128 / 459.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.6207, allocations: 303.7 kB / 459.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6217, allocations: 162 kB / 459.7 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.6253, allocations: 1.676 MB / 461.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.6261, allocations: 0.9411 MB / 462.3 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.6264, allocations: 51.42 kB / 462.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6264, allocations: 4 kB / 462.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01672/0.6432, allocations: 8.296 MB / 470.6 MB, free: 2.441 MB / 394.7 MB