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.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_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005591/0.0005594, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1023, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4514, allocations: 66.46 MB / 339.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4517, allocations: 67.53 kB / 339.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01951/0.4712, allocations: 4.458 MB / 343.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4713, allocations: 0 / 343.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.4713, allocations: 11.98 kB / 343.6 MB, free: 3.082 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.001034/0.4724, allocations: 0.5235 MB / 344.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4724, allocations: 8.031 kB / 344.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.4725, allocations: 27.72 kB / 344.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.4729, allocations: 236.3 kB / 344.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.4729, allocations: 24.33 kB / 344.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.473, allocations: 23.75 kB / 344.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.4736, allocations: 246.4 kB / 344.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.4737, allocations: 8 kB / 344.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.4737, allocations: 9.812 kB / 344.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4738, allocations: 8 kB / 344.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.4742, allocations: 175 kB / 344.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.4759, allocations: 0.7613 MB / 345.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.4765, allocations: 264 kB / 345.9 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.4766, allocations: 4 kB / 345.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4766, allocations: 41.86 kB / 345.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.517e-06/0.4766, allocations: 0 / 345.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004252/0.4809, allocations: 1.717 MB / 347.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.481, allocations: 85.09 kB / 347.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.4813, allocations: 177.3 kB / 347.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.4813, allocations: 40.2 kB / 348 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4815, allocations: 137 kB / 348.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.4817, allocations: 174.9 kB / 348.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.4817, allocations: 15.44 kB / 348.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4819, allocations: 337.5 kB / 348.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.4822, allocations: 99.84 kB / 348.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.4825, allocations: 152.9 kB / 348.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.4829, allocations: 127.4 kB / 349 MB, free: 14.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.4829, allocations: 0 / 349 MB, free: 14.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008879/0.4838, allocations: 360.2 kB / 349.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4839, allocations: 11.98 kB / 349.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4839, allocations: 0 / 349.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.4839, allocations: 4 kB / 349.3 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.4847, allocations: 98.09 kB / 349.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.4847, allocations: 11.92 kB / 349.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.4849, allocations: 10.62 kB / 349.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.485, allocations: 10.75 kB / 349.5 MB, free: 13.83 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.0002372/0.4852, allocations: 160 kB / 349.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4853, allocations: 31.58 kB / 349.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.4855, allocations: 34.94 kB / 349.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4855, allocations: 11.98 kB / 349.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4855, allocations: 0 / 349.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4855, allocations: 0 / 349.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.4875, allocations: 0.9534 MB / 350.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.4876, allocations: 0 / 350.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/0.4884, allocations: 99.7 kB / 350.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.4885, allocations: 4 kB / 350.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.4885, allocations: 18.45 kB / 350.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.4885, allocations: 0 / 350.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.4885, allocations: 4 kB / 350.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.4898, allocations: 0.6351 MB / 351.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4899, allocations: 100.7 kB / 351.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.49, allocations: 10.81 kB / 351.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.4903, allocations: 19.08 kB / 351.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.4904, allocations: 27.39 kB / 351.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.4904, allocations: 15.38 kB / 351.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4906, allocations: 133.1 kB / 351.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4906, allocations: 0 / 351.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005601/0.4912, allocations: 78.38 kB / 351.8 MB, free: 11.84 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.0001962/0.4914, allocations: 114 kB / 351.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.4921, allocations: 289.8 kB / 352.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4921, allocations: 0 / 352.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.4925, allocations: 158.9 kB / 352.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/0.4932, allocations: 55.41 kB / 352.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.4959, allocations: 1.214 MB / 353.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.4964, allocations: 0.7806 MB / 354.4 MB, free: 9.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.4967, allocations: 38.94 kB / 354.4 MB, free: 9.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4968, allocations: 27.44 kB / 354.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4968, allocations: 0 / 354.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of Templates: time 0.01027/0.5071, allocations: 2.75 MB / 357.2 MB, free: 6.562 MB / 282.7 MB