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_SteadyState.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_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.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.293/2.293, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 12 kB / 314.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004018/0.2834, allocations: 2.641 MB / 371.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.2868, allocations: 1.389 MB / 373.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.2873, allocations: 19.88 kB / 373.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.2877, allocations: 91.34 kB / 373.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006795/0.2884, allocations: 175.5 kB / 373.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.2898, allocations: 391.2 kB / 373.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.291, allocations: 0.5537 MB / 374.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.2914, allocations: 156.8 kB / 374.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.2921, allocations: 294.8 kB / 374.9 MB, free: 5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.2926, allocations: 306.5 kB / 375.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.2927, allocations: 20 kB / 375.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.2928, allocations: 20 kB / 375.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.293, allocations: 139.5 kB / 375.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.2932, allocations: 125.3 kB / 375.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.2939, allocations: 0.4917 MB / 376 MB, free: 3.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.322e-06/0.2939, allocations: 0 / 376 MB, free: 3.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.668e-06/0.2939, allocations: 0 / 376 MB, free: 3.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.273e-06/0.2939, allocations: 0 / 376 MB, free: 3.902 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.002418/0.2963, allocations: 1.005 MB / 377 MB, free: 2.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2964, allocations: 8.031 kB / 377 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.2966, allocations: 94.95 kB / 377.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.2977, allocations: 498.5 kB / 377.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.2978, allocations: 33 kB / 377.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2979, allocations: 55.89 kB / 377.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.2993, allocations: 0.5443 MB / 378.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2993, allocations: 0 / 378.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.2994, allocations: 19.95 kB / 378.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.2994, allocations: 12 kB / 378.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.3009, allocations: 469.9 kB / 378.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004422/0.3053, allocations: 1.916 MB / 380.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.307, allocations: 0.574 MB / 381.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.307, allocations: 4 kB / 381.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.3071, allocations: 46.56 kB / 381.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.98e-06/0.3071, allocations: 0 / 381.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003396/0.3105, allocations: 1.159 MB / 382.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/0.3107, allocations: 132.5 kB / 382.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3118, allocations: 0.5901 MB / 383.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.3119, allocations: 33.7 kB / 383.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.3122, allocations: 342.9 kB / 383.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.3124, allocations: 165.6 kB / 383.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.3125, allocations: 12 kB / 383.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3127, allocations: 338.8 kB / 384 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/0.3136, allocations: 269 kB / 384.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009326/0.3145, allocations: 376.8 kB / 384.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.3154, allocations: 315.9 kB / 384.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.289e-06/0.3154, allocations: 0 / 384.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002244/0.3177, allocations: 0.7442 MB / 385.6 MB, free: 9.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.3179, allocations: 170.7 kB / 385.8 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.921e-06/0.3179, allocations: 4 kB / 385.8 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.3182, allocations: 60.77 kB / 385.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.3193, allocations: 199.8 kB / 386.1 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.3213, allocations: 1.507 MB / 387.6 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/0.3221, allocations: 87.62 kB / 387.7 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.3222, allocations: 20 kB / 387.7 MB, free: 7.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3222, allocations: 8.094 kB / 387.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002008/0.3242, allocations: 0.6794 MB / 388.4 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.482e-06/0.3242, allocations: 4 kB / 388.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.3244, allocations: 56.81 kB / 388.4 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.3255, allocations: 184 kB / 388.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.3255, allocations: 7.984 kB / 388.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.326, allocations: 71.66 kB / 388.7 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.3261, allocations: 19.95 kB / 388.7 MB, free: 6.625 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 (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.0004968/0.3266, allocations: 277 kB / 389 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.3268, allocations: 67.16 kB / 389 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.327, allocations: 81.64 kB / 389.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.125e-06/0.3271, allocations: 4 kB / 389.1 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.15e-06/0.3271, allocations: 4 kB / 389.1 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.3271, allocations: 7.984 kB / 389.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.3289, allocations: 0.8374 MB / 390 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.604e-06/0.329, allocations: 0 / 390 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/0.3298, allocations: 115.9 kB / 390.1 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.3299, allocations: 4 kB / 390.1 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/0.3299, allocations: 15.98 kB / 390.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.33, allocations: 8 kB / 390.1 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.141e-06/0.33, allocations: 3.953 kB / 390.1 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.3328, allocations: 1.176 MB / 391.3 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.3332, allocations: 188.3 kB / 391.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3334, allocations: 12 kB / 391.5 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007076/0.3341, allocations: 59.94 kB / 391.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3342, allocations: 47.83 kB / 391.6 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.3343, allocations: 16 kB / 391.6 MB, free: 3.598 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008524/0.3352, allocations: 419 kB / 392 MB, free: 3.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.3352, allocations: 0 / 392 MB, free: 3.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001038/0.3362, allocations: 180 kB / 392.2 MB, free: 3.016 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.0001874/0.3364, allocations: 115.2 kB / 392.3 MB, free: 2.895 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00335/0.3398, allocations: 1.173 MB / 393.5 MB, free: 1.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.304e-06/0.3398, allocations: 0 / 393.5 MB, free: 1.688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009358/0.3408, allocations: 295.7 kB / 393.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.3419, allocations: 156.2 kB / 393.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.3456, allocations: 1.681 MB / 395.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/0.3464, allocations: 0.9494 MB / 396.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.3468, allocations: 43.44 kB / 396.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.67e-06/0.3468, allocations: 0 / 396.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of Templates: time 0.01785/0.3646, allocations: 8.927 MB / 405.5 MB, free: 5.59 MB / 330.7 MB