Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.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.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.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.000661, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08702, allocations: 38.77 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3806/0.4677, allocations: 65.99 MB / 338.6 MB, free: 7.41 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.468, allocations: 72.77 kB / 338.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01345/0.4815, allocations: 3.343 MB / 342 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4815, allocations: 8 kB / 342 MB, free: 4.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.4816, allocations: 4 kB / 342 MB, free: 4.527 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008661/0.4825, allocations: 471.9 kB / 342.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4825, allocations: 8.031 kB / 342.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.4826, allocations: 27.72 kB / 342.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.4828, allocations: 189.1 kB / 342.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.4828, allocations: 18.38 kB / 342.7 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.4829, allocations: 31.06 kB / 342.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.4835, allocations: 234.8 kB / 343 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.4835, allocations: 0 / 343 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.4836, allocations: 6.812 kB / 343 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4836, allocations: 8 kB / 343 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.484, allocations: 124.8 kB / 343.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4857, allocations: 0.8777 MB / 344 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.4861, allocations: 159.2 kB / 344.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.4861, allocations: 0 / 344.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.4862, allocations: 38.06 kB / 344.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.395e-06/0.4862, allocations: 0 / 344.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005552/0.4867, allocations: 167.6 kB / 344.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.4868, allocations: 110.8 kB / 344.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.4871, allocations: 195 kB / 344.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4871, allocations: 29.52 kB / 344.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4873, allocations: 165.5 kB / 344.8 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.4874, allocations: 59.3 kB / 344.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.4874, allocations: 3.375 kB / 344.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4876, allocations: 329.9 kB / 345.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4877, allocations: 45.73 kB / 345.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.488, allocations: 156.7 kB / 345.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.4882, allocations: 73.56 kB / 345.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4882, allocations: 4 kB / 345.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005952/0.4888, allocations: 241.8 kB / 345.7 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4889, allocations: 8 kB / 345.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4889, allocations: 4 kB / 345.8 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.4889, allocations: 4.438 kB / 345.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.4894, allocations: 67.81 kB / 345.8 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.4894, allocations: 11.98 kB / 345.8 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.4896, allocations: 31.06 kB / 345.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.4897, allocations: 8 kB / 345.9 MB, free: 0.8633 MB / 266.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.0001915/0.4899, allocations: 140.4 kB / 346 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.49, allocations: 23.66 kB / 346 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.4901, allocations: 28.08 kB / 346.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4901, allocations: 0 / 346.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4901, allocations: 7.953 kB / 346.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4901, allocations: 4 kB / 346.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008083/0.4909, allocations: 419.4 kB / 346.5 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.491, allocations: 0 / 346.5 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.4913, allocations: 35.98 kB / 346.5 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.4914, allocations: 3.953 kB / 346.5 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.4914, allocations: 7.688 kB / 346.5 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.4914, allocations: 8.094 kB / 346.5 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4914, allocations: 3.938 kB / 346.5 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.4921, allocations: 367.9 kB / 346.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4922, allocations: 100.9 kB / 347 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.4922, allocations: 11.14 kB / 347 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4925, allocations: 7.125 kB / 347 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.4925, allocations: 16.2 kB / 347 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.4925, allocations: 7.812 kB / 347 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.4927, allocations: 141.6 kB / 347.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4927, allocations: 0 / 347.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005557/0.4933, allocations: 58.72 kB / 347.2 MB, free: 15.53 MB / 282.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.0001656/0.4935, allocations: 107.2 kB / 347.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.4939, allocations: 141 kB / 347.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4939, allocations: 3.938 kB / 347.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.494, allocations: 55.36 kB / 347.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4945, allocations: 33.92 kB / 347.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4961, allocations: 0.7113 MB / 348.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.4966, allocations: 0.7362 MB / 349 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.4967, allocations: 21.95 kB / 349 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.4968, allocations: 15.44 kB / 349.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4968, allocations: 4 kB / 349.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of Templates: time 0.006304/0.5031, allocations: 1.395 MB / 350.4 MB, free: 12.34 MB / 282.7 MB