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.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_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08783, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.4954, allocations: 65.97 MB / 338.6 MB, free: 7.434 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4957, allocations: 68.28 kB / 338.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.5078, allocations: 2.843 MB / 341.5 MB, free: 5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5079, allocations: 0 / 341.5 MB, free: 5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5079, allocations: 11.92 kB / 341.5 MB, free: 4.988 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.000708/0.5086, allocations: 436.8 kB / 341.9 MB, free: 4.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5087, allocations: 16.02 kB / 341.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.5088, allocations: 19.72 kB / 342 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.5091, allocations: 205.4 kB / 342.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.5091, allocations: 14.75 kB / 342.2 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.5092, allocations: 23.33 kB / 342.2 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.5096, allocations: 187.1 kB / 342.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5097, allocations: 0 / 342.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.5097, allocations: 10.31 kB / 342.4 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5097, allocations: 4 kB / 342.4 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.51, allocations: 100.4 kB / 342.5 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.5117, allocations: 0.7841 MB / 343.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.512, allocations: 118.1 kB / 343.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5121, allocations: 4.031 kB / 343.4 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5121, allocations: 35.36 kB / 343.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.5121, allocations: 0 / 343.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004516/0.5126, allocations: 132.5 kB / 343.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.5127, allocations: 114.8 kB / 343.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.513, allocations: 206.5 kB / 343.9 MB, free: 2.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.513, allocations: 25.7 kB / 343.9 MB, free: 2.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5131, allocations: 138.2 kB / 344 MB, free: 2.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.5132, allocations: 54.33 kB / 344.1 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.5132, allocations: 3.188 kB / 344.1 MB, free: 2.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5134, allocations: 336 kB / 344.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.5135, allocations: 36.95 kB / 344.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.5138, allocations: 130.7 kB / 344.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.5139, allocations: 57.94 kB / 344.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5139, allocations: 3.938 kB / 344.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005068/0.5145, allocations: 212.1 kB / 344.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5145, allocations: 8.625 kB / 344.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5145, allocations: 4 kB / 344.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.5146, allocations: 4 kB / 344.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.5149, allocations: 47.91 kB / 344.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.5149, allocations: 4 kB / 344.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5151, allocations: 27 kB / 345 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.5152, allocations: 15.5 kB / 345 MB, free: 1.617 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.0001745/0.5153, allocations: 136.6 kB / 345.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/0.5154, allocations: 19.72 kB / 345.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.5155, allocations: 23.67 kB / 345.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5155, allocations: 7.938 kB / 345.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5156, allocations: 0 / 345.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5156, allocations: 3.938 kB / 345.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.5162, allocations: 251.3 kB / 345.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5163, allocations: 3.984 kB / 345.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.5166, allocations: 27.98 kB / 345.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5166, allocations: 0 / 345.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.5167, allocations: 11.31 kB / 345.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5167, allocations: 0 / 345.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5167, allocations: 0 / 345.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.5172, allocations: 400.8 kB / 345.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.5173, allocations: 91.8 kB / 345.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.5174, allocations: 8 kB / 345.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.5176, allocations: 7.312 kB / 345.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.5177, allocations: 7.984 kB / 345.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.5177, allocations: 4 kB / 345.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.5179, allocations: 160.1 kB / 346.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5179, allocations: 0 / 346.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005295/0.5184, allocations: 42.81 kB / 346.1 MB, free: 472 kB / 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.0001598/0.5186, allocations: 107.3 kB / 346.3 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.519, allocations: 107.7 kB / 346.4 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.519, allocations: 0 / 346.4 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.5191, allocations: 39.17 kB / 346.4 MB, free: 236 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.5196, allocations: 42.89 kB / 346.4 MB, free: 204 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.5213, allocations: 0.7644 MB / 347.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.5218, allocations: 0.7362 MB / 347.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.5219, allocations: 13.55 kB / 347.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.522, allocations: 19.44 kB / 348 MB, free: 14.63 MB / 282.7 MB Notification: Performance of SimCode: time 1.633e-06/0.522, allocations: 0 / 348 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Templates: time 0.00598/0.528, allocations: 1.277 MB / 349.2 MB, free: 13.37 MB / 282.7 MB