Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 0.9636/0.9636, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.619e-05/1.629e-05, allocations: 0 / 148.1 MB, free: 6.238 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04473/0.04477, allocations: 25.18 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.2149, allocations: 32.85 MB / 206.1 MB, free: 6.684 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.2152, allocations: 63.12 kB / 206.2 MB, free: 6.684 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00982/0.225, allocations: 2.802 MB / 209 MB, free: 6.18 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.2251, allocations: 0 / 209 MB, free: 6.18 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.2251, allocations: 4.219 kB / 209 MB, free: 6.18 MB / 170.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.0004383/0.2255, allocations: 421.8 kB / 209.4 MB, free: 5.797 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2256, allocations: 9.219 kB / 209.4 MB, free: 5.797 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.2257, allocations: 23.23 kB / 209.5 MB, free: 5.785 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.2259, allocations: 208.1 kB / 209.7 MB, free: 5.574 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2259, allocations: 5.531 kB / 209.7 MB, free: 5.574 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.2259, allocations: 16.83 kB / 209.7 MB, free: 5.57 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002288/0.2262, allocations: 92.28 kB / 209.8 MB, free: 5.562 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.2265, allocations: 145.2 kB / 209.9 MB, free: 5.504 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.2265, allocations: 5.688 kB / 209.9 MB, free: 5.5 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.2265, allocations: 1.469 kB / 209.9 MB, free: 5.5 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.78e-06/0.2266, allocations: 8.672 kB / 209.9 MB, free: 5.496 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2277, allocations: 0.715 MB / 210.6 MB, free: 4.996 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.2279, allocations: 113.5 kB / 210.8 MB, free: 4.914 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.228, allocations: 39.89 kB / 210.8 MB, free: 4.891 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2281, allocations: 6.734 kB / 210.8 MB, free: 4.887 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.2281, allocations: 36.72 kB / 210.8 MB, free: 4.848 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 2.431e-06/0.2281, allocations: 4 kB / 210.8 MB, free: 4.844 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002926/0.2284, allocations: 95.11 kB / 210.9 MB, free: 4.805 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2284, allocations: 104.9 kB / 211 MB, free: 4.68 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2286, allocations: 138.2 kB / 211.2 MB, free: 4.586 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2286, allocations: 30.58 kB / 211.2 MB, free: 4.551 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.2287, allocations: 212.3 kB / 211.4 MB, free: 4.367 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.2287, allocations: 49.66 kB / 211.5 MB, free: 4.336 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-06/0.2287, allocations: 2.844 kB / 211.5 MB, free: 4.336 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.2288, allocations: 324.1 kB / 211.8 MB, free: 4.02 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.2289, allocations: 33.66 kB / 211.8 MB, free: 4.016 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.229, allocations: 116.6 kB / 211.9 MB, free: 3.906 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.2291, allocations: 55.56 kB / 212 MB, free: 3.895 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.886e-06/0.2292, allocations: 1.375 kB / 212 MB, free: 3.895 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003372/0.2295, allocations: 168.9 kB / 212.1 MB, free: 3.844 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2295, allocations: 10.88 kB / 212.1 MB, free: 3.84 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.2296, allocations: 7.391 kB / 212.2 MB, free: 3.836 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.2296, allocations: 4.562 kB / 212.2 MB, free: 3.836 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2298, allocations: 51.09 kB / 212.2 MB, free: 3.832 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.792e-06/0.2298, allocations: 4.219 kB / 212.2 MB, free: 3.832 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.23, allocations: 17.97 kB / 212.2 MB, free: 3.82 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.23, allocations: 10.41 kB / 212.2 MB, free: 3.82 MB / 170.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 6.519e-05/0.2301, allocations: 111.7 kB / 212.4 MB, free: 3.707 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.2302, allocations: 14.88 kB / 212.4 MB, free: 3.699 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.2302, allocations: 15.55 kB / 212.4 MB, free: 3.695 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-06/0.2302, allocations: 6.422 kB / 212.4 MB, free: 3.691 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-06/0.2303, allocations: 1.125 kB / 212.4 MB, free: 3.691 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.928e-06/0.2303, allocations: 3.234 kB / 212.4 MB, free: 3.691 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.2307, allocations: 210.1 kB / 212.6 MB, free: 3.531 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-06/0.2308, allocations: 1.125 kB / 212.6 MB, free: 3.531 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.231, allocations: 40.34 kB / 212.6 MB, free: 3.523 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.77e-06/0.231, allocations: 2.312 kB / 212.6 MB, free: 3.523 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.231, allocations: 1.25 kB / 212.6 MB, free: 3.523 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.59e-06/0.231, allocations: 2.828 kB / 212.6 MB, free: 3.523 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2311, allocations: 5.156 kB / 212.6 MB, free: 3.52 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.2314, allocations: 403.4 kB / 213 MB, free: 3.191 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.2314, allocations: 97.47 kB / 213.1 MB, free: 3.082 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.2315, allocations: 1.094 kB / 213.1 MB, free: 3.082 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.2317, allocations: 3.422 kB / 213.1 MB, free: 3.082 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.2317, allocations: 13.56 kB / 213.2 MB, free: 3.074 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2318, allocations: 6.688 kB / 213.2 MB, free: 3.074 MB / 170.7 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.2318, allocations: 117.5 kB / 213.3 MB, free: 2.992 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.2319, allocations: 0 / 213.3 MB, free: 2.992 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005184/0.2324, allocations: 36.44 kB / 213.3 MB, free: 2.988 MB / 170.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.0001142/0.2325, allocations: 98.38 kB / 213.4 MB, free: 2.902 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2327, allocations: 89.38 kB / 213.5 MB, free: 2.895 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.501e-06/0.2328, allocations: 0 / 213.5 MB, free: 2.895 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.2328, allocations: 36.81 kB / 213.5 MB, free: 2.891 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2333, allocations: 23.11 kB / 213.6 MB, free: 2.887 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.2342, allocations: 0.5783 MB / 214.1 MB, free: 2.445 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.2346, allocations: 0.7328 MB / 214.9 MB, free: 17.75 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.2346, allocations: 16.22 kB / 214.9 MB, free: 17.74 MB / 186.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2346, allocations: 0 / 214.9 MB, free: 17.74 MB / 186.7 MB Notification: Performance of Templates: time 0.003667/0.2383, allocations: 1.784 MB / 216.7 MB, free: 17.59 MB / 186.7 MB