Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialState.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005961/0.0005962, allocations: 8 kB / 314.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4164, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.583, allocations: 90.04 MB / 459.8 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.5834, allocations: 75.97 kB / 459.9 MB, free: 484 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4402/1.024, allocations: 26.28 MB / 486.2 MB, free: 93.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.024, allocations: 0 / 486.2 MB, free: 93.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001052/1.024, allocations: 17.53 kB / 486.2 MB, free: 93.78 MB / 394.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.004484/1.028, allocations: 1.044 MB / 487.3 MB, free: 93.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.028, allocations: 7.688 kB / 487.3 MB, free: 93.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/1.029, allocations: 82.78 kB / 487.3 MB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/1.031, allocations: 0.5362 MB / 487.9 MB, free: 92.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/1.031, allocations: 37.67 kB / 487.9 MB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.031, allocations: 55.72 kB / 488 MB, free: 92.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/1.033, allocations: 0.544 MB / 488.5 MB, free: 92.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/1.033, allocations: 3.844 kB / 488.5 MB, free: 92.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/1.033, allocations: 15.94 kB / 488.5 MB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/1.033, allocations: 14.56 kB / 488.5 MB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/1.035, allocations: 478.6 kB / 489 MB, free: 92.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/1.04, allocations: 1.973 MB / 491 MB, free: 91.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/1.042, allocations: 0.5714 MB / 491.6 MB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.483e-05/1.042, allocations: 7.234 kB / 491.6 MB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.042, allocations: 46.02 kB / 491.6 MB, free: 91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.777e-06/1.042, allocations: 0 / 491.6 MB, free: 91 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.004161/1.046, allocations: 1.152 MB / 492.8 MB, free: 90.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/1.046, allocations: 139.8 kB / 492.9 MB, free: 90.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/1.047, allocations: 0.5978 MB / 493.5 MB, free: 90.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/1.048, allocations: 37.58 kB / 493.5 MB, free: 90.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/1.048, allocations: 339.3 kB / 493.9 MB, free: 89.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/1.048, allocations: 166.1 kB / 494 MB, free: 89.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/1.048, allocations: 11.94 kB / 494 MB, free: 89.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/1.048, allocations: 332.3 kB / 494.4 MB, free: 89.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.049, allocations: 282.5 kB / 494.6 MB, free: 89.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.05, allocations: 383.7 kB / 495 MB, free: 89.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/1.052, allocations: 315.5 kB / 495.3 MB, free: 88.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.052, allocations: 0 / 495.3 MB, free: 88.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002437/1.054, allocations: 0.7252 MB / 496 MB, free: 88.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.054, allocations: 174.4 kB / 496.2 MB, free: 88.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.054, allocations: 0 / 496.2 MB, free: 88.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/1.054, allocations: 7.906 kB / 496.2 MB, free: 88.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.055, allocations: 150.4 kB / 496.4 MB, free: 88.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.055, allocations: 13.27 kB / 496.4 MB, free: 88.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.057, allocations: 93.88 kB / 496.5 MB, free: 88.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/1.057, allocations: 20.88 kB / 496.5 MB, free: 88.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.057, allocations: 7.156 kB / 496.5 MB, free: 88.24 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002269/1.059, allocations: 0.6549 MB / 497.2 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.059, allocations: 3.938 kB / 497.2 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.059, allocations: 8 kB / 497.2 MB, free: 87.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.06, allocations: 147.2 kB / 497.3 MB, free: 87.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.06, allocations: 11.98 kB / 497.3 MB, free: 87.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/1.061, allocations: 71.59 kB / 497.4 MB, free: 87.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/1.061, allocations: 16 kB / 497.4 MB, free: 87.36 MB / 394.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.000513/1.061, allocations: 280.9 kB / 497.7 MB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/1.062, allocations: 67.16 kB / 497.8 MB, free: 87.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/1.062, allocations: 81.64 kB / 497.8 MB, free: 86.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.062, allocations: 4 kB / 497.8 MB, free: 86.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.062, allocations: 0 / 497.8 MB, free: 86.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.062, allocations: 3.984 kB / 497.8 MB, free: 86.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.064, allocations: 0.8254 MB / 498.7 MB, free: 86.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.064, allocations: 0 / 498.7 MB, free: 86.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.065, allocations: 111.9 kB / 498.8 MB, free: 85.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/1.065, allocations: 4 kB / 498.8 MB, free: 85.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/1.065, allocations: 15.98 kB / 498.8 MB, free: 85.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.065, allocations: 4 kB / 498.8 MB, free: 85.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.065, allocations: 3.953 kB / 498.8 MB, free: 85.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/1.068, allocations: 1.181 MB / 500 MB, free: 84.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/1.069, allocations: 184.4 kB / 0.4884 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/1.069, allocations: 16 kB / 0.4885 GB, free: 84.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.07, allocations: 71.88 kB / 0.4885 GB, free: 84.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/1.07, allocations: 39.89 kB / 0.4886 GB, free: 84.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/1.07, allocations: 8 kB / 0.4886 GB, free: 84.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009365/1.071, allocations: 431 kB / 0.489 GB, free: 83.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.071, allocations: 0 / 0.489 GB, free: 83.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001088/1.072, allocations: 188 kB / 0.4892 GB, free: 83.77 MB / 394.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.0001915/1.073, allocations: 131.1 kB / 0.4893 GB, free: 83.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003455/1.076, allocations: 0.9648 MB / 0.4902 GB, free: 82.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.076, allocations: 4 kB / 0.4902 GB, free: 82.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.077, allocations: 300.5 kB / 0.4905 GB, free: 82.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.079, allocations: 149.6 kB / 0.4907 GB, free: 82.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/1.082, allocations: 1.686 MB / 0.4923 GB, free: 80.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/1.083, allocations: 0.9494 MB / 0.4932 GB, free: 79.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/1.083, allocations: 47.42 kB / 0.4933 GB, free: 79.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/1.083, allocations: 0 / 0.4933 GB, free: 79.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01665/1.1, allocations: 7.957 MB / 0.5011 GB, free: 71.59 MB / 394.7 MB