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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.9227/0.9227, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 11.94 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06681/0.06723, allocations: 25.16 MB / 183.5 MB, free: 5.988 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.2409, allocations: 33.61 MB / 217.1 MB, free: 6.758 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.2412, allocations: 62.62 kB / 217.2 MB, free: 6.746 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009693/0.2509, allocations: 2.812 MB / 220 MB, free: 5.574 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.538e-06/0.2509, allocations: 3.812 kB / 220 MB, free: 5.574 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.2509, allocations: 2.844 kB / 220 MB, free: 5.574 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.0004451/0.2514, allocations: 445.7 kB / 220.4 MB, free: 5.152 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2514, allocations: 7.688 kB / 220.4 MB, free: 5.152 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.2515, allocations: 29.95 kB / 220.5 MB, free: 5.137 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.2517, allocations: 207.3 kB / 220.7 MB, free: 4.918 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2517, allocations: 7.531 kB / 220.7 MB, free: 4.918 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.2518, allocations: 21.28 kB / 220.7 MB, free: 4.914 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.2521, allocations: 185.1 kB / 220.9 MB, free: 4.824 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2521, allocations: 0 / 220.9 MB, free: 4.824 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2522, allocations: 14.16 kB / 220.9 MB, free: 4.82 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-06/0.2522, allocations: 3.938 kB / 220.9 MB, free: 4.82 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2524, allocations: 103.3 kB / 221 MB, free: 4.797 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.2536, allocations: 0.7752 MB / 221.8 MB, free: 4.176 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.2538, allocations: 124.1 kB / 221.9 MB, free: 4.082 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2539, allocations: 3.812 kB / 221.9 MB, free: 4.082 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2539, allocations: 39.67 kB / 221.9 MB, free: 4.039 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 2.317e-06/0.2539, allocations: 0 / 221.9 MB, free: 4.039 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.000349/0.2543, allocations: 131.3 kB / 222.1 MB, free: 3.984 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2543, allocations: 106.7 kB / 222.2 MB, free: 3.859 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.2545, allocations: 191.8 kB / 222.3 MB, free: 3.746 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2545, allocations: 29.27 kB / 222.4 MB, free: 3.715 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.2546, allocations: 192.6 kB / 222.6 MB, free: 3.539 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.2546, allocations: 56.58 kB / 222.6 MB, free: 3.5 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-06/0.2547, allocations: 3.438 kB / 222.6 MB, free: 3.5 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.2547, allocations: 322.3 kB / 222.9 MB, free: 3.184 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.2548, allocations: 37.83 kB / 223 MB, free: 3.176 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.255, allocations: 140.7 kB / 223.1 MB, free: 3.043 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2551, allocations: 54.12 kB / 223.2 MB, free: 3.039 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.597e-06/0.2551, allocations: 3.938 kB / 223.2 MB, free: 3.035 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003686/0.2555, allocations: 200.1 kB / 223.4 MB, free: 2.961 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2555, allocations: 7.797 kB / 223.4 MB, free: 2.957 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.901e-06/0.2555, allocations: 3.25 kB / 223.4 MB, free: 2.957 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2556, allocations: 11.45 kB / 223.4 MB, free: 2.953 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.2558, allocations: 49.92 kB / 223.4 MB, free: 2.945 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2558, allocations: 11.89 kB / 223.4 MB, free: 2.938 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.256, allocations: 27.28 kB / 223.5 MB, free: 2.922 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.256, allocations: 7.781 kB / 223.5 MB, free: 2.922 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.0001042/0.2561, allocations: 143.5 kB / 223.6 MB, free: 2.797 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.2562, allocations: 15.5 kB / 223.6 MB, free: 2.789 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.2563, allocations: 28.73 kB / 223.7 MB, free: 2.77 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2563, allocations: 3.844 kB / 223.7 MB, free: 2.77 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-06/0.2563, allocations: 0 / 223.7 MB, free: 2.77 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.477e-06/0.2563, allocations: 0 / 223.7 MB, free: 2.77 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.2568, allocations: 250.3 kB / 223.9 MB, free: 2.543 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-06/0.2568, allocations: 0 / 223.9 MB, free: 2.543 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.2571, allocations: 34.39 kB / 223.9 MB, free: 2.539 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-06/0.2571, allocations: 3.984 kB / 223.9 MB, free: 2.535 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2571, allocations: 7.906 kB / 224 MB, free: 2.531 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.003e-06/0.2571, allocations: 3.953 kB / 224 MB, free: 2.527 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.138e-06/0.2571, allocations: 0 / 224 MB, free: 2.527 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.2575, allocations: 425.7 kB / 224.4 MB, free: 2.188 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.2575, allocations: 100.1 kB / 224.5 MB, free: 2.078 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.2576, allocations: 3.812 kB / 224.5 MB, free: 2.078 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2578, allocations: 3.25 kB / 224.5 MB, free: 2.078 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.2579, allocations: 7.891 kB / 224.5 MB, free: 2.074 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2579, allocations: 7.594 kB / 224.5 MB, free: 2.074 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.258, allocations: 152.3 kB / 224.6 MB, free: 1.984 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.258, allocations: 0 / 224.6 MB, free: 1.984 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005017/0.2586, allocations: 41.28 kB / 224.7 MB, free: 1.98 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.0001023/0.2587, allocations: 113 kB / 224.8 MB, free: 1.883 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.2589, allocations: 106.4 kB / 224.9 MB, free: 1.863 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.229e-06/0.2589, allocations: 0 / 224.9 MB, free: 1.863 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.259, allocations: 37.67 kB / 224.9 MB, free: 1.855 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2595, allocations: 30.62 kB / 225 MB, free: 1.844 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2606, allocations: 0.7958 MB / 225.8 MB, free: 1.18 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.2608, allocations: 0.7345 MB / 226.5 MB, free: 468 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.2609, allocations: 15.09 kB / 226.5 MB, free: 460 kB / 170.7 MB Notification: Performance of SimCode: time 1.576e-06/0.2609, allocations: 0 / 226.5 MB, free: 460 kB / 170.7 MB Notification: Performance of Templates: time 0.003988/0.2649, allocations: 1.963 MB / 228.5 MB, free: 15.49 MB / 186.7 MB