Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.718/1.718, allocations: 171.1 MB / 187.3 MB, free: 1.051 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 8 kB / 233.8 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08749, allocations: 38.77 MB / 272.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4466, allocations: 66.45 MB / 339 MB, free: 7.531 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4468, allocations: 70.89 kB / 339.1 MB, free: 7.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01856/0.4654, allocations: 4.457 MB / 343.5 MB, free: 3.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4654, allocations: 6.406 kB / 343.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.4655, allocations: 4 kB / 343.5 MB, free: 3.762 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.001042/0.4665, allocations: 0.5206 MB / 344.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.4666, allocations: 8.031 kB / 344.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.4667, allocations: 27.72 kB / 344.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.4671, allocations: 233 kB / 344.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4671, allocations: 23.64 kB / 344.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.4672, allocations: 27.5 kB / 344.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.4678, allocations: 248.9 kB / 344.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.4678, allocations: 11.17 kB / 344.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.4679, allocations: 7 kB / 344.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.4679, allocations: 8 kB / 344.6 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.4684, allocations: 170.6 kB / 344.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.4699, allocations: 0.7585 MB / 345.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.4706, allocations: 275.6 kB / 345.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.4706, allocations: 0 / 345.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4707, allocations: 43.81 kB / 345.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/0.4707, allocations: 4 kB / 345.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004144/0.4748, allocations: 1.704 MB / 347.6 MB, free: 64 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.475, allocations: 85.09 kB / 347.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.4752, allocations: 180.7 kB / 347.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.4753, allocations: 36.77 kB / 347.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.4754, allocations: 193.8 kB / 348.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.4756, allocations: 182.5 kB / 348.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.4757, allocations: 11.06 kB / 348.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4759, allocations: 330.2 kB / 348.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.4762, allocations: 96.66 kB / 348.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.4765, allocations: 155.7 kB / 348.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.4769, allocations: 133.6 kB / 349 MB, free: 14.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4769, allocations: 0 / 349 MB, free: 14.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008519/0.4778, allocations: 350.5 kB / 349.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4778, allocations: 7.984 kB / 349.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4778, allocations: 0 / 349.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4779, allocations: 4 kB / 349.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.4786, allocations: 99.53 kB / 349.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.4787, allocations: 7.984 kB / 349.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.4789, allocations: 14.56 kB / 349.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.479, allocations: 11.62 kB / 349.4 MB, free: 14.46 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 () * Number of clocked 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.0002549/0.4792, allocations: 161.8 kB / 349.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4793, allocations: 27.67 kB / 349.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.4795, allocations: 36.12 kB / 349.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4795, allocations: 8 kB / 349.7 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4795, allocations: 3.984 kB / 349.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4795, allocations: 0 / 349.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.4816, allocations: 0.9539 MB / 350.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4816, allocations: 0 / 350.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/0.4825, allocations: 102.3 kB / 350.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.4825, allocations: 4 kB / 350.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.4826, allocations: 11.45 kB / 350.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.4826, allocations: 3.938 kB / 350.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.4826, allocations: 4 kB / 350.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4838, allocations: 0.6417 MB / 351.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.484, allocations: 96.83 kB / 351.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.4841, allocations: 7 kB / 351.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.4844, allocations: 15.2 kB / 351.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.4845, allocations: 34.95 kB / 351.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.4845, allocations: 15.25 kB / 351.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.4847, allocations: 135.7 kB / 351.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4847, allocations: 0 / 351.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.4852, allocations: 77.94 kB / 351.8 MB, free: 12.47 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 () * Number of clocked 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.0001818/0.4854, allocations: 111.1 kB / 351.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.4862, allocations: 290.6 kB / 352.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4862, allocations: 0 / 352.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.4866, allocations: 154.3 kB / 352.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.4873, allocations: 60.62 kB / 352.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.4899, allocations: 1.245 MB / 353.6 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.4905, allocations: 0.7806 MB / 354.4 MB, free: 9.949 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.4906, allocations: 31.44 kB / 354.4 MB, free: 9.918 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4907, allocations: 4 kB / 354.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of Templates: time 0.009319/0.5, allocations: 3.535 MB / 358 MB, free: 6.414 MB / 282.7 MB