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/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.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 1.048/1.048, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.624e-05, allocations: 4 kB / 154.3 MB, free: 13.12 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 25.15 MB / 179.4 MB, free: 0.7969 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05291/0.1925, allocations: 34.64 MB / 214.1 MB, free: 14.45 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.1927, allocations: 63.97 kB / 214.1 MB, free: 14.39 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008835/0.2016, allocations: 2.192 MB / 216.3 MB, free: 12.2 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.85e-06/0.2016, allocations: 0 / 216.3 MB, free: 12.2 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.2017, allocations: 4 kB / 216.3 MB, free: 12.19 MB / 186.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.0005388/0.2022, allocations: 398.1 kB / 216.7 MB, free: 11.76 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2023, allocations: 8.031 kB / 216.7 MB, free: 11.75 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.2023, allocations: 15.81 kB / 216.7 MB, free: 11.73 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.2026, allocations: 187 kB / 216.9 MB, free: 11.51 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2026, allocations: 11.94 kB / 216.9 MB, free: 11.5 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.2027, allocations: 19.91 kB / 217 MB, free: 11.48 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.203, allocations: 113.6 kB / 217.1 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.203, allocations: 0 / 217.1 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.203, allocations: 12 kB / 217.1 MB, free: 11.35 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.89e-06/0.203, allocations: 3.953 kB / 217.1 MB, free: 11.35 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.2032, allocations: 67.98 kB / 217.1 MB, free: 11.28 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009435/0.2042, allocations: 493.8 kB / 217.6 MB, free: 10.74 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.2044, allocations: 62.56 kB / 217.7 MB, free: 10.67 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.2045, allocations: 28.84 kB / 217.7 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.2045, allocations: 0 / 217.7 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2045, allocations: 34.52 kB / 217.7 MB, free: 10.6 MB / 186.7 MB Notification: Performance of pre-optimization done (n=8): time 2.088e-06/0.2045, allocations: 4 kB / 217.8 MB, free: 10.59 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.001006/0.2056, allocations: 0.5281 MB / 218.3 MB, free: 9.973 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.2056, allocations: 55.34 kB / 218.3 MB, free: 9.906 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2058, allocations: 119.9 kB / 218.5 MB, free: 9.781 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2058, allocations: 25.7 kB / 218.5 MB, free: 9.75 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.2059, allocations: 194.3 kB / 218.7 MB, free: 9.559 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.206, allocations: 43.69 kB / 218.7 MB, free: 9.516 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-06/0.206, allocations: 4 kB / 218.7 MB, free: 9.512 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2062, allocations: 314.8 kB / 219 MB, free: 9.195 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.2063, allocations: 28.66 kB / 219 MB, free: 9.168 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2064, allocations: 77.3 kB / 219.1 MB, free: 9.066 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.2065, allocations: 43.92 kB / 219.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.57e-06/0.2066, allocations: 0 / 219.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003148/0.2069, allocations: 141.6 kB / 219.3 MB, free: 8.879 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2069, allocations: 11.95 kB / 219.3 MB, free: 8.867 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2069, allocations: 4 kB / 219.3 MB, free: 8.863 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.207, allocations: 3.938 kB / 219.3 MB, free: 8.859 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2072, allocations: 35.97 kB / 219.4 MB, free: 8.824 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2072, allocations: 8.484 kB / 219.4 MB, free: 8.816 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2073, allocations: 11.91 kB / 219.4 MB, free: 8.805 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2074, allocations: 8 kB / 219.4 MB, free: 8.797 MB / 186.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 0.0001042/0.2075, allocations: 120 kB / 219.5 MB, free: 8.676 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.2075, allocations: 7.906 kB / 219.5 MB, free: 8.668 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2076, allocations: 16.58 kB / 219.5 MB, free: 8.648 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.131e-06/0.2076, allocations: 7.984 kB / 219.5 MB, free: 8.641 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2076, allocations: 3.938 kB / 219.5 MB, free: 8.637 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.901e-06/0.2076, allocations: 0 / 219.5 MB, free: 8.637 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.2083, allocations: 420 kB / 220 MB, free: 8.164 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.269e-06/0.2084, allocations: 4.062 kB / 220 MB, free: 8.16 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.2086, allocations: 27.92 kB / 220 MB, free: 8.133 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.884e-06/0.2086, allocations: 0 / 220 MB, free: 8.133 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.2086, allocations: 4 kB / 220 MB, free: 8.129 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.99e-06/0.2086, allocations: 0 / 220 MB, free: 8.129 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.91e-06/0.2086, allocations: 0 / 220 MB, free: 8.129 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.209, allocations: 256.7 kB / 220.2 MB, free: 7.844 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.2091, allocations: 93.03 kB / 220.3 MB, free: 7.734 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2091, allocations: 0 / 220.3 MB, free: 7.734 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2093, allocations: 8 kB / 220.3 MB, free: 7.727 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.2093, allocations: 7.984 kB / 220.3 MB, free: 7.719 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2094, allocations: 8.062 kB / 220.4 MB, free: 7.711 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.2095, allocations: 103.2 kB / 220.5 MB, free: 7.609 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.2095, allocations: 0 / 220.5 MB, free: 7.609 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003738/0.2099, allocations: 28 kB / 220.5 MB, free: 7.582 MB / 186.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.0001423/0.21, allocations: 103.2 kB / 220.6 MB, free: 7.469 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.2102, allocations: 67.92 kB / 220.6 MB, free: 7.402 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 9.786e-06/0.2103, allocations: 8.375 kB / 220.7 MB, free: 7.395 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.2104, allocations: 31.94 kB / 220.7 MB, free: 7.363 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2106, allocations: 8 kB / 220.7 MB, free: 7.355 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.2113, allocations: 317.6 kB / 221 MB, free: 7.016 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.2118, allocations: 0.7121 MB / 221.7 MB, free: 6.277 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.2118, allocations: 15.42 kB / 221.7 MB, free: 6.262 MB / 186.7 MB Notification: Performance of SimCode: time 1.783e-06/0.2118, allocations: 0 / 221.7 MB, free: 6.262 MB / 186.7 MB Notification: Performance of Templates: time 0.003319/0.2152, allocations: 1.297 MB / 223 MB, free: 4.961 MB / 186.7 MB