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.SignConvention.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.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.1 MB / 187.3 MB, free: 1.148 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 8 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09088, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4567, allocations: 65.96 MB / 338.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.4571, allocations: 81.28 kB / 338.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.4694, allocations: 2.845 MB / 341.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4695, allocations: 0 / 341.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.4695, allocations: 4 kB / 341.4 MB, free: 5.508 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006923/0.4702, allocations: 437.9 kB / 341.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4703, allocations: 8.031 kB / 341.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.4703, allocations: 23.72 kB / 341.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.4706, allocations: 199.7 kB / 342.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.4706, allocations: 14.94 kB / 342.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.4707, allocations: 26.72 kB / 342.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.4712, allocations: 187.6 kB / 342.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4712, allocations: 0 / 342.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.4712, allocations: 10.56 kB / 342.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4712, allocations: 6.406 kB / 342.3 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.4715, allocations: 100.4 kB / 342.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.4731, allocations: 0.7843 MB / 343.2 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.4734, allocations: 118.6 kB / 343.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.4734, allocations: 0 / 343.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4735, allocations: 37.62 kB / 343.4 MB, free: 3.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.4735, allocations: 0 / 343.4 MB, free: 3.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004323/0.4739, allocations: 139.2 kB / 343.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.474, allocations: 114.8 kB / 343.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.4743, allocations: 207.7 kB / 343.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.4743, allocations: 28.83 kB / 343.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4744, allocations: 193.8 kB / 344 MB, free: 2.941 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4745, allocations: 57.14 kB / 344.1 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.4745, allocations: 0 / 344.1 MB, free: 2.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4747, allocations: 329.7 kB / 344.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4748, allocations: 34.77 kB / 344.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.475, allocations: 129.6 kB / 344.6 MB, free: 2.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.4752, allocations: 56.62 kB / 344.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4752, allocations: 0 / 344.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004467/0.4757, allocations: 201.3 kB / 344.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.4757, allocations: 4.625 kB / 344.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4757, allocations: 7.938 kB / 344.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4758, allocations: 7.938 kB / 344.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.4761, allocations: 55.34 kB / 344.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4761, allocations: 4 kB / 344.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.4763, allocations: 27.62 kB / 344.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.4763, allocations: 8 kB / 344.9 MB, free: 2.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0001553/0.4765, allocations: 140.3 kB / 345.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.4766, allocations: 19.81 kB / 345.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.4767, allocations: 19.36 kB / 345.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4767, allocations: 0 / 345.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4767, allocations: 4 kB / 345.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4767, allocations: 0 / 345.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.4773, allocations: 252.5 kB / 345.4 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4774, allocations: 0 / 345.4 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.4777, allocations: 35.36 kB / 345.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4777, allocations: 4 kB / 345.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4777, allocations: 7.984 kB / 345.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4778, allocations: 4 kB / 345.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4778, allocations: 0 / 345.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.4782, allocations: 387 kB / 345.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.4783, allocations: 100.8 kB / 345.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.4784, allocations: 3.688 kB / 345.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.4786, allocations: 8 kB / 345.9 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.4787, allocations: 11.92 kB / 345.9 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4787, allocations: 240 / 345.9 MB, free: 1.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.4789, allocations: 160.2 kB / 346.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4789, allocations: 0 / 346.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.4794, allocations: 40.12 kB / 346.1 MB, free: 0.9414 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (13): * Single equations (assignments): 13 * 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.0001589/0.4796, allocations: 107.2 kB / 346.2 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.4799, allocations: 115.1 kB / 346.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4799, allocations: 0 / 346.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.48, allocations: 41.8 kB / 346.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.4806, allocations: 29.98 kB / 346.4 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.4822, allocations: 0.7907 MB / 347.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.4825, allocations: 0.7284 MB / 347.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.4826, allocations: 23.44 kB / 347.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4826, allocations: 0 / 347.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of Templates: time 0.005254/0.4879, allocations: 1.963 MB / 349.9 MB, free: 13.16 MB / 282.7 MB