Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_InitialState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.074/2.074, allocations: 209.2 MB / 225.4 MB, free: 1.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004363, allocations: 12 kB / 283.1 MB, free: 9.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 48.71 MB / 331.8 MB, free: 8.984 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/0.5367, allocations: 83.82 MB / 415.6 MB, free: 1.391 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.537, allocations: 75.95 kB / 415.7 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1407/0.6778, allocations: 28.04 MB / 443.7 MB, free: 5.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6778, allocations: 0 / 443.7 MB, free: 5.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.731e-05/0.6779, allocations: 16 kB / 443.7 MB, free: 5.184 MB / 362.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.004021/0.682, allocations: 1.059 MB / 444.8 MB, free: 4.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.682, allocations: 8.031 kB / 444.8 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.6824, allocations: 83.06 kB / 444.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.6845, allocations: 0.5618 MB / 445.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.6846, allocations: 37 kB / 445.5 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.6848, allocations: 47.91 kB / 445.5 MB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.6869, allocations: 0.5647 MB / 446.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.687, allocations: 0 / 446.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.6871, allocations: 19.95 kB / 446.1 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.6871, allocations: 12 kB / 446.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.6891, allocations: 469.9 kB / 446.6 MB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006032/0.6952, allocations: 1.978 MB / 448.6 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.6975, allocations: 0.578 MB / 449.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.874e-05/0.6976, allocations: 4.062 kB / 449.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.6977, allocations: 42.55 kB / 449.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.346e-06/0.6977, allocations: 4 kB / 449.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.004749/0.7024, allocations: 1.159 MB / 450.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.7026, allocations: 162.2 kB / 450.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.7041, allocations: 0.5941 MB / 451.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.7043, allocations: 33.7 kB / 451.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.7047, allocations: 338.8 kB / 451.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.7049, allocations: 169.5 kB / 451.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.705, allocations: 12 kB / 451.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7052, allocations: 342.8 kB / 452 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.7065, allocations: 277 kB / 452.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.7078, allocations: 397.7 kB / 452.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.7091, allocations: 318 kB / 453 MB, free: 11.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7091, allocations: 0 / 453 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002753/0.7119, allocations: 0.7315 MB / 453.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.7119, allocations: 4 kB / 453.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.712, allocations: 4 kB / 453.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.712, allocations: 4 kB / 453.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.7132, allocations: 152 kB / 453.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.7132, allocations: 4 kB / 453.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7143, allocations: 91.62 kB / 453.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.7144, allocations: 23.98 kB / 454 MB, free: 10.61 MB / 378.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.0004789/0.7149, allocations: 201.6 kB / 454.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.7151, allocations: 67.16 kB / 454.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.7154, allocations: 85.62 kB / 454.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7154, allocations: 4 kB / 454.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7154, allocations: 4 kB / 454.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.7154, allocations: 0 / 454.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.7174, allocations: 0.8258 MB / 455.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.7174, allocations: 3.938 kB / 455.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.7187, allocations: 115.9 kB / 455.3 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.7187, allocations: 4 kB / 455.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-05/0.7188, allocations: 15.98 kB / 455.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.7188, allocations: 4 kB / 455.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7188, allocations: 0 / 455.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.7227, allocations: 1.192 MB / 456.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.7232, allocations: 196.2 kB / 456.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.7234, allocations: 8 kB / 456.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.7245, allocations: 67.94 kB / 456.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.7247, allocations: 36.03 kB / 456.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.7249, allocations: 19.98 kB / 456.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001858/0.7268, allocations: 435 kB / 457.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.7269, allocations: 0 / 457.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000924/0.7278, allocations: 112 kB / 457.3 MB, free: 7.137 MB / 378.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.0002404/0.728, allocations: 119.2 kB / 457.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.7306, allocations: 0.6174 MB / 458.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7306, allocations: 0 / 458.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.7318, allocations: 303.6 kB / 458.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.7332, allocations: 158.3 kB / 458.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.7374, allocations: 1.677 MB / 460.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/0.7382, allocations: 0.9578 MB / 461.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/0.7386, allocations: 47.42 kB / 461.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.263e-06/0.7387, allocations: 0 / 461.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of Templates: time 0.02046/0.7591, allocations: 8.002 MB / 469.2 MB, free: 11.2 MB / 394.7 MB