Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.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.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.5151, allocations: 71.28 MB / 380.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5154, allocations: 77.2 kB / 380.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.5287, allocations: 3.332 MB / 383.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5288, allocations: 1.312 kB / 383.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.5288, allocations: 4.094 kB / 383.7 MB, free: 14.33 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007794/0.5296, allocations: 475.2 kB / 384.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5297, allocations: 9.031 kB / 384.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.5298, allocations: 23 kB / 384.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.5299, allocations: 198.2 kB / 384.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.53, allocations: 18.31 kB / 384.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.53, allocations: 21.12 kB / 384.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.5306, allocations: 233.3 kB / 384.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5306, allocations: 1.375 kB / 384.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.5307, allocations: 9.438 kB / 384.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.5307, allocations: 5.5 kB / 384.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.5311, allocations: 134.4 kB / 384.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.5326, allocations: 0.8675 MB / 385.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.533, allocations: 159.5 kB / 385.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.533, allocations: 2.156 kB / 385.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.5331, allocations: 41.05 kB / 385.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.186e-06/0.5331, allocations: 0 / 385.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.000542/0.5336, allocations: 169.6 kB / 386 MB, free: 12.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5337, allocations: 104.2 kB / 386.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.5339, allocations: 199.9 kB / 386.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.534, allocations: 26.98 kB / 386.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.5341, allocations: 223.9 kB / 386.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.5342, allocations: 61.69 kB / 386.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.5342, allocations: 5.188 kB / 386.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.5343, allocations: 322.2 kB / 386.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.5344, allocations: 46.72 kB / 387 MB, free: 12.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.5347, allocations: 158.3 kB / 387.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.5349, allocations: 75.86 kB / 387.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.5349, allocations: 1.562 kB / 387.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005325/0.5354, allocations: 243.4 kB / 387.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.5355, allocations: 6.875 kB / 387.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5355, allocations: 4.625 kB / 387.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.5355, allocations: 5.5 kB / 387.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.5359, allocations: 59.69 kB / 387.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.536, allocations: 8.844 kB / 387.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.5362, allocations: 41.19 kB / 387.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.5363, allocations: 12.56 kB / 387.6 MB, free: 11.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001797/0.5365, allocations: 143.3 kB / 387.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.5366, allocations: 21.39 kB / 387.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.5367, allocations: 25.52 kB / 387.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.5367, allocations: 2.75 kB / 387.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5367, allocations: 5.312 kB / 387.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5367, allocations: 192 / 387.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.5374, allocations: 423.5 kB / 388.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5374, allocations: 1.375 kB / 388.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.5378, allocations: 40.7 kB / 388.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.5378, allocations: 5.359 kB / 388.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.5379, allocations: 10.5 kB / 388.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.5379, allocations: 1.375 kB / 388.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5379, allocations: 2.75 kB / 388.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.5384, allocations: 371.1 kB / 388.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.5385, allocations: 102.3 kB / 388.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.5386, allocations: 6.562 kB / 388.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5388, allocations: 4.875 kB / 388.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.5388, allocations: 12.78 kB / 388.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.5389, allocations: 3.906 kB / 388.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.539, allocations: 139.8 kB / 388.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.539, allocations: 0 / 388.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005296/0.5396, allocations: 57.28 kB / 388.9 MB, free: 10.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0001505/0.5397, allocations: 101.4 kB / 389 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.5402, allocations: 140.7 kB / 389.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5402, allocations: 1.281 kB / 389.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.5403, allocations: 49.69 kB / 389.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.5408, allocations: 31.25 kB / 389.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.5424, allocations: 0.7494 MB / 390 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.5427, allocations: 0.7466 MB / 390.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.686e-05/0.5428, allocations: 19.09 kB / 390.8 MB, free: 9.516 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5428, allocations: 0 / 390.8 MB, free: 9.516 MB / 314.7 MB Notification: Performance of Templates: time 0.006283/0.5491, allocations: 2.206 MB / 393 MB, free: 9.348 MB / 314.7 MB