Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.977/0.977, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.000256, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05333/0.05361, allocations: 25.16 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/0.2628, allocations: 33.6 MB / 217.6 MB, free: 6.691 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.2631, allocations: 61.19 kB / 217.7 MB, free: 6.684 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.2736, allocations: 2.827 MB / 220.5 MB, free: 5.496 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2736, allocations: 0 / 220.5 MB, free: 5.496 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.2737, allocations: 3.844 kB / 220.5 MB, free: 5.496 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.000607/0.2743, allocations: 441.6 kB / 221 MB, free: 5.082 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2743, allocations: 7.5 kB / 221 MB, free: 5.082 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.2744, allocations: 31.2 kB / 221 MB, free: 5.062 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.2746, allocations: 206.1 kB / 221.2 MB, free: 4.844 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2746, allocations: 14.62 kB / 221.2 MB, free: 4.844 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.2747, allocations: 19.16 kB / 221.2 MB, free: 4.84 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.2751, allocations: 180.5 kB / 221.4 MB, free: 4.754 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.2751, allocations: 3.844 kB / 221.4 MB, free: 4.754 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.2751, allocations: 7.359 kB / 221.4 MB, free: 4.75 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2752, allocations: 3.844 kB / 221.4 MB, free: 4.75 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.2754, allocations: 110 kB / 221.5 MB, free: 4.723 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2768, allocations: 0.7775 MB / 222.3 MB, free: 4.098 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.2771, allocations: 114.5 kB / 222.4 MB, free: 4.016 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2771, allocations: 3.984 kB / 222.4 MB, free: 4.012 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2771, allocations: 43.45 kB / 222.5 MB, free: 3.969 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 2.575e-06/0.2772, allocations: 0 / 222.5 MB, free: 3.969 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004038/0.2776, allocations: 131 kB / 222.6 MB, free: 3.914 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2776, allocations: 106.8 kB / 222.7 MB, free: 3.785 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.2779, allocations: 208.4 kB / 222.9 MB, free: 3.664 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2779, allocations: 29.02 kB / 222.9 MB, free: 3.633 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.278, allocations: 196 kB / 223.1 MB, free: 3.457 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.278, allocations: 61.17 kB / 223.2 MB, free: 3.414 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.2781, allocations: 2.875 kB / 223.2 MB, free: 3.414 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.2781, allocations: 321.9 kB / 223.5 MB, free: 3.098 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2782, allocations: 38.55 kB / 223.5 MB, free: 3.09 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2784, allocations: 132.9 kB / 223.7 MB, free: 2.965 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2785, allocations: 56 kB / 223.7 MB, free: 2.957 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2786, allocations: 7.688 kB / 223.7 MB, free: 2.953 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003917/0.279, allocations: 202.9 kB / 223.9 MB, free: 2.875 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.279, allocations: 7.844 kB / 223.9 MB, free: 2.875 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.279, allocations: 352 / 223.9 MB, free: 2.875 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.279, allocations: 11.28 kB / 223.9 MB, free: 2.871 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2793, allocations: 49.83 kB / 224 MB, free: 2.863 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2794, allocations: 7.828 kB / 224 MB, free: 2.859 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.2796, allocations: 26.53 kB / 224 MB, free: 2.844 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2796, allocations: 7.688 kB / 224 MB, free: 2.844 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 () * 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.0001253/0.2797, allocations: 136.7 kB / 224.2 MB, free: 2.719 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.2798, allocations: 23.45 kB / 224.2 MB, free: 2.707 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.2799, allocations: 24.14 kB / 224.2 MB, free: 2.699 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2799, allocations: 3.688 kB / 224.2 MB, free: 2.699 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2799, allocations: 4 kB / 224.2 MB, free: 2.695 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2799, allocations: 0 / 224.2 MB, free: 2.695 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.2805, allocations: 249 kB / 224.5 MB, free: 2.473 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2805, allocations: 4 kB / 224.5 MB, free: 2.469 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.2808, allocations: 33.27 kB / 224.5 MB, free: 2.461 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.2808, allocations: 3.688 kB / 224.5 MB, free: 2.461 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.2809, allocations: 3.953 kB / 224.5 MB, free: 2.457 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2809, allocations: 7.641 kB / 224.5 MB, free: 2.453 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2809, allocations: 0 / 224.5 MB, free: 2.453 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.2813, allocations: 398.4 kB / 224.9 MB, free: 2.145 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.2814, allocations: 99.62 kB / 225 MB, free: 2.039 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.2814, allocations: 7.578 kB / 225 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.2816, allocations: 0 / 225 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.2817, allocations: 11.52 kB / 225 MB, free: 2.031 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2817, allocations: 7.438 kB / 225 MB, free: 2.031 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.2818, allocations: 155.1 kB / 225.2 MB, free: 1.938 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2819, allocations: 0 / 225.2 MB, free: 1.938 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.2824, allocations: 42.41 kB / 225.2 MB, free: 1.934 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 () * 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.0001245/0.2825, allocations: 100.8 kB / 225.3 MB, free: 1.848 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.2828, allocations: 109.1 kB / 225.4 MB, free: 1.82 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2828, allocations: 0 / 225.4 MB, free: 1.82 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.2829, allocations: 45.2 kB / 225.5 MB, free: 1.809 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.2834, allocations: 26.52 kB / 225.5 MB, free: 1.801 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2848, allocations: 0.7854 MB / 226.3 MB, free: 1.148 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.285, allocations: 0.7341 MB / 227 MB, free: 436 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.2851, allocations: 18.66 kB / 227 MB, free: 428 kB / 170.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2851, allocations: 0 / 227 MB, free: 428 kB / 170.7 MB Notification: Performance of Templates: time 0.004928/0.29, allocations: 1.956 MB / 229 MB, free: 15.44 MB / 186.7 MB