Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003603, allocations: 15.92 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 44.51 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6, allocations: 71.3 MB / 380.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.6003, allocations: 68.83 kB / 380.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.6138, allocations: 3.336 MB / 383.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6138, allocations: 1.031 kB / 383.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6138, allocations: 8.344 kB / 383.8 MB, free: 14.89 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.0007622/0.6146, allocations: 466.4 kB / 384.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6147, allocations: 12.94 kB / 384.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.6148, allocations: 26.88 kB / 384.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.615, allocations: 197.3 kB / 384.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.615, allocations: 21.11 kB / 384.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.6151, allocations: 21.59 kB / 384.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.6156, allocations: 222 kB / 384.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.6156, allocations: 1.25 kB / 384.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.6157, allocations: 11.47 kB / 384.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6157, allocations: 9.906 kB / 384.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.6161, allocations: 133.5 kB / 384.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.6176, allocations: 0.8715 MB / 385.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.618, allocations: 157.9 kB / 385.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.618, allocations: 2.75 kB / 385.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.618, allocations: 35.88 kB / 385.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.236e-06/0.6181, allocations: 8.219 kB / 385.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005237/0.6186, allocations: 161.8 kB / 386.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.6187, allocations: 111.8 kB / 386.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.619, allocations: 188.3 kB / 386.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.619, allocations: 29.02 kB / 386.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.6191, allocations: 154.7 kB / 386.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.6192, allocations: 69.28 kB / 386.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.6192, allocations: 7.906 kB / 386.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.6193, allocations: 333.8 kB / 387 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.6194, allocations: 45.5 kB / 387 MB, free: 12.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.6196, allocations: 159.2 kB / 387.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.6198, allocations: 70.78 kB / 387.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6198, allocations: 1.5 kB / 387.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000593/0.6204, allocations: 247 kB / 387.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6205, allocations: 6.375 kB / 387.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6205, allocations: 7.469 kB / 387.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.6205, allocations: 6.406 kB / 387.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.621, allocations: 61.09 kB / 387.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.621, allocations: 11.78 kB / 387.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.6213, allocations: 29.81 kB / 387.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.6213, allocations: 8.906 kB / 387.6 MB, free: 12.45 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.0001719/0.6215, allocations: 142.2 kB / 387.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.6216, allocations: 21.27 kB / 387.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.6217, allocations: 33.48 kB / 387.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6217, allocations: 2.312 kB / 387.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6217, allocations: 5.156 kB / 387.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.6217, allocations: 8.125 kB / 387.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.6224, allocations: 412.3 kB / 388.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6225, allocations: 4.078 kB / 388.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.6229, allocations: 48.75 kB / 388.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.6229, allocations: 2.5 kB / 388.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.6229, allocations: 2.469 kB / 388.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6229, allocations: 5.109 kB / 388.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6229, allocations: 1.094 kB / 388.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.6235, allocations: 379.6 kB / 388.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.6235, allocations: 94.17 kB / 388.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.6236, allocations: 6.5 kB / 388.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6238, allocations: 1.5 kB / 388.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.6239, allocations: 13.72 kB / 388.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.6239, allocations: 4.094 kB / 388.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.6241, allocations: 143.8 kB / 388.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6241, allocations: 0 / 388.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.6246, allocations: 57.62 kB / 389 MB, free: 11.51 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.0001467/0.6248, allocations: 107.4 kB / 389.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.6252, allocations: 137.1 kB / 389.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6252, allocations: 0.875 kB / 389.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.6253, allocations: 61.19 kB / 389.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.6258, allocations: 28.67 kB / 389.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.6273, allocations: 0.714 MB / 390 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.6276, allocations: 0.7456 MB / 390.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000178/0.6278, allocations: 19.42 kB / 390.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.6278, allocations: 18.09 kB / 390.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6278, allocations: 0 / 390.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of Templates: time 0.006138/0.634, allocations: 1.382 MB / 392.2 MB, free: 10.06 MB / 314.7 MB