Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.883/1.883, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.09959, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5238, allocations: 71.27 MB / 380.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5241, allocations: 68.94 kB / 380.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01172/0.5359, allocations: 2.847 MB / 383.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5359, allocations: 1.562 kB / 383.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.536, allocations: 6.344 kB / 383.2 MB, free: 14.38 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.0006764/0.5366, allocations: 440.3 kB / 383.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5367, allocations: 9.109 kB / 383.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.5368, allocations: 18.03 kB / 383.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.537, allocations: 220.2 kB / 383.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5371, allocations: 10.41 kB / 383.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.5371, allocations: 19.95 kB / 383.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.5376, allocations: 171.8 kB / 384 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5376, allocations: 7.438 kB / 384 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.5376, allocations: 5.875 kB / 384 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5376, allocations: 5.344 kB / 384 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.5379, allocations: 97.11 kB / 384.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.5395, allocations: 0.7812 MB / 384.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.5398, allocations: 116 kB / 385 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.5398, allocations: 5.062 kB / 385 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.5398, allocations: 42.88 kB / 385.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.5399, allocations: 2.844 kB / 385.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004781/0.5403, allocations: 130.5 kB / 385.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5404, allocations: 111.5 kB / 385.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.5407, allocations: 213.2 kB / 385.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5407, allocations: 30.17 kB / 385.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.5408, allocations: 194.9 kB / 385.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.5409, allocations: 55.56 kB / 385.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.5409, allocations: 8.812 kB / 385.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.541, allocations: 320.2 kB / 386.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5411, allocations: 35.16 kB / 386.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.5413, allocations: 137.3 kB / 386.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.5414, allocations: 53.33 kB / 386.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5414, allocations: 5.5 kB / 386.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004481/0.5419, allocations: 194.8 kB / 386.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5419, allocations: 5.562 kB / 386.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.542, allocations: 3.406 kB / 386.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.542, allocations: 5.469 kB / 386.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.5423, allocations: 50.17 kB / 386.6 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.5423, allocations: 14.11 kB / 386.6 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.5426, allocations: 35.08 kB / 386.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.5426, allocations: 8.406 kB / 386.7 MB, free: 11.97 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.0001428/0.5428, allocations: 132 kB / 386.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.5429, allocations: 17.62 kB / 386.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.5429, allocations: 23.36 kB / 386.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5429, allocations: 2.328 kB / 386.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.543, allocations: 0 / 386.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.543, allocations: 11 kB / 386.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.5436, allocations: 247.7 kB / 387.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5436, allocations: 0 / 387.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.544, allocations: 29.94 kB / 387.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.544, allocations: 1.406 kB / 387.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.544, allocations: 11.11 kB / 387.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-05/0.544, allocations: 0.9688 kB / 387.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5441, allocations: 5.328 kB / 387.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.5445, allocations: 397.8 kB / 387.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.5446, allocations: 94.81 kB / 387.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.5447, allocations: 2.594 kB / 387.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.5449, allocations: 5.156 kB / 387.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.545, allocations: 6.703 kB / 387.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.545, allocations: 3.75 kB / 387.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.5452, allocations: 155.4 kB / 387.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5452, allocations: 5.375 kB / 387.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.5457, allocations: 43.56 kB / 387.8 MB, free: 11.14 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.0001455/0.5459, allocations: 106.7 kB / 387.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.5462, allocations: 106.9 kB / 388 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5462, allocations: 4.625 kB / 388 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.5463, allocations: 38.33 kB / 388.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.5468, allocations: 25.33 kB / 388.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.5483, allocations: 0.7944 MB / 388.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.5486, allocations: 0.7329 MB / 389.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.5487, allocations: 17.66 kB / 389.6 MB, free: 9.73 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5487, allocations: 0 / 389.6 MB, free: 9.73 MB / 314.7 MB Notification: Performance of Templates: time 0.005418/0.5541, allocations: 1.955 MB / 391.6 MB, free: 9.586 MB / 314.7 MB