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.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,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") Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.000429, allocations: 11.98 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2782, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004076/0.2823, allocations: 2.614 MB / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.2858, allocations: 1.401 MB / 373.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/0.2863, allocations: 15.88 kB / 373.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.2868, allocations: 91.33 kB / 373.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.2874, allocations: 171.5 kB / 373.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2889, allocations: 391.2 kB / 373.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.2901, allocations: 0.5811 MB / 374.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.2905, allocations: 152.8 kB / 374.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.2912, allocations: 294.8 kB / 374.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005413/0.2917, allocations: 306.5 kB / 375.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.743e-05/0.2918, allocations: 20 kB / 375.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.608e-05/0.2919, allocations: 20 kB / 375.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.2921, allocations: 143.4 kB / 375.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2923, allocations: 125.3 kB / 375.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.293, allocations: 0.4917 MB / 376 MB, free: 3.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.799e-06/0.293, allocations: 0 / 376 MB, free: 3.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.551e-06/0.2931, allocations: 3.984 kB / 376 MB, free: 3.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2931, allocations: 0 / 376 MB, free: 3.898 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.00252/0.2956, allocations: 1.008 MB / 377 MB, free: 2.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2957, allocations: 12.03 kB / 377 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.2959, allocations: 83.06 kB / 377.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.297, allocations: 0.4985 MB / 377.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.2971, allocations: 33 kB / 377.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.2972, allocations: 51.91 kB / 377.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2986, allocations: 0.5404 MB / 378.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2987, allocations: 4 kB / 378.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.2987, allocations: 19.95 kB / 378.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2988, allocations: 8 kB / 378.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.3002, allocations: 465.9 kB / 378.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.3049, allocations: 1.959 MB / 380.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.3066, allocations: 0.5818 MB / 381.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.3067, allocations: 4 kB / 381.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.3067, allocations: 42.55 kB / 381.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.73e-06/0.3067, allocations: 0 / 381.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.00342/0.3102, allocations: 1.155 MB / 382.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3103, allocations: 136.5 kB / 382.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3115, allocations: 0.5901 MB / 383.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-05/0.3116, allocations: 37.7 kB / 383.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.3119, allocations: 334.9 kB / 383.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.3121, allocations: 165.6 kB / 383.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.3122, allocations: 12 kB / 383.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3124, allocations: 338.8 kB / 384 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.3132, allocations: 277 kB / 384.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009471/0.3142, allocations: 392.7 kB / 384.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009066/0.3151, allocations: 316 kB / 385 MB, free: 10.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-06/0.3152, allocations: 0 / 385 MB, free: 10.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00211/0.3173, allocations: 0.72 MB / 385.7 MB, free: 9.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.3175, allocations: 170.7 kB / 385.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.626e-06/0.3175, allocations: 0 / 385.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.3175, allocations: 8 kB / 385.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/0.3184, allocations: 155.8 kB / 386 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.3184, allocations: 4 kB / 386 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.3191, allocations: 99.42 kB / 386.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.3192, allocations: 20 kB / 386.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3192, allocations: 4 kB / 386.1 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001888/0.3211, allocations: 0.6513 MB / 386.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3211, allocations: 4 kB / 386.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3211, allocations: 4.281 kB / 386.8 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/0.3219, allocations: 143.8 kB / 386.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.3219, allocations: 15.92 kB / 387 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.3224, allocations: 67.66 kB / 387 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.3224, allocations: 20 kB / 387 MB, free: 8.438 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.0004585/0.3229, allocations: 273 kB / 387.3 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.3232, allocations: 71.11 kB / 387.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.3234, allocations: 81.64 kB / 387.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.874e-06/0.3234, allocations: 4 kB / 387.5 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.501e-06/0.3234, allocations: 48 / 387.5 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3234, allocations: 15.97 kB / 387.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3253, allocations: 0.8258 MB / 388.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3253, allocations: 0 / 388.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/0.3261, allocations: 115.9 kB / 388.4 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.3262, allocations: 4 kB / 388.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.3263, allocations: 23.86 kB / 388.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/0.3263, allocations: 8 kB / 388.4 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3263, allocations: 0 / 388.4 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.3291, allocations: 1.172 MB / 389.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.3296, allocations: 192.3 kB / 389.8 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3297, allocations: 16 kB / 389.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006962/0.3304, allocations: 63.88 kB / 389.9 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.3306, allocations: 39.94 kB / 389.9 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3306, allocations: 15.94 kB / 389.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008388/0.3315, allocations: 419 kB / 390.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.3315, allocations: 0 / 390.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001029/0.3325, allocations: 180 kB / 390.5 MB, free: 4.836 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.000195/0.3327, allocations: 115.2 kB / 390.6 MB, free: 4.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.3356, allocations: 0.9531 MB / 391.6 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.383e-06/0.3357, allocations: 0 / 391.6 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.3366, allocations: 303.8 kB / 391.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.3378, allocations: 148.5 kB / 392 MB, free: 3.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.3413, allocations: 1.673 MB / 393.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/0.3421, allocations: 0.9455 MB / 394.7 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.3425, allocations: 39.44 kB / 394.7 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of SimCode: time 1.668e-06/0.3425, allocations: 0 / 394.7 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of Templates: time 0.01618/0.3587, allocations: 7.845 MB / 402.5 MB, free: 8.766 MB / 330.7 MB