Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004894, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09315, allocations: 38.77 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.514, allocations: 66.06 MB / 338.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.5144, allocations: 73.33 kB / 338.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005207/0.5196, allocations: 1.237 MB / 340 MB, free: 6.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5197, allocations: 0 / 340 MB, free: 6.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.5197, allocations: 4 kB / 340 MB, free: 6.133 MB / 266.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.0006499/0.5203, allocations: 384.9 kB / 340.4 MB, free: 5.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5204, allocations: 8.031 kB / 340.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.5204, allocations: 11.89 kB / 340.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.5206, allocations: 167 kB / 340.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5206, allocations: 11.19 kB / 340.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.5207, allocations: 4 kB / 340.6 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.5211, allocations: 103.3 kB / 340.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5211, allocations: 0 / 340.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.5211, allocations: 0 / 340.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5211, allocations: 0 / 340.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.5217, allocations: 99.55 kB / 340.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.5222, allocations: 310.6 kB / 341.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.5226, allocations: 72.27 kB / 341.1 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.5227, allocations: 7.969 kB / 341.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5227, allocations: 38.5 kB / 341.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.5227, allocations: 0 / 341.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009641/0.5237, allocations: 173.2 kB / 341.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.5237, allocations: 51.41 kB / 341.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5239, allocations: 109.8 kB / 341.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.5239, allocations: 29.7 kB / 341.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.524, allocations: 87.86 kB / 341.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.524, allocations: 12.47 kB / 341.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.524, allocations: 3.938 kB / 341.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5242, allocations: 318.8 kB / 341.9 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.5245, allocations: 43.53 kB / 342 MB, free: 4.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.5247, allocations: 46.33 kB / 342 MB, free: 3.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.525, allocations: 45.78 kB / 342.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.525, allocations: 7.938 kB / 342.1 MB, free: 3.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005896/0.5256, allocations: 127.5 kB / 342.2 MB, free: 3.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5257, allocations: 8 kB / 342.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5257, allocations: 0 / 342.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5257, allocations: 0 / 342.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.5259, allocations: 23.98 kB / 342.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.526, allocations: 4.297 kB / 342.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.5261, allocations: 22.98 kB / 342.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.5261, allocations: 0 / 342.3 MB, free: 3.762 MB / 266.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 (4): * Single equations (assignments): 4 * 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.0001041/0.5263, allocations: 117.3 kB / 342.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.5263, allocations: 7.906 kB / 342.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.527, allocations: 146 kB / 342.5 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.527, allocations: 7.922 kB / 342.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.527, allocations: 4 kB / 342.5 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.527, allocations: 0 / 342.5 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.5273, allocations: 184.7 kB / 342.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5273, allocations: 0 / 342.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.5275, allocations: 23.98 kB / 342.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5275, allocations: 0 / 342.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5276, allocations: 3.438 kB / 342.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5276, allocations: 4 kB / 342.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5276, allocations: 0.875 kB / 342.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.5282, allocations: 233.1 kB / 343 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.5283, allocations: 84.69 kB / 343.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.5283, allocations: 3.938 kB / 343.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5286, allocations: 24.09 kB / 343.1 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.5286, allocations: 8 kB / 343.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.5286, allocations: 0 / 343.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.251e-05/0.5287, allocations: 95 kB / 343.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5287, allocations: 0 / 343.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.529, allocations: 23.78 kB / 343.2 MB, free: 2.762 MB / 266.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 (6): * Single equations (assignments): 6 * 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.0001675/0.5292, allocations: 107.2 kB / 343.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.5299, allocations: 102.5 kB / 343.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.5299, allocations: 0 / 343.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.5302, allocations: 61.34 kB / 343.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.5305, allocations: 7.984 kB / 343.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.5309, allocations: 168.4 kB / 343.7 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5313, allocations: 0.6887 MB / 344.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.844e-05/0.5313, allocations: 3.984 kB / 344.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.5314, allocations: 15.44 kB / 344.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5314, allocations: 0 / 344.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of Templates: time 0.003931/0.5353, allocations: 0.7101 MB / 345.1 MB, free: 0.8828 MB / 266.7 MB