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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.895/1.895, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.485e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2578, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.3819, allocations: 83.17 MB / 403.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3822, allocations: 67.95 kB / 403.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1258/0.508, allocations: 29.14 MB / 432.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.407e-06/0.508, allocations: 4 kB / 432.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.501e-05/0.5081, allocations: 16 kB / 432.4 MB, free: 15.92 MB / 378.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.002169/0.5103, allocations: 0.9346 MB / 433.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5103, allocations: 16.02 kB / 433.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.5106, allocations: 86.97 kB / 433.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.5121, allocations: 0.5499 MB / 434 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.5122, allocations: 12 kB / 434 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.5123, allocations: 39.89 kB / 434 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008386/0.5131, allocations: 305.5 kB / 434.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.5141, allocations: 430 kB / 434.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.5141, allocations: 3.953 kB / 434.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.5142, allocations: 4 kB / 434.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.5142, allocations: 8 kB / 434.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.5185, allocations: 1.845 MB / 436.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/0.5194, allocations: 403.8 kB / 437 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.5198, allocations: 190.5 kB / 437.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.753e-05/0.5199, allocations: 9.297 kB / 437.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.5199, allocations: 38.56 kB / 437.3 MB, free: 10.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.322e-06/0.52, allocations: 0 / 437.3 MB, free: 10.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001759/0.5217, allocations: 0.735 MB / 438 MB, free: 10.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.5218, allocations: 106.8 kB / 438.1 MB, free: 9.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.5226, allocations: 459.5 kB / 438.5 MB, free: 9.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.5226, allocations: 25.7 kB / 438.6 MB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.5229, allocations: 338.7 kB / 438.9 MB, free: 9.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.5231, allocations: 161.6 kB / 439.1 MB, free: 8.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.5232, allocations: 0 / 439.1 MB, free: 8.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5234, allocations: 343.8 kB / 439.4 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.5239, allocations: 185.1 kB / 439.6 MB, free: 8.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.5244, allocations: 283 kB / 439.8 MB, free: 8.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.5251, allocations: 226.7 kB / 440.1 MB, free: 7.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.5251, allocations: 3.953 kB / 440.1 MB, free: 7.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001353/0.5265, allocations: 0.5293 MB / 440.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5265, allocations: 8 kB / 440.6 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5265, allocations: 3.938 kB / 440.6 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.5266, allocations: 8 kB / 440.6 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.5279, allocations: 196.1 kB / 440.8 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5279, allocations: 4 kB / 440.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.5285, allocations: 75.62 kB / 440.9 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.5286, allocations: 20 kB / 440.9 MB, free: 7.082 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 () * 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.0001688/0.5288, allocations: 116.8 kB / 441 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.529, allocations: 71.11 kB / 441.1 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.5292, allocations: 73.17 kB / 441.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.229e-06/0.5293, allocations: 8 kB / 441.2 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.524e-06/0.5293, allocations: 3.984 kB / 441.2 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-06/0.5293, allocations: 0 / 441.2 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.5315, allocations: 1.085 MB / 442.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.747e-06/0.5316, allocations: 4 kB / 442.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/0.5324, allocations: 115.9 kB / 442.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-06/0.5325, allocations: 4 kB / 442.4 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.5325, allocations: 12 kB / 442.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.405e-06/0.5326, allocations: 0 / 442.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.963e-06/0.5326, allocations: 4 kB / 442.4 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.5343, allocations: 0.9731 MB / 443.4 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.5346, allocations: 192.3 kB / 443.6 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5348, allocations: 7.953 kB / 443.6 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/0.5355, allocations: 55.94 kB / 443.6 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.5357, allocations: 39.94 kB / 443.7 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.5358, allocations: 8 kB / 443.7 MB, free: 4.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005756/0.5363, allocations: 363.2 kB / 444 MB, free: 3.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.5364, allocations: 0 / 444 MB, free: 3.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008261/0.5372, allocations: 123.9 kB / 444.1 MB, free: 3.723 MB / 378.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 () * 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.0003795/0.5376, allocations: 155.4 kB / 444.3 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.5387, allocations: 440.4 kB / 444.7 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.5387, allocations: 4.125 kB / 444.7 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.5393, allocations: 217.6 kB / 444.9 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5403, allocations: 148.7 kB / 445.1 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5431, allocations: 1.187 MB / 446.3 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.5439, allocations: 0.9489 MB / 447.2 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.5443, allocations: 43.44 kB / 447.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of SimCode: time 1.828e-06/0.5443, allocations: 0 / 447.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of Templates: time 0.223/0.7673, allocations: 8.177 MB / 455.4 MB, free: 104.8 MB / 378.7 MB