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.SignConvention.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.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.573/1.573, allocations: 171.3 MB / 179.2 MB, free: 7.586 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.74e-05, allocations: 4 kB / 222.5 MB, free: 8.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07002/0.07007, allocations: 38.76 MB / 261.3 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4183, allocations: 65.23 MB / 326.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4186, allocations: 62.28 kB / 326.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01133/0.4299, allocations: 2.831 MB / 329.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.43, allocations: 0 / 329.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.43, allocations: 4 kB / 329.4 MB, free: 4.352 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.0006225/0.4306, allocations: 417.1 kB / 329.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4307, allocations: 16.02 kB / 329.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.4307, allocations: 15.81 kB / 329.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.431, allocations: 216.9 kB / 330 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4311, allocations: 4 kB / 330.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.4311, allocations: 12 kB / 330.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002753/0.4314, allocations: 82.61 kB / 330.1 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.4318, allocations: 154.9 kB / 330.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.4318, allocations: 4.594 kB / 330.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.4318, allocations: 4 kB / 330.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.674e-06/0.4319, allocations: 4 kB / 330.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.4333, allocations: 0.7224 MB / 331 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4336, allocations: 105.7 kB / 331.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.4337, allocations: 41.64 kB / 331.2 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.4338, allocations: 0 / 331.2 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.4338, allocations: 50.09 kB / 331.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/0.4338, allocations: 3.938 kB / 331.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003306/0.4342, allocations: 90.52 kB / 331.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.4343, allocations: 102.8 kB / 331.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.4345, allocations: 152.5 kB / 331.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4345, allocations: 25.7 kB / 331.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.4347, allocations: 215.2 kB / 331.8 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.4347, allocations: 46.17 kB / 331.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-06/0.4347, allocations: 0 / 331.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4349, allocations: 317.3 kB / 332.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.435, allocations: 34.28 kB / 332.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4352, allocations: 120.7 kB / 332.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4354, allocations: 59.38 kB / 332.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.111e-06/0.4354, allocations: 0 / 332.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003822/0.4358, allocations: 180.7 kB / 332.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4358, allocations: 8 kB / 332.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4358, allocations: 4 kB / 332.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4359, allocations: 4 kB / 332.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.4361, allocations: 46.98 kB / 332.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.4362, allocations: 7.984 kB / 332.6 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.4363, allocations: 15.84 kB / 332.6 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.4363, allocations: 8 kB / 332.6 MB, free: 1.109 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 () * 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.0001102/0.4365, allocations: 116.4 kB / 332.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.4366, allocations: 15.92 kB / 332.8 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.4366, allocations: 14.59 kB / 332.8 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4367, allocations: 4 kB / 332.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-06/0.4367, allocations: 0 / 332.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4367, allocations: 3.984 kB / 332.8 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.4373, allocations: 206.6 kB / 333 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-06/0.4373, allocations: 4 kB / 333 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.4375, allocations: 31.92 kB / 333 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-06/0.4375, allocations: 0 / 333 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4376, allocations: 15.31 kB / 333 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.077e-06/0.4376, allocations: 4 kB / 333 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-06/0.4376, allocations: 0 / 333 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.438, allocations: 400.6 kB / 333.4 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.4381, allocations: 88.95 kB / 333.5 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.4382, allocations: 4 kB / 333.5 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.4384, allocations: 4 kB / 333.5 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.4385, allocations: 15.8 kB / 333.5 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4385, allocations: 4 kB / 333.5 MB, free: 172 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.4386, allocations: 109.6 kB / 333.7 MB, free: 72 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.4386, allocations: 3.938 kB / 333.7 MB, free: 68 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000519/0.4392, allocations: 39.84 kB / 333.7 MB, free: 28 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 () * 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.0001599/0.4393, allocations: 99.23 kB / 333.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.4396, allocations: 100.1 kB / 333.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.809e-06/0.4396, allocations: 0 / 333.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.4397, allocations: 31.06 kB / 333.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.4401, allocations: 23.92 kB / 333.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4413, allocations: 0.5905 MB / 334.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.4418, allocations: 0.7397 MB / 335.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.4418, allocations: 15.44 kB / 335.3 MB, free: 14.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.475e-06/0.4419, allocations: 0 / 335.3 MB, free: 14.42 MB / 282.7 MB Notification: Performance of Templates: time 0.004385/0.4462, allocations: 1.772 MB / 337.1 MB, free: 12.67 MB / 282.7 MB