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.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.066/1.066, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.000269, allocations: 4 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04559/0.04589, allocations: 25.18 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.2209, allocations: 33.78 MB / 217.3 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001538/0.2211, allocations: 59.53 kB / 217.3 MB, free: 6.707 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.2344, allocations: 3.825 MB / 221.2 MB, free: 5.219 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.754e-06/0.2344, allocations: 0 / 221.2 MB, free: 5.219 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.2344, allocations: 3.969 kB / 221.2 MB, free: 5.219 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005649/0.235, allocations: 0.4902 MB / 221.7 MB, free: 4.766 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2351, allocations: 7.75 kB / 221.7 MB, free: 4.766 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.2351, allocations: 27.19 kB / 221.7 MB, free: 4.754 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2353, allocations: 193.6 kB / 221.9 MB, free: 4.535 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2353, allocations: 22.7 kB / 221.9 MB, free: 4.527 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.2354, allocations: 24.44 kB / 221.9 MB, free: 4.527 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.2358, allocations: 216.4 kB / 222.1 MB, free: 4.438 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2358, allocations: 15.7 kB / 222.2 MB, free: 4.426 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2359, allocations: 12.05 kB / 222.2 MB, free: 4.422 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.538e-06/0.2359, allocations: 7.812 kB / 222.2 MB, free: 4.422 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.2362, allocations: 140.4 kB / 222.3 MB, free: 4.398 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2372, allocations: 0.7686 MB / 223.1 MB, free: 3.832 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.2377, allocations: 268.7 kB / 223.3 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2377, allocations: 3.812 kB / 223.3 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2378, allocations: 34.72 kB / 223.4 MB, free: 3.684 MB / 170.7 MB Notification: Performance of pre-optimization done (n=28): time 4.3e-06/0.2378, allocations: 3.906 kB / 223.4 MB, free: 3.684 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.002688/0.2405, allocations: 1.849 MB / 225.2 MB, free: 2.27 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2405, allocations: 108.1 kB / 225.3 MB, free: 2.145 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2407, allocations: 166.9 kB / 225.5 MB, free: 2.031 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2407, allocations: 34.77 kB / 225.5 MB, free: 2 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.2408, allocations: 191.4 kB / 225.7 MB, free: 1.832 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.2409, allocations: 148.1 kB / 225.9 MB, free: 1.727 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.241, allocations: 3.438 kB / 225.9 MB, free: 1.727 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.241, allocations: 333.5 kB / 226.2 MB, free: 1.402 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2412, allocations: 92.2 kB / 226.3 MB, free: 1.383 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.2415, allocations: 136.7 kB / 226.4 MB, free: 1.312 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.2417, allocations: 107.5 kB / 226.5 MB, free: 1.305 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-06/0.2417, allocations: 0 / 226.5 MB, free: 1.305 MB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005504/0.2423, allocations: 301.7 kB / 226.8 MB, free: 1.227 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2423, allocations: 5.156 kB / 226.8 MB, free: 1.227 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.251e-06/0.2423, allocations: 2.594 kB / 226.8 MB, free: 1.227 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2423, allocations: 3.875 kB / 226.8 MB, free: 1.227 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.2428, allocations: 83.38 kB / 226.9 MB, free: 1.215 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.2428, allocations: 6.984 kB / 226.9 MB, free: 1.211 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.243, allocations: 11.59 kB / 226.9 MB, free: 1.211 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.243, allocations: 19.17 kB / 226.9 MB, free: 1.203 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (49): * Single equations (assignments): 49 * 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.0001534/0.2432, allocations: 146.8 kB / 227.1 MB, free: 1.082 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2433, allocations: 26.75 kB / 227.1 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.548e-05/0.2434, allocations: 31.66 kB / 227.1 MB, free: 1.062 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.2434, allocations: 7.547 kB / 227.2 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2434, allocations: 0 / 227.2 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-06/0.2434, allocations: 3.656 kB / 227.2 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.2455, allocations: 1.003 MB / 228.2 MB, free: 392 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.025e-06/0.2456, allocations: 3.938 kB / 228.2 MB, free: 392 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.2461, allocations: 84 kB / 228.2 MB, free: 376 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.426e-06/0.2461, allocations: 3.75 kB / 228.3 MB, free: 376 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.2461, allocations: 18.17 kB / 228.3 MB, free: 372 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.869e-06/0.2462, allocations: 4.094 kB / 228.3 MB, free: 372 kB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.2462, allocations: 7.594 kB / 228.3 MB, free: 368 kB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.2471, allocations: 0.8045 MB / 229.1 MB, free: 15.75 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.995e-05/0.2472, allocations: 100.5 kB / 229.2 MB, free: 15.64 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.2473, allocations: 18.45 kB / 229.2 MB, free: 15.64 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.2476, allocations: 7.125 kB / 229.2 MB, free: 15.64 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.2476, allocations: 26.78 kB / 229.2 MB, free: 15.63 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.2477, allocations: 14.25 kB / 229.2 MB, free: 15.63 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2478, allocations: 135.4 kB / 229.4 MB, free: 15.54 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.2478, allocations: 3.938 kB / 229.4 MB, free: 15.54 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005682/0.2484, allocations: 69.78 kB / 229.5 MB, free: 15.54 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * 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 (40): * Single equations (assignments): 40 * 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.0001611/0.2486, allocations: 128.9 kB / 229.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.2491, allocations: 240 kB / 229.8 MB, free: 15.39 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.172e-06/0.2491, allocations: 3.75 kB / 229.8 MB, free: 15.39 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.2493, allocations: 129.9 kB / 229.9 MB, free: 15.36 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.2499, allocations: 67.06 kB / 230 MB, free: 15.34 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.2517, allocations: 1.066 MB / 231.1 MB, free: 14.49 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.2522, allocations: 0.7661 MB / 231.8 MB, free: 13.75 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.2524, allocations: 25.88 kB / 231.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of SimCode: time 1.501e-06/0.2524, allocations: 7.656 kB / 231.9 MB, free: 13.74 MB / 186.7 MB Notification: Performance of Templates: time 0.006222/0.2586, allocations: 3.065 MB / 234.9 MB, free: 11.48 MB / 186.7 MB