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.Sensors.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.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 0.9939/0.9939, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.604e-05, allocations: 0 / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04526/0.0453, allocations: 25.18 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.2173, allocations: 33.97 MB / 207.3 MB, free: 7.074 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.2175, allocations: 62.22 kB / 207.3 MB, free: 7.074 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007798/0.2253, allocations: 2.183 MB / 209.5 MB, free: 6.641 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.109e-06/0.2254, allocations: 0.8125 kB / 209.5 MB, free: 6.641 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2254, allocations: 2.781 kB / 209.5 MB, free: 6.641 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004305/0.2258, allocations: 395.9 kB / 209.9 MB, free: 6.27 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2259, allocations: 9.5 kB / 209.9 MB, free: 6.27 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.226, allocations: 15.19 kB / 209.9 MB, free: 6.262 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2261, allocations: 188.3 kB / 210.1 MB, free: 6.059 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2262, allocations: 5.094 kB / 210.1 MB, free: 6.059 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.2262, allocations: 7.75 kB / 210.1 MB, free: 6.059 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001784/0.2264, allocations: 57.56 kB / 210.2 MB, free: 6.059 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.2266, allocations: 94.09 kB / 210.3 MB, free: 6.027 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2266, allocations: 9.312 kB / 210.3 MB, free: 6.02 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2267, allocations: 7.953 kB / 210.3 MB, free: 6.012 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.816e-06/0.2267, allocations: 6.688 kB / 210.3 MB, free: 6.008 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.2274, allocations: 458.9 kB / 210.7 MB, free: 5.715 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2276, allocations: 56.33 kB / 210.8 MB, free: 5.691 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.2276, allocations: 18.02 kB / 210.8 MB, free: 5.684 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.2276, allocations: 3.609 kB / 210.8 MB, free: 5.684 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.2277, allocations: 35.59 kB / 210.8 MB, free: 5.641 MB / 170.7 MB Notification: Performance of pre-optimization done (n=8): time 2.41e-06/0.2277, allocations: 0 / 210.8 MB, free: 5.641 MB / 170.7 MB Notification: Performance of matching and sorting (n=10): time 0.000743/0.2284, allocations: 0.5133 MB / 211.4 MB, free: 5.176 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.2285, allocations: 52.72 kB / 211.4 MB, free: 5.113 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.2286, allocations: 116 kB / 211.5 MB, free: 5.02 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2286, allocations: 29.52 kB / 211.5 MB, free: 4.988 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.2287, allocations: 194.1 kB / 211.7 MB, free: 4.812 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2287, allocations: 32.59 kB / 211.8 MB, free: 4.793 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-06/0.2287, allocations: 5.25 kB / 211.8 MB, free: 4.789 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.2288, allocations: 317.8 kB / 212.1 MB, free: 4.477 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.2288, allocations: 21.34 kB / 212.1 MB, free: 4.477 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.2289, allocations: 80.02 kB / 212.2 MB, free: 4.402 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.229, allocations: 38.22 kB / 212.2 MB, free: 4.395 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.867e-06/0.229, allocations: 1.156 kB / 212.2 MB, free: 4.395 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002459/0.2293, allocations: 121.4 kB / 212.3 MB, free: 4.352 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2293, allocations: 6.625 kB / 212.3 MB, free: 4.352 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.265e-06/0.2294, allocations: 5.438 kB / 212.4 MB, free: 4.348 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2294, allocations: 8.969 kB / 212.4 MB, free: 4.344 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.2296, allocations: 36.83 kB / 212.4 MB, free: 4.34 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.228e-06/0.2296, allocations: 5.578 kB / 212.4 MB, free: 4.34 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2297, allocations: 8.203 kB / 212.4 MB, free: 4.336 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2298, allocations: 6.438 kB / 212.4 MB, free: 4.336 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 5.758e-05/0.2298, allocations: 112.6 kB / 212.5 MB, free: 4.223 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.2299, allocations: 15.16 kB / 212.5 MB, free: 4.215 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.2299, allocations: 14.62 kB / 212.6 MB, free: 4.203 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-06/0.2299, allocations: 3.953 kB / 212.6 MB, free: 4.199 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2299, allocations: 2.5 kB / 212.6 MB, free: 4.199 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.775e-06/0.23, allocations: 3.188 kB / 212.6 MB, free: 4.199 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.2304, allocations: 366.3 kB / 212.9 MB, free: 3.914 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.962e-06/0.2305, allocations: 5.188 kB / 212.9 MB, free: 3.91 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2307, allocations: 28.92 kB / 213 MB, free: 3.906 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.665e-06/0.2307, allocations: 8.984 kB / 213 MB, free: 3.898 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2307, allocations: 2.344 kB / 213 MB, free: 3.898 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.742e-06/0.2307, allocations: 1.062 kB / 213 MB, free: 3.898 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.724e-06/0.2307, allocations: 1.094 kB / 213 MB, free: 3.898 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.231, allocations: 247.1 kB / 213.2 MB, free: 3.703 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.2311, allocations: 91.69 kB / 213.3 MB, free: 3.605 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.2311, allocations: 1.188 kB / 213.3 MB, free: 3.605 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2312, allocations: 3.5 kB / 213.3 MB, free: 3.605 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2313, allocations: 6.562 kB / 213.3 MB, free: 3.605 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2313, allocations: 3.312 kB / 213.3 MB, free: 3.605 MB / 170.7 MB Notification: Performance of sorting global known variables: time 5.55e-05/0.2314, allocations: 105.8 kB / 213.4 MB, free: 3.523 MB / 170.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.2314, allocations: 0 / 213.4 MB, free: 3.523 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.2318, allocations: 20.09 kB / 213.4 MB, free: 3.523 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001132/0.2319, allocations: 106.3 kB / 213.5 MB, free: 3.426 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2321, allocations: 60.28 kB / 213.6 MB, free: 3.422 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2321, allocations: 0 / 213.6 MB, free: 3.422 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.2322, allocations: 33.58 kB / 213.6 MB, free: 3.418 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.2325, allocations: 16.58 kB / 213.6 MB, free: 3.41 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.2331, allocations: 308.8 kB / 213.9 MB, free: 3.168 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.2332, allocations: 0.7144 MB / 214.7 MB, free: 2.469 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.2333, allocations: 13.38 kB / 214.7 MB, free: 2.461 MB / 170.7 MB Notification: Performance of SimCode: time 1.276e-06/0.2333, allocations: 0 / 214.7 MB, free: 2.461 MB / 170.7 MB Notification: Performance of Templates: time 0.003018/0.2363, allocations: 1.287 MB / 216 MB, free: 2.371 MB / 170.7 MB