Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08226, allocations: 44.51 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002604/0.08491, allocations: 1.557 MB / 309.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.08598, allocations: 0.4961 MB / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.0861, allocations: 3.938 kB / 310.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.08616, allocations: 15.91 kB / 310.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.0863, allocations: 35.86 kB / 310.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.08652, allocations: 43.89 kB / 310.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.08673, allocations: 95.81 kB / 310.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.08692, allocations: 50.14 kB / 310.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.08705, allocations: 43.86 kB / 310.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.08719, allocations: 59.7 kB / 310.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.08723, allocations: 8 kB / 310.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.871e-05/0.08727, allocations: 8 kB / 310.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.08732, allocations: 27.91 kB / 310.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.08739, allocations: 49.64 kB / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.08761, allocations: 120 kB / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.08764, allocations: 0 / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.428e-06/0.08766, allocations: 0 / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.764e-06/0.08767, allocations: 0 / 311 MB, free: 14.4 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006691/0.08835, allocations: 410.9 kB / 311.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.0884, allocations: 12.03 kB / 311.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.08848, allocations: 23.75 kB / 311.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.08875, allocations: 198.8 kB / 311.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.08879, allocations: 19.97 kB / 311.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.08885, allocations: 16 kB / 311.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.08922, allocations: 133.6 kB / 311.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.08926, allocations: 0 / 311.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.08929, allocations: 8 kB / 311.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.662e-06/0.08931, allocations: 4 kB / 311.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.08962, allocations: 99.69 kB / 311.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.0907, allocations: 0.529 MB / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.09095, allocations: 94.34 kB / 312.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.09099, allocations: 0 / 312.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.09104, allocations: 38.52 kB / 312.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.07e-06/0.09105, allocations: 4 kB / 312.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001348/0.09241, allocations: 0.5947 MB / 313.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.09249, allocations: 59.41 kB / 313.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.09264, allocations: 121.8 kB / 313.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.09268, allocations: 29.7 kB / 313.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.09283, allocations: 202.3 kB / 313.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.0929, allocations: 47.39 kB / 313.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-06/0.09291, allocations: 0 / 313.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.09309, allocations: 318.8 kB / 313.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.09322, allocations: 35.98 kB / 313.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.09339, allocations: 81.95 kB / 314 MB, free: 11.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.09356, allocations: 52.97 kB / 314 MB, free: 10.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.721e-06/0.09358, allocations: 7.938 kB / 314.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004001/0.09399, allocations: 157.5 kB / 314.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.09403, allocations: 8.094 kB / 314.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.1e-06/0.09405, allocations: 3.938 kB / 314.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.09407, allocations: 7.984 kB / 314.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.09429, allocations: 31.98 kB / 314.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.09432, allocations: 7.938 kB / 314.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.09444, allocations: 8 kB / 314.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.09447, allocations: 8 kB / 314.3 MB, free: 10.74 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001449/0.09463, allocations: 129.8 kB / 314.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.09468, allocations: 7.906 kB / 314.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.09475, allocations: 16.36 kB / 314.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-06/0.09476, allocations: 0 / 314.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.52e-06/0.09478, allocations: 0 / 314.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.173e-06/0.09479, allocations: 8.031 kB / 314.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.09564, allocations: 455.9 kB / 314.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-06/0.09566, allocations: 0 / 314.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.09586, allocations: 27.92 kB / 314.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-06/0.09589, allocations: 0 / 314.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.09591, allocations: 8 kB / 314.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.097e-06/0.09593, allocations: 4 kB / 314.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.09594, allocations: 0 / 314.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.09643, allocations: 269.1 kB / 315.2 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.09651, allocations: 81.02 kB / 315.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.09655, allocations: 8 kB / 315.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.09668, allocations: 4.062 kB / 315.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.09674, allocations: 11.98 kB / 315.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.09676, allocations: 0 / 315.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.09687, allocations: 99.27 kB / 315.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.96e-07/0.09688, allocations: 0 / 315.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.09727, allocations: 28 kB / 315.4 MB, free: 9.496 MB / 266.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 (11): * Single equations (assignments): 11 * 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.0001382/0.09742, allocations: 103.2 kB / 315.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.09777, allocations: 95.84 kB / 315.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.572e-06/0.09779, allocations: 288 / 315.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.09792, allocations: 47.86 kB / 315.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.09824, allocations: 15.89 kB / 315.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.09929, allocations: 0.5338 MB / 316.2 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.09974, allocations: 0.716 MB / 316.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.09981, allocations: 15.44 kB / 316.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.536e-06/0.09982, allocations: 0 / 316.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of Templates: time 0.003795/0.1036, allocations: 1.407 MB / 318.3 MB, free: 6.492 MB / 266.7 MB