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_SteadyState.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_SteadyState,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_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.839/1.839, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004258, allocations: 8 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2817, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003465/0.2852, allocations: 2.629 MB / 333.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.2883, allocations: 1.38 MB / 335.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.2887, allocations: 18.44 kB / 335.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.2891, allocations: 88.81 kB / 335.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.2897, allocations: 185.5 kB / 335.5 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.2912, allocations: 462.7 kB / 335.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009635/0.2922, allocations: 0.5628 MB / 336.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.2926, allocations: 155.8 kB / 336.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.2931, allocations: 321.9 kB / 337 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.2936, allocations: 306.3 kB / 337.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.2937, allocations: 19.78 kB / 337.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.2938, allocations: 20.09 kB / 337.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.294, allocations: 146.7 kB / 337.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2941, allocations: 119.7 kB / 337.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.2946, allocations: 0.49 MB / 338 MB, free: 2.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.5e-06/0.2947, allocations: 3.938 kB / 338 MB, free: 2.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.918e-06/0.2947, allocations: 0 / 338 MB, free: 2.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.2947, allocations: 1.312 kB / 338 MB, free: 2.312 MB / 266.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.0021/0.2968, allocations: 1.005 MB / 339.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2969, allocations: 8.781 kB / 339.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.297, allocations: 81.19 kB / 339.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/0.2979, allocations: 0.5078 MB / 339.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.298, allocations: 30.88 kB / 339.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.2981, allocations: 46.59 kB / 339.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2993, allocations: 0.5433 MB / 340.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.2994, allocations: 8.922 kB / 340.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.2995, allocations: 16.31 kB / 340.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2995, allocations: 9.812 kB / 340.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3008, allocations: 466.9 kB / 340.8 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.305, allocations: 1.912 MB / 342.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.3067, allocations: 0.5717 MB / 343.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.3067, allocations: 3.844 kB / 343.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.3068, allocations: 50.52 kB / 343.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.958e-06/0.3068, allocations: 0 / 343.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.00336/0.3102, allocations: 1.154 MB / 344.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.3103, allocations: 138.2 kB / 344.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3114, allocations: 0.586 MB / 345.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.646e-05/0.3115, allocations: 35.14 kB / 345.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.3119, allocations: 342.6 kB / 345.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.3121, allocations: 168.6 kB / 345.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.3121, allocations: 14.41 kB / 345.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.3123, allocations: 333 kB / 346 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008211/0.3132, allocations: 269.4 kB / 346.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/0.3141, allocations: 384.4 kB / 346.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.315, allocations: 307.4 kB / 347 MB, free: 12.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3151, allocations: 1.125 kB / 347 MB, free: 12.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002245/0.3173, allocations: 0.7461 MB / 347.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3174, allocations: 6.219 kB / 347.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.747e-06/0.3174, allocations: 3.469 kB / 347.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.3177, allocations: 56.09 kB / 347.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.3187, allocations: 195 kB / 348 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.3207, allocations: 1.509 MB / 349.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.3215, allocations: 87.72 kB / 349.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.3216, allocations: 18.59 kB / 349.6 MB, free: 10.31 MB / 282.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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004313/0.322, allocations: 194.4 kB / 349.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.3222, allocations: 76.12 kB / 349.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.3225, allocations: 90.52 kB / 349.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-06/0.3225, allocations: 5.531 kB / 350 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.678e-06/0.3225, allocations: 0 / 350 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3225, allocations: 1.125 kB / 350 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.3244, allocations: 0.8383 MB / 350.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.451e-06/0.3244, allocations: 5.375 kB / 350.8 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.3253, allocations: 111.7 kB / 350.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.085e-06/0.3253, allocations: 2.75 kB / 350.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.3254, allocations: 17.48 kB / 350.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.716e-06/0.3254, allocations: 2.75 kB / 350.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.669e-06/0.3254, allocations: 4 kB / 350.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.3282, allocations: 1.185 MB / 352.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.3286, allocations: 189.1 kB / 352.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.3287, allocations: 13.22 kB / 352.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.3294, allocations: 61.09 kB / 352.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3296, allocations: 39.94 kB / 352.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.3296, allocations: 9.844 kB / 352.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008315/0.3305, allocations: 425.2 kB / 352.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.25e-07/0.3305, allocations: 3.938 kB / 352.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000743/0.3313, allocations: 105.4 kB / 352.9 MB, free: 8.133 MB / 282.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.0001842/0.3315, allocations: 129.1 kB / 353.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.3336, allocations: 0.726 MB / 353.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.102e-06/0.3336, allocations: 0 / 353.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008833/0.3345, allocations: 306.4 kB / 354.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3356, allocations: 153.9 kB / 354.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.3391, allocations: 1.682 MB / 355.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.3399, allocations: 0.9489 MB / 356.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.3402, allocations: 47.42 kB / 356.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of SimCode: time 1.632e-06/0.3403, allocations: 0 / 356.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of Templates: time 0.01722/0.3575, allocations: 8.906 MB / 365.8 MB, free: 11.18 MB / 298.7 MB