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_InitialState.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_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.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004305, allocations: 12 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2769, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004018/0.2809, allocations: 2.633 MB / 371.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.2843, allocations: 1.396 MB / 373.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.2847, allocations: 23.81 kB / 373.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.2851, allocations: 83.41 kB / 373.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005691/0.2857, allocations: 179.4 kB / 373.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2871, allocations: 395.2 kB / 373.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.2881, allocations: 0.5733 MB / 374.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.2885, allocations: 156.8 kB / 374.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.289, allocations: 302.8 kB / 374.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.2896, allocations: 302.5 kB / 375.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.2897, allocations: 20 kB / 375.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.248e-05/0.2898, allocations: 20 kB / 375.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.29, allocations: 139.5 kB / 375.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2902, allocations: 129.3 kB / 375.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.2908, allocations: 0.4917 MB / 376 MB, free: 3.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.301e-06/0.2909, allocations: 0 / 376 MB, free: 3.863 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.347e-06/0.2909, allocations: 0 / 376 MB, free: 3.863 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.2909, allocations: 4 kB / 376 MB, free: 3.859 MB / 298.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.002393/0.2933, allocations: 1.005 MB / 377 MB, free: 2.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2934, allocations: 12.03 kB / 377 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.2936, allocations: 86.97 kB / 377.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2947, allocations: 0.4947 MB / 377.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.2947, allocations: 29 kB / 377.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2949, allocations: 51.91 kB / 377.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.2963, allocations: 0.5444 MB / 378.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.2963, allocations: 3.938 kB / 378.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.2964, allocations: 19.95 kB / 378.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2964, allocations: 12 kB / 378.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2978, allocations: 465.9 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.3023, allocations: 1.959 MB / 380.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.304, allocations: 0.5737 MB / 381.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/0.3041, allocations: 7.984 kB / 381.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3042, allocations: 38.56 kB / 381.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.726e-06/0.3042, allocations: 0 / 381.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003387/0.3076, allocations: 1.152 MB / 382.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.3077, allocations: 136.5 kB / 382.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.3088, allocations: 0.594 MB / 383.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.3089, allocations: 33.7 kB / 383.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.3092, allocations: 334.9 kB / 383.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.3095, allocations: 173.5 kB / 383.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.3095, allocations: 12 kB / 383.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3097, allocations: 338.8 kB / 384 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008494/0.3106, allocations: 277 kB / 384.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009437/0.3115, allocations: 388.8 kB / 384.7 MB, free: 10.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/0.3125, allocations: 319.9 kB / 385 MB, free: 10.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.3125, allocations: 0 / 385 MB, free: 10.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002094/0.3146, allocations: 0.72 MB / 385.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.3148, allocations: 174.7 kB / 385.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3148, allocations: 4 kB / 385.9 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3149, allocations: 4 kB / 385.9 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.3157, allocations: 151.8 kB / 386 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.3157, allocations: 8 kB / 386 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.3164, allocations: 99.42 kB / 386.1 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.3165, allocations: 16 kB / 386.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.3165, allocations: 4 kB / 386.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001846/0.3183, allocations: 0.6524 MB / 386.8 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.944e-06/0.3184, allocations: 4 kB / 386.8 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3184, allocations: 4.281 kB / 386.8 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.3191, allocations: 147.8 kB / 387 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3192, allocations: 4 kB / 387 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.3196, allocations: 71.59 kB / 387 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.3197, allocations: 20 kB / 387.1 MB, free: 8.406 MB / 314.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.000452/0.3201, allocations: 269 kB / 387.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.3204, allocations: 71.11 kB / 387.4 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3206, allocations: 85.58 kB / 387.5 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.3206, allocations: 11.98 kB / 387.5 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.749e-06/0.3206, allocations: 4 kB / 387.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3207, allocations: 0 / 387.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3225, allocations: 0.8297 MB / 388.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-06/0.3225, allocations: 0 / 388.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000845/0.3233, allocations: 115.9 kB / 388.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-06/0.3234, allocations: 4 kB / 388.4 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.3234, allocations: 20 kB / 388.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.3235, allocations: 0 / 388.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.627e-06/0.3235, allocations: 3.938 kB / 388.5 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.3262, allocations: 1.18 MB / 389.6 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.3266, allocations: 188.3 kB / 389.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3268, allocations: 19.98 kB / 389.8 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/0.3275, allocations: 59.94 kB / 389.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3276, allocations: 39.89 kB / 389.9 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.3277, allocations: 15.98 kB / 390 MB, free: 5.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008292/0.3285, allocations: 419 kB / 390.4 MB, free: 4.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.3286, allocations: 4 kB / 390.4 MB, free: 4.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009968/0.3296, allocations: 180 kB / 390.5 MB, free: 4.801 MB / 314.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.0001975/0.3298, allocations: 119.1 kB / 390.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.3326, allocations: 0.9526 MB / 391.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.405e-06/0.3326, allocations: 192 / 391.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008904/0.3335, allocations: 303.6 kB / 391.9 MB, free: 3.426 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3346, allocations: 159.9 kB / 392.1 MB, free: 3.277 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.3381, allocations: 1.677 MB / 393.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.3389, allocations: 0.9416 MB / 394.7 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.3392, allocations: 47.42 kB / 394.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of SimCode: time 1.605e-06/0.3392, allocations: 0 / 394.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of Templates: time 0.01619/0.3554, allocations: 7.832 MB / 402.6 MB, free: 8.723 MB / 330.7 MB