Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.584/1.584, allocations: 171.2 MB / 186.8 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 233.2 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07106/0.07143, allocations: 38.76 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/0.3552, allocations: 67.52 MB / 339.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.3555, allocations: 72.53 kB / 339.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.3656, allocations: 2.504 MB / 342.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.422e-06/0.3656, allocations: 0 / 342.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.3656, allocations: 4 kB / 342.1 MB, free: 4.191 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.0006246/0.3663, allocations: 422 kB / 342.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3663, allocations: 8.031 kB / 342.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.3664, allocations: 18.84 kB / 342.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3667, allocations: 197 kB / 342.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3667, allocations: 13.95 kB / 342.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.3668, allocations: 23.08 kB / 342.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.3671, allocations: 144.6 kB / 342.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.3672, allocations: 0 / 342.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3672, allocations: 2.812 kB / 342.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3672, allocations: 4 kB / 342.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.3675, allocations: 105.6 kB / 343 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3686, allocations: 0.534 MB / 343.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3688, allocations: 82.42 kB / 343.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3689, allocations: 0 / 343.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3689, allocations: 30.56 kB / 343.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.313e-06/0.3689, allocations: 4 kB / 343.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001316/0.3702, allocations: 0.6101 MB / 344.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3703, allocations: 55.41 kB / 344.3 MB, free: 1.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3705, allocations: 125.8 kB / 344.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3705, allocations: 25.7 kB / 344.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3707, allocations: 204.4 kB / 344.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.3707, allocations: 38.08 kB / 344.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.3707, allocations: 3.312 kB / 344.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3709, allocations: 318.6 kB / 345 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.371, allocations: 35.28 kB / 345.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3712, allocations: 85.02 kB / 345.2 MB, free: 1.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3714, allocations: 46.42 kB / 345.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.638e-06/0.3714, allocations: 0 / 345.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003912/0.3718, allocations: 157.7 kB / 345.4 MB, free: 0.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3718, allocations: 4 kB / 345.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-06/0.3719, allocations: 0 / 345.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3719, allocations: 7.953 kB / 345.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.3721, allocations: 47.53 kB / 345.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.3721, allocations: 192 / 345.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3723, allocations: 16 kB / 345.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3723, allocations: 7.312 kB / 345.4 MB, free: 0.8828 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.0001535/0.3725, allocations: 132.3 kB / 345.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.3725, allocations: 11.84 kB / 345.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.3726, allocations: 12.45 kB / 345.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.169e-06/0.3726, allocations: 4 kB / 345.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.888e-06/0.3726, allocations: 3.953 kB / 345.6 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-06/0.3726, allocations: 0 / 345.6 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/0.3734, allocations: 454.2 kB / 346 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.649e-06/0.3735, allocations: 4 kB / 346 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.3737, allocations: 27.94 kB / 346.1 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.208e-06/0.3737, allocations: 4.062 kB / 346.1 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3737, allocations: 4 kB / 346.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.642e-06/0.3737, allocations: 0 / 346.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-06/0.3737, allocations: 0 / 346.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.3743, allocations: 281 kB / 346.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.342e-05/0.3744, allocations: 96 kB / 346.4 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3744, allocations: 7.938 kB / 346.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3745, allocations: 6.812 kB / 346.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.3746, allocations: 12.02 kB / 346.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3746, allocations: 4 kB / 346.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.3747, allocations: 104.2 kB / 346.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.73e-07/0.3747, allocations: 0 / 346.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.3751, allocations: 23.56 kB / 346.6 MB, free: 15.71 MB / 282.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.0001486/0.3753, allocations: 107.2 kB / 346.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.3756, allocations: 96.58 kB / 346.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3757, allocations: 4 kB / 346.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3758, allocations: 38.42 kB / 346.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3761, allocations: 18.53 kB / 346.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3772, allocations: 0.5368 MB / 347.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3777, allocations: 0.7199 MB / 348.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.3777, allocations: 15.44 kB / 348.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of SimCode: time 1.749e-06/0.3777, allocations: 0 / 348.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of Templates: time 0.003732/0.3815, allocations: 1.414 MB / 349.5 MB, free: 12.76 MB / 282.7 MB