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 0.946/0.946, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.0002652, allocations: 4 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04427/0.04456, allocations: 25.18 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.2172, allocations: 34.73 MB / 218.2 MB, free: 6.484 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.2174, allocations: 60.25 kB / 218.3 MB, free: 6.477 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007309/0.2247, allocations: 2.194 MB / 220.5 MB, free: 5.531 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.338e-06/0.2248, allocations: 7.781 kB / 220.5 MB, free: 5.527 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.2248, allocations: 0 / 220.5 MB, free: 5.527 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.0003958/0.2252, allocations: 404.2 kB / 220.9 MB, free: 5.133 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2252, allocations: 7.719 kB / 220.9 MB, free: 5.133 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.2253, allocations: 15.38 kB / 220.9 MB, free: 5.125 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2254, allocations: 190.2 kB / 221.1 MB, free: 4.914 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2255, allocations: 11.28 kB / 221.1 MB, free: 4.914 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.2255, allocations: 19.23 kB / 221.1 MB, free: 4.906 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2258, allocations: 123.9 kB / 221.2 MB, free: 4.852 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2258, allocations: 0 / 221.2 MB, free: 4.852 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2258, allocations: 7.438 kB / 221.3 MB, free: 4.852 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-06/0.2259, allocations: 7.891 kB / 221.3 MB, free: 4.848 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.2261, allocations: 85.94 kB / 221.3 MB, free: 4.828 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.2268, allocations: 496 kB / 221.8 MB, free: 4.441 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.227, allocations: 75.75 kB / 221.9 MB, free: 4.406 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.227, allocations: 0 / 221.9 MB, free: 4.406 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.227, allocations: 34.56 kB / 221.9 MB, free: 4.363 MB / 170.7 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.227, allocations: 0 / 221.9 MB, free: 4.363 MB / 170.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009733/0.228, allocations: 0.5872 MB / 222.5 MB, free: 3.875 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.2281, allocations: 51.41 kB / 222.6 MB, free: 3.812 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.2282, allocations: 119.7 kB / 222.7 MB, free: 3.711 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.2282, allocations: 29.55 kB / 222.7 MB, free: 3.68 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.2283, allocations: 192.9 kB / 222.9 MB, free: 3.5 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.2283, allocations: 41.8 kB / 222.9 MB, free: 3.469 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-06/0.2283, allocations: 3.844 kB / 223 MB, free: 3.469 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.2284, allocations: 314.1 kB / 223.3 MB, free: 3.156 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.2285, allocations: 33.39 kB / 223.3 MB, free: 3.152 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2286, allocations: 95.33 kB / 223.4 MB, free: 3.066 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2287, allocations: 40.77 kB / 223.4 MB, free: 3.062 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-06/0.2288, allocations: 0 / 223.4 MB, free: 3.062 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003228/0.2291, allocations: 151.6 kB / 223.6 MB, free: 3 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2291, allocations: 11.48 kB / 223.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.093e-06/0.2291, allocations: 0 / 223.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2292, allocations: 7.922 kB / 223.6 MB, free: 2.992 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.2293, allocations: 41.88 kB / 223.6 MB, free: 2.98 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.827e-06/0.2294, allocations: 8.375 kB / 223.6 MB, free: 2.977 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.2295, allocations: 7.719 kB / 223.6 MB, free: 2.977 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2295, allocations: 6.438 kB / 223.7 MB, free: 2.977 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 () * Number of clocked 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 8.724e-05/0.2296, allocations: 135.3 kB / 223.8 MB, free: 2.852 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.2297, allocations: 7.594 kB / 223.8 MB, free: 2.848 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.2297, allocations: 22.84 kB / 223.8 MB, free: 2.832 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2297, allocations: 0 / 223.8 MB, free: 2.832 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.114e-06/0.2297, allocations: 0 / 223.8 MB, free: 2.832 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-06/0.2297, allocations: 0 / 223.8 MB, free: 2.832 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.2303, allocations: 436 kB / 224.2 MB, free: 2.465 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-06/0.2303, allocations: 0 / 224.2 MB, free: 2.465 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2305, allocations: 23.05 kB / 224.3 MB, free: 2.461 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.2305, allocations: 7.75 kB / 224.3 MB, free: 2.457 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2305, allocations: 3.5 kB / 224.3 MB, free: 2.457 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.371e-06/0.2305, allocations: 3.656 kB / 224.3 MB, free: 2.457 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.002e-06/0.2305, allocations: 0 / 224.3 MB, free: 2.457 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.2309, allocations: 272.1 kB / 224.5 MB, free: 2.25 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.231, allocations: 88.73 kB / 224.6 MB, free: 2.152 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.231, allocations: 3.984 kB / 224.6 MB, free: 2.148 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2311, allocations: 7.719 kB / 224.6 MB, free: 2.145 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.2312, allocations: 11.27 kB / 224.7 MB, free: 2.141 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-06/0.2312, allocations: 3.75 kB / 224.7 MB, free: 2.141 MB / 170.7 MB Notification: Performance of sorting global known variables: time 5.193e-05/0.2313, allocations: 106.8 kB / 224.8 MB, free: 2.055 MB / 170.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.2313, allocations: 0 / 224.8 MB, free: 2.055 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.2316, allocations: 30.55 kB / 224.8 MB, free: 2.047 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 () * Number of clocked 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 9.466e-05/0.2317, allocations: 98.34 kB / 224.9 MB, free: 1.961 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.232, allocations: 97.27 kB / 225 MB, free: 1.938 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.582e-06/0.232, allocations: 4 kB / 225 MB, free: 1.934 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.2321, allocations: 39.8 kB / 225 MB, free: 1.926 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.2324, allocations: 10.22 kB / 225 MB, free: 1.926 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.2331, allocations: 0.5035 MB / 225.5 MB, free: 1.508 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2333, allocations: 0.7181 MB / 226.3 MB, free: 0.7891 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.2334, allocations: 11.31 kB / 226.3 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of SimCode: time 1.38e-06/0.2334, allocations: 96 / 226.3 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of Templates: time 0.002823/0.2362, allocations: 1.302 MB / 227.6 MB, free: 140 kB / 170.7 MB