Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.76/1.76, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 12 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08065, allocations: 44.5 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.4516, allocations: 71.28 MB / 379.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4519, allocations: 71.61 kB / 379.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01041/0.4623, allocations: 2.841 MB / 382.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.04e-06/0.4624, allocations: 0 / 382.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.4624, allocations: 8.375 kB / 382.6 MB, free: 18.23 MB / 314.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.0004804/0.4629, allocations: 435.4 kB / 383.1 MB, free: 17.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4629, allocations: 10.98 kB / 383.1 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.463, allocations: 16.88 kB / 383.1 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.4632, allocations: 212.2 kB / 383.3 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4632, allocations: 18.59 kB / 383.3 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.4633, allocations: 15.38 kB / 383.3 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.4637, allocations: 174.9 kB / 383.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.4637, allocations: 3.172 kB / 383.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.4638, allocations: 9.656 kB / 383.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.85e-06/0.4638, allocations: 4.25 kB / 383.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.464, allocations: 98.41 kB / 383.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4653, allocations: 0.7809 MB / 384.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.4656, allocations: 115.1 kB / 384.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.4656, allocations: 2.156 kB / 384.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4657, allocations: 50.77 kB / 384.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.006e-06/0.4657, allocations: 2.844 kB / 384.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003988/0.4661, allocations: 131.9 kB / 384.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.4661, allocations: 109.2 kB / 384.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.4663, allocations: 193.7 kB / 385 MB, free: 16.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4664, allocations: 25.7 kB / 385 MB, free: 16.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.4664, allocations: 196.8 kB / 385.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.4665, allocations: 55.86 kB / 385.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.4665, allocations: 7.75 kB / 385.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.4666, allocations: 326.9 kB / 385.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.4667, allocations: 34.84 kB / 385.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.4668, allocations: 126.2 kB / 385.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.467, allocations: 59.59 kB / 385.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.572e-06/0.467, allocations: 5.281 kB / 385.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003846/0.4674, allocations: 192 kB / 386 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4674, allocations: 6.781 kB / 386 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4674, allocations: 6.812 kB / 386 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4675, allocations: 9.281 kB / 386 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.4677, allocations: 50.52 kB / 386.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4677, allocations: 8.125 kB / 386.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.4679, allocations: 35.23 kB / 386.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4679, allocations: 8.25 kB / 386.1 MB, free: 15.84 MB / 314.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.000112/0.468, allocations: 132.6 kB / 386.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.4682, allocations: 21 kB / 386.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.4682, allocations: 18.03 kB / 386.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.101e-06/0.4683, allocations: 2.75 kB / 386.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.67e-06/0.4683, allocations: 1.375 kB / 386.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.233e-06/0.4683, allocations: 5.953 kB / 386.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.4689, allocations: 249.4 kB / 386.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-06/0.4689, allocations: 0 / 386.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.4691, allocations: 32.17 kB / 386.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.243e-06/0.4691, allocations: 6.688 kB / 386.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.4692, allocations: 3.906 kB / 386.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.735e-06/0.4692, allocations: 1.375 kB / 386.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.061e-06/0.4692, allocations: 1.375 kB / 386.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.4696, allocations: 417.5 kB / 387 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.4696, allocations: 94.36 kB / 387.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.4697, allocations: 8.453 kB / 387.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.4699, allocations: 5.328 kB / 387.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.47, allocations: 12.09 kB / 387.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.47, allocations: 4.125 kB / 387.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.4701, allocations: 157 kB / 387.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.44e-07/0.4702, allocations: 5.312 kB / 387.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005428/0.4707, allocations: 40.38 kB / 387.3 MB, free: 14.97 MB / 314.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.000118/0.4708, allocations: 104.7 kB / 387.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.4711, allocations: 108.2 kB / 387.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.062e-06/0.4711, allocations: 0 / 387.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.4712, allocations: 46.05 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.4717, allocations: 21.12 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4729, allocations: 0.7881 MB / 388.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.4731, allocations: 0.737 MB / 389.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.4732, allocations: 18.53 kB / 389.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of SimCode: time 1.437e-06/0.4732, allocations: 0 / 389.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of Templates: time 0.004051/0.4772, allocations: 1.959 MB / 391.1 MB, free: 13.42 MB / 314.7 MB