Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.663/1.663, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.541e-05, allocations: 7.938 kB / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2119, allocations: 38.78 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09954/0.3115, allocations: 66.38 MB / 334 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.3118, allocations: 59.97 kB / 334 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.3304, allocations: 4.467 MB / 338.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.536e-06/0.3305, allocations: 0 / 338.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.3305, allocations: 11.98 kB / 338.5 MB, free: 2.398 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000811/0.3313, allocations: 0.4945 MB / 339 MB, free: 1.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3314, allocations: 8.031 kB / 339 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.3315, allocations: 31.62 kB / 339 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3318, allocations: 226.7 kB / 339.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3319, allocations: 20.56 kB / 339.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.3319, allocations: 31.86 kB / 339.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.3325, allocations: 254.5 kB / 339.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3325, allocations: 8 kB / 339.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.3326, allocations: 8 kB / 339.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3326, allocations: 8 kB / 339.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.333, allocations: 167.9 kB / 339.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3344, allocations: 0.7615 MB / 340.5 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.335, allocations: 258.2 kB / 340.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.3353, allocations: 114.3 kB / 340.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3353, allocations: 11.84 kB / 340.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3354, allocations: 46.5 kB / 340.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.532e-06/0.3354, allocations: 0 / 340.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003515/0.3389, allocations: 1.632 MB / 342.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.339, allocations: 81.11 kB / 342.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3392, allocations: 162.6 kB / 342.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3393, allocations: 33.7 kB / 342.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3394, allocations: 195.2 kB / 343 MB, free: 13.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.3396, allocations: 177.4 kB / 343.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.3397, allocations: 8 kB / 343.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3398, allocations: 326.8 kB / 343.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.3401, allocations: 97.12 kB / 343.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.3404, allocations: 149.5 kB / 343.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.3407, allocations: 126.3 kB / 343.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3407, allocations: 0 / 343.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007428/0.3415, allocations: 346.4 kB / 344.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3415, allocations: 6.188 kB / 344.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.417e-06/0.3416, allocations: 3.938 kB / 344.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3416, allocations: 4 kB / 344.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.3421, allocations: 99.89 kB / 344.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.3421, allocations: 4.062 kB / 344.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3423, allocations: 16 kB / 344.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3424, allocations: 12 kB / 344.4 MB, free: 12.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001486/0.3425, allocations: 128.9 kB / 344.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.3427, allocations: 35.56 kB / 344.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3428, allocations: 37.66 kB / 344.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3428, allocations: 8 kB / 344.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.791e-06/0.3428, allocations: 0 / 344.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3429, allocations: 3.984 kB / 344.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.3447, allocations: 0.9399 MB / 345.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.73e-06/0.3448, allocations: 4 kB / 345.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.3454, allocations: 95.89 kB / 345.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.521e-06/0.3454, allocations: 3.938 kB / 345.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3455, allocations: 8 kB / 345.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.3455, allocations: 7.953 kB / 345.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.483e-06/0.3455, allocations: 3.938 kB / 345.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.3466, allocations: 0.6655 MB / 346.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3467, allocations: 100.7 kB / 346.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.3468, allocations: 15.98 kB / 346.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.3471, allocations: 8 kB / 346.4 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.3472, allocations: 27.97 kB / 346.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3472, allocations: 19.94 kB / 346.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.3474, allocations: 131.4 kB / 346.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.3474, allocations: 0 / 346.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005303/0.3479, allocations: 79.98 kB / 346.7 MB, free: 9.664 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.0001719/0.3481, allocations: 111.2 kB / 346.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006399/0.3488, allocations: 283.2 kB / 347.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.578e-06/0.3488, allocations: 8.125 kB / 347.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.3491, allocations: 149 kB / 347.2 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.3497, allocations: 59.98 kB / 347.3 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3515, allocations: 0.9263 MB / 348.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.352, allocations: 0.7845 MB / 349 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3522, allocations: 31.42 kB / 349 MB, free: 7.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3522, allocations: 0 / 349 MB, free: 7.25 MB / 298.7 MB Notification: Performance of Templates: time 0.007222/0.3594, allocations: 3.538 MB / 352.5 MB, free: 3.711 MB / 298.7 MB