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.98/1.98, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004349, allocations: 16 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.284, allocations: 48.7 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003311/0.2873, allocations: 2.646 MB / 333.8 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.2902, allocations: 1.376 MB / 335.2 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.2907, allocations: 22.12 kB / 335.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.2912, allocations: 88.14 kB / 335.3 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006947/0.2919, allocations: 184.4 kB / 335.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.2935, allocations: 458 kB / 335.9 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.2948, allocations: 0.6342 MB / 336.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.2952, allocations: 156.2 kB / 336.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.2958, allocations: 323.4 kB / 337 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.2963, allocations: 321.6 kB / 337.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.1e-05/0.2964, allocations: 20.28 kB / 337.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.2967, allocations: 109.9 kB / 337.5 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.2969, allocations: 140.4 kB / 337.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.297, allocations: 123.7 kB / 337.7 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.2977, allocations: 0.5887 MB / 338.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2977, allocations: 0 / 338.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.618e-06/0.2977, allocations: 0 / 338.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2978, allocations: 0 / 338.3 MB, free: 2.184 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.002206/0.3, allocations: 1.031 MB / 339.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3, allocations: 9.125 kB / 339.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.3002, allocations: 80.38 kB / 339.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.3012, allocations: 0.4967 MB / 339.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.3012, allocations: 34.41 kB / 340 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3014, allocations: 47.69 kB / 340 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.3026, allocations: 0.5429 MB / 340.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.3026, allocations: 5.031 kB / 340.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.3027, allocations: 15.38 kB / 340.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3027, allocations: 14.75 kB / 340.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.3041, allocations: 466.1 kB / 341.1 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.3085, allocations: 1.937 MB / 343 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.3101, allocations: 0.5278 MB / 343.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.3102, allocations: 12.05 kB / 343.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.3102, allocations: 45.75 kB / 343.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 4.185e-06/0.3103, allocations: 5.25 kB / 343.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.003509/0.3138, allocations: 1.169 MB / 344.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3139, allocations: 142.5 kB / 344.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.3151, allocations: 0.5892 MB / 345.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.3151, allocations: 36.61 kB / 345.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.3155, allocations: 334.2 kB / 345.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.3157, allocations: 177.7 kB / 346 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.3158, allocations: 10.19 kB / 346 MB, free: 12.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.316, allocations: 336.5 kB / 346.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008726/0.3168, allocations: 286.7 kB / 346.6 MB, free: 12.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.3178, allocations: 395.9 kB / 347 MB, free: 12.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.3188, allocations: 320.5 kB / 347.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.134e-06/0.3188, allocations: 1.562 kB / 347.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002182/0.321, allocations: 0.7539 MB / 348.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3211, allocations: 6.312 kB / 348.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3211, allocations: 3.562 kB / 348.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.3211, allocations: 9.484 kB / 348.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.3222, allocations: 196.9 kB / 348.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3223, allocations: 5.5 kB / 348.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/0.323, allocations: 87.72 kB / 348.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.323, allocations: 18.81 kB / 348.4 MB, free: 11.62 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 (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.0004093/0.3235, allocations: 198.4 kB / 348.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.3237, allocations: 68.31 kB / 348.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.3239, allocations: 90.23 kB / 348.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3239, allocations: 9.453 kB / 348.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.075e-06/0.3239, allocations: 1.375 kB / 348.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.324, allocations: 3.984 kB / 348.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.3268, allocations: 1.262 MB / 350 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.597e-06/0.3268, allocations: 0.9062 kB / 350 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/0.3277, allocations: 127.9 kB / 350.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.3277, allocations: 2.625 kB / 350.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.3278, allocations: 10.69 kB / 350.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.3278, allocations: 6.891 kB / 350.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.77e-06/0.3278, allocations: 5.438 kB / 350.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.3307, allocations: 1.203 MB / 351.4 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.3312, allocations: 200.6 kB / 351.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3313, allocations: 22.84 kB / 351.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.3321, allocations: 57.69 kB / 351.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3322, allocations: 45.44 kB / 351.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.3323, allocations: 9.406 kB / 351.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008642/0.3332, allocations: 426 kB / 352.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.3332, allocations: 3.938 kB / 352.1 MB, free: 9.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008489/0.334, allocations: 132 kB / 352.3 MB, free: 8.98 MB / 282.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.0003567/0.3344, allocations: 145.5 kB / 352.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.3364, allocations: 0.6254 MB / 353 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.733e-06/0.3364, allocations: 4.062 kB / 353 MB, free: 8.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009311/0.3374, allocations: 309 kB / 353.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3385, allocations: 150.9 kB / 353.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.3421, allocations: 1.695 MB / 355.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.3429, allocations: 0.9489 MB / 356.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.3433, allocations: 47.42 kB / 356.2 MB, free: 5 MB / 282.7 MB Notification: Performance of SimCode: time 1.7e-06/0.3433, allocations: 0 / 356.2 MB, free: 5 MB / 282.7 MB Notification: Performance of Templates: time 0.01663/0.3599, allocations: 8.243 MB / 364.4 MB, free: 12.77 MB / 298.7 MB