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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.679/1.679, allocations: 171.2 MB / 184.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.509e-05, allocations: 4 kB / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 38.77 MB / 267.6 MB, free: 9.461 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.308, allocations: 65.89 MB / 333.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.3083, allocations: 63.97 kB / 333.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0114/0.3197, allocations: 2.842 MB / 336.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.901e-06/0.3198, allocations: 0 / 336.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3198, allocations: 4 kB / 336.4 MB, free: 4.551 MB / 282.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.0005905/0.3204, allocations: 426.1 kB / 336.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3205, allocations: 8.031 kB / 336.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.3205, allocations: 23.75 kB / 336.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3208, allocations: 206.9 kB / 337 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3208, allocations: 16 kB / 337.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.3209, allocations: 16 kB / 337.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.3213, allocations: 188 kB / 337.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3213, allocations: 3.906 kB / 337.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.3214, allocations: 12 kB / 337.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.3214, allocations: 4 kB / 337.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.3216, allocations: 99.92 kB / 337.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.3232, allocations: 0.7758 MB / 338.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3235, allocations: 119.8 kB / 338.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.3236, allocations: 46.64 kB / 338.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3236, allocations: 4 kB / 338.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3237, allocations: 34.56 kB / 338.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.16e-06/0.3237, allocations: 0 / 338.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003516/0.324, allocations: 117.5 kB / 338.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.3241, allocations: 106.8 kB / 338.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.3244, allocations: 189.9 kB / 338.7 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.3244, allocations: 29.7 kB / 338.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3246, allocations: 198.4 kB / 339 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.3246, allocations: 55.2 kB / 339 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-06/0.3247, allocations: 3.938 kB / 339 MB, free: 1.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3248, allocations: 326.8 kB / 339.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.325, allocations: 44.41 kB / 339.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.3251, allocations: 121 kB / 339.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.3253, allocations: 59.92 kB / 339.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-06/0.3253, allocations: 0 / 339.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004242/0.3257, allocations: 193.3 kB / 339.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3258, allocations: 8 kB / 339.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.193e-06/0.3258, allocations: 0 / 339.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3258, allocations: 8 kB / 339.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.3261, allocations: 47.91 kB / 339.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.3261, allocations: 7.938 kB / 339.8 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3263, allocations: 28.16 kB / 339.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3263, allocations: 16 kB / 339.9 MB, free: 0.7383 MB / 282.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.0001063/0.3264, allocations: 124.8 kB / 340 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3266, allocations: 15.81 kB / 340 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.3266, allocations: 28.98 kB / 340 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3266, allocations: 0 / 340 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.048e-06/0.3267, allocations: 4 kB / 340 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.756e-06/0.3267, allocations: 240 / 340 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.3273, allocations: 245.4 kB / 340.3 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-06/0.3273, allocations: 0 / 340.3 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.3276, allocations: 39.97 kB / 340.3 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-06/0.3276, allocations: 4 kB / 340.3 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3276, allocations: 0 / 340.3 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.3276, allocations: 11.92 kB / 340.3 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.499e-06/0.3277, allocations: 0 / 340.3 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.3282, allocations: 412 kB / 340.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.3283, allocations: 92.86 kB / 340.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.3283, allocations: 8.062 kB / 340.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3285, allocations: 0 / 340.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.3286, allocations: 7.984 kB / 340.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3286, allocations: 11.94 kB / 340.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3288, allocations: 160.1 kB / 341 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.3288, allocations: 0 / 341 MB, free: 15.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005231/0.3293, allocations: 43.91 kB / 341.1 MB, free: 15.45 MB / 298.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.0001441/0.3295, allocations: 103.4 kB / 341.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3298, allocations: 111.8 kB / 341.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3298, allocations: 0 / 341.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.3299, allocations: 35.94 kB / 341.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3304, allocations: 32.47 kB / 341.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3315, allocations: 0.5927 MB / 341.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.332, allocations: 0.7324 MB / 342.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.128e-05/0.3321, allocations: 23.38 kB / 342.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3321, allocations: 0 / 342.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of Templates: time 0.004491/0.3366, allocations: 1.954 MB / 344.6 MB, free: 11.79 MB / 298.7 MB