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.181/2.181, allocations: 234.9 MB / 250.5 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004448, allocations: 15.98 kB / 314.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 54.86 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.4273, allocations: 90.14 MB / 459.4 MB, free: 2.473 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4275, allocations: 75.91 kB / 459.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1207/0.5483, allocations: 27.63 MB / 487.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5483, allocations: 0 / 487.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.835e-05/0.5484, allocations: 19.94 kB / 487.1 MB, free: 6.648 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.002731/0.5511, allocations: 1.055 MB / 488.2 MB, free: 5.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5512, allocations: 8.031 kB / 488.2 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.5514, allocations: 82.97 kB / 488.3 MB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.553, allocations: 0.5696 MB / 488.8 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.5531, allocations: 33 kB / 488.9 MB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5532, allocations: 48 kB / 488.9 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5547, allocations: 0.5365 MB / 489.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.5547, allocations: 0 / 489.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.5548, allocations: 16 kB / 489.5 MB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.5548, allocations: 11.94 kB / 489.5 MB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.5563, allocations: 453.9 kB / 489.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.5608, allocations: 1.932 MB / 491.9 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.5624, allocations: 0.5015 MB / 492.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.5624, allocations: 4.5 kB / 492.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.5625, allocations: 46.55 kB / 492.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.668e-06/0.5625, allocations: 0 / 492.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.004301/0.5668, allocations: 1.148 MB / 493.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5669, allocations: 110.8 kB / 493.7 MB, free: 15.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5685, allocations: 0.519 MB / 494.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.5687, allocations: 37.64 kB / 494.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.5691, allocations: 338.8 kB / 494.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.5694, allocations: 169.5 kB / 494.7 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.5695, allocations: 12 kB / 494.7 MB, free: 14.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.5697, allocations: 334.8 kB / 495.1 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.571, allocations: 273 kB / 495.3 MB, free: 14.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.5724, allocations: 376 kB / 495.7 MB, free: 13.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.5737, allocations: 300.6 kB / 496 MB, free: 13.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.083e-06/0.5738, allocations: 0 / 496 MB, free: 13.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003102/0.5769, allocations: 0.7206 MB / 496.7 MB, free: 12.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006843/0.5776, allocations: 1.051 MB / 497.8 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5776, allocations: 0 / 497.8 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.5777, allocations: 8 kB / 497.8 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.5795, allocations: 195.7 kB / 498 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.5795, allocations: 4 kB / 498 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.5803, allocations: 95.47 kB / 498.1 MB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.5804, allocations: 28 kB / 498.1 MB, free: 11.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5804, allocations: 6.656 kB / 498.1 MB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00199/0.5824, allocations: 0.6607 MB / 498.8 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5825, allocations: 7.984 kB / 498.8 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5825, allocations: 4 kB / 498.8 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.5837, allocations: 192 kB / 499 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.5837, allocations: 11.94 kB / 499 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.5842, allocations: 63.66 kB / 499 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.5843, allocations: 24 kB / 499.1 MB, free: 10.32 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 () * 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.0005416/0.5848, allocations: 284.9 kB / 499.3 MB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.5851, allocations: 67.16 kB / 499.4 MB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.5853, allocations: 81.64 kB / 499.5 MB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.613e-06/0.5853, allocations: 4 kB / 499.5 MB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.5853, allocations: 4.047 kB / 499.5 MB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5854, allocations: 7.969 kB / 499.5 MB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.5882, allocations: 1.231 MB / 0.489 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5882, allocations: 4 kB / 0.489 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/0.5892, allocations: 111.9 kB / 0.4891 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.5892, allocations: 4 kB / 0.4891 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.5893, allocations: 8 kB / 0.4891 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.7e-06/0.5893, allocations: 8.062 kB / 0.4891 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.846e-06/0.5893, allocations: 3.953 kB / 0.4891 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.5922, allocations: 1.231 MB / 0.4903 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.5926, allocations: 188.3 kB / 0.4905 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.5928, allocations: 8 kB / 0.4905 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.5935, allocations: 63.94 kB / 0.4906 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5937, allocations: 39.88 kB / 0.4906 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.5937, allocations: 12 kB / 0.4906 GB, free: 6.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008829/0.5946, allocations: 423 kB / 0.491 GB, free: 6.418 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.5947, allocations: 0 / 0.491 GB, free: 6.418 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00117/0.5958, allocations: 235.8 kB / 0.4912 GB, free: 6.188 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 () * 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.0003927/0.5962, allocations: 152 kB / 0.4914 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.5992, allocations: 0.9761 MB / 0.4923 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.222e-06/0.5993, allocations: 4 kB / 0.4923 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6003, allocations: 307.1 kB / 0.4926 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6015, allocations: 162.6 kB / 0.4928 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.605, allocations: 1.656 MB / 0.4944 GB, free: 2.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.6058, allocations: 0.9492 MB / 0.4953 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.6061, allocations: 51.44 kB / 0.4954 GB, free: 1.871 MB / 426.7 MB Notification: Performance of SimCode: time 1.711e-06/0.6062, allocations: 3.938 kB / 0.4954 GB, free: 1.867 MB / 426.7 MB Notification: Performance of Templates: time 0.2628/0.869, allocations: 8.302 MB / 0.5035 GB, free: 117.7 MB / 426.7 MB