Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 2.247/2.247, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 20 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 44.5 MB / 309 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.6218, allocations: 71.4 MB / 380.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.6221, allocations: 69.78 kB / 380.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005568/0.6277, allocations: 1.263 MB / 381.8 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6277, allocations: 0 / 381.8 MB, free: 15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.6277, allocations: 1.938 kB / 381.8 MB, free: 15 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006171/0.6284, allocations: 388.3 kB / 382.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6284, allocations: 9.438 kB / 382.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.6285, allocations: 5.75 kB / 382.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6286, allocations: 172.3 kB / 382.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.6286, allocations: 1.156 kB / 382.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.6287, allocations: 3.188 kB / 382.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.6291, allocations: 101.2 kB / 382.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6291, allocations: 0 / 382.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6292, allocations: 1.031 kB / 382.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.6292, allocations: 5.172 kB / 382.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.6298, allocations: 106.7 kB / 382.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.6303, allocations: 312.2 kB / 382.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.6308, allocations: 85.97 kB / 382.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.6308, allocations: 3.516 kB / 382.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.6309, allocations: 35.72 kB / 383 MB, free: 14.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.454e-06/0.6309, allocations: 0 / 383 MB, free: 14.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.001027/0.6319, allocations: 189.5 kB / 383.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.632, allocations: 51.41 kB / 383.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6321, allocations: 115.9 kB / 383.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.6321, allocations: 29.7 kB / 383.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.6322, allocations: 89.2 kB / 383.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.6322, allocations: 22.27 kB / 383.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.6323, allocations: 0 / 383.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.6323, allocations: 318.4 kB / 383.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.6326, allocations: 51.05 kB / 383.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.6329, allocations: 44.66 kB / 383.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.6333, allocations: 50.55 kB / 383.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6333, allocations: 0 / 383.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006804/0.634, allocations: 136.2 kB / 384 MB, free: 13.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.634, allocations: 4.5 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.634, allocations: 1.375 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.6341, allocations: 0 / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.6343, allocations: 23.5 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6344, allocations: 10.55 kB / 384.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.6346, allocations: 19.92 kB / 384.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.6346, allocations: 2.25 kB / 384.1 MB, free: 13.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001528/0.6347, allocations: 115.1 kB / 384.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.6348, allocations: 8.047 kB / 384.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007456/0.6356, allocations: 152.4 kB / 384.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6356, allocations: 5.406 kB / 384.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.6356, allocations: 1 kB / 384.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6356, allocations: 3.938 kB / 384.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.6359, allocations: 190.8 kB / 384.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.6359, allocations: 0 / 384.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.6361, allocations: 26.33 kB / 384.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.6362, allocations: 0 / 384.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.6362, allocations: 2.016 kB / 384.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6362, allocations: 5.062 kB / 384.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6362, allocations: 0.9375 kB / 384.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.6369, allocations: 240.9 kB / 384.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.637, allocations: 89.08 kB / 384.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.637, allocations: 1.469 kB / 384.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6372, allocations: 16.66 kB / 384.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.6373, allocations: 13.97 kB / 385 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.6373, allocations: 1.219 kB / 385 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.54e-05/0.6374, allocations: 87.27 kB / 385 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6374, allocations: 0 / 385 MB, free: 12.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.6377, allocations: 18.55 kB / 385.1 MB, free: 12.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0001616/0.6379, allocations: 104.3 kB / 385.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006418/0.6386, allocations: 115.9 kB / 385.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6386, allocations: 0 / 385.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.6389, allocations: 60.3 kB / 385.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.6392, allocations: 9.641 kB / 385.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.6396, allocations: 170.6 kB / 385.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.6398, allocations: 0.6964 MB / 386.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.6399, allocations: 3.984 kB / 386.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.6399, allocations: 11.72 kB / 386.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6399, allocations: 4 kB / 386.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of Templates: time 0.004212/0.6442, allocations: 0.7588 MB / 387 MB, free: 11.61 MB / 314.7 MB