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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.55/1.55, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.571e-05, allocations: 4 kB / 222.5 MB, free: 8.801 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07442/0.07447, allocations: 38.76 MB / 261.3 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2987/0.3732, allocations: 65.72 MB / 327 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3735, allocations: 69.27 kB / 327.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.3909, allocations: 4.422 MB / 331.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3909, allocations: 0 / 331.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.391, allocations: 4 kB / 331.5 MB, free: 2.797 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001214/0.3922, allocations: 0.5004 MB / 332 MB, free: 2.266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3923, allocations: 8.031 kB / 332 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.3924, allocations: 31.62 kB / 332 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.3929, allocations: 232.5 kB / 332.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3929, allocations: 8 kB / 332.3 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.393, allocations: 19.95 kB / 332.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003902/0.3934, allocations: 157.9 kB / 332.4 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.3939, allocations: 206.6 kB / 332.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.3939, allocations: 7.344 kB / 332.6 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.394, allocations: 4 kB / 332.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.394, allocations: 8 kB / 332.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3952, allocations: 0.6918 MB / 333.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.3957, allocations: 254.2 kB / 333.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.396, allocations: 110.8 kB / 333.7 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.396, allocations: 4 kB / 333.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.396, allocations: 37.56 kB / 333.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.124e-06/0.3961, allocations: 0 / 333.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002944/0.399, allocations: 1.487 MB / 335.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.3991, allocations: 89.05 kB / 335.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3993, allocations: 142.7 kB / 335.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.3993, allocations: 25.7 kB / 335.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3995, allocations: 208.9 kB / 335.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.3997, allocations: 161.2 kB / 335.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.3997, allocations: 0 / 335.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3999, allocations: 333.1 kB / 336.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.4004, allocations: 89.94 kB / 336.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.401, allocations: 132.8 kB / 336.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.4016, allocations: 108.7 kB / 336.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.4017, allocations: 4 kB / 336.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001464/0.4032, allocations: 308 kB / 336.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.4032, allocations: 7.953 kB / 336.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4033, allocations: 0 / 336.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/0.4033, allocations: 8.062 kB / 336.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.4044, allocations: 103.2 kB / 336.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4045, allocations: 4 kB / 336.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.4048, allocations: 0 / 336.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.4049, allocations: 19.61 kB / 336.9 MB, free: 13.74 MB / 282.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.0002227/0.4051, allocations: 110.3 kB / 337 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4054, allocations: 31.66 kB / 337.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.4055, allocations: 40.47 kB / 337.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4056, allocations: 4 kB / 337.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4056, allocations: 4 kB / 337.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4056, allocations: 4 kB / 337.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.4088, allocations: 0.8525 MB / 338 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.044e-06/0.4088, allocations: 7.875 kB / 338 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.41, allocations: 99.45 kB / 338.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.41, allocations: 0 / 338.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.4101, allocations: 4 kB / 338.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.4101, allocations: 4 kB / 338.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.648e-06/0.4102, allocations: 0 / 338.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.412, allocations: 0.635 MB / 338.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.4122, allocations: 100.8 kB / 338.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.4123, allocations: 7.938 kB / 338.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.4129, allocations: 4 kB / 338.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.413, allocations: 27.52 kB / 338.9 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.4131, allocations: 11.62 kB / 338.9 MB, free: 12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.4133, allocations: 125.9 kB / 339 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.164e-06/0.4133, allocations: 0 / 339 MB, free: 11.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001133/0.4145, allocations: 60 kB / 339.1 MB, free: 11.83 MB / 282.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.0002679/0.4148, allocations: 111.2 kB / 339.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.4159, allocations: 256.6 kB / 339.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.115e-06/0.4159, allocations: 0 / 339.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.4164, allocations: 147 kB / 339.6 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4175, allocations: 42.86 kB / 339.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.4209, allocations: 0.8955 MB / 340.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.4217, allocations: 0.7842 MB / 341.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.4219, allocations: 27.44 kB / 341.3 MB, free: 9.668 MB / 282.7 MB Notification: Performance of SimCode: time 6.358e-06/0.422, allocations: 0 / 341.3 MB, free: 9.668 MB / 282.7 MB Notification: Performance of Templates: time 0.01336/0.4353, allocations: 3.488 MB / 344.8 MB, free: 6.219 MB / 282.7 MB