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.962/0.962, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002902, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04735/0.04767, allocations: 25.18 MB / 183.4 MB, free: 6.008 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002123/0.04983, allocations: 1.367 MB / 184.8 MB, free: 4.641 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008172/0.05067, allocations: 419.7 kB / 185.2 MB, free: 4.227 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.05078, allocations: 0 / 185.2 MB, free: 4.227 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.05084, allocations: 19.86 kB / 185.2 MB, free: 4.207 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.05096, allocations: 27.94 kB / 185.2 MB, free: 4.18 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.05114, allocations: 35.89 kB / 185.3 MB, free: 4.145 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.05133, allocations: 83.83 kB / 185.4 MB, free: 4.062 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.05149, allocations: 37.42 kB / 185.4 MB, free: 4.023 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.05162, allocations: 43.84 kB / 185.4 MB, free: 3.98 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.05174, allocations: 51.77 kB / 185.5 MB, free: 3.93 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.05178, allocations: 8 kB / 185.5 MB, free: 3.922 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.497e-05/0.05182, allocations: 8 kB / 185.5 MB, free: 3.914 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.05186, allocations: 19.92 kB / 185.5 MB, free: 3.895 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.05191, allocations: 41.64 kB / 185.6 MB, free: 3.848 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.05209, allocations: 107.9 kB / 185.7 MB, free: 3.742 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.512e-06/0.0521, allocations: 0 / 185.7 MB, free: 3.742 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.798e-06/0.05211, allocations: 0 / 185.7 MB, free: 3.742 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.793e-06/0.05213, allocations: 0 / 185.7 MB, free: 3.742 MB / 154.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.0006004/0.05274, allocations: 399 kB / 186.1 MB, free: 3.305 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.05279, allocations: 8.031 kB / 186.1 MB, free: 3.297 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.05284, allocations: 15.81 kB / 186.1 MB, free: 3.281 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.05309, allocations: 194.9 kB / 186.3 MB, free: 3.051 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.05313, allocations: 12 kB / 186.3 MB, free: 3.039 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.05318, allocations: 19.92 kB / 186.3 MB, free: 3.02 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.0535, allocations: 121.6 kB / 186.4 MB, free: 2.895 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.05353, allocations: 3.906 kB / 186.4 MB, free: 2.891 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.05357, allocations: 8 kB / 186.4 MB, free: 2.883 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.81e-06/0.05358, allocations: 4 kB / 186.4 MB, free: 2.879 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.05384, allocations: 79.94 kB / 186.5 MB, free: 2.801 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.05482, allocations: 493.9 kB / 187 MB, free: 2.262 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.05503, allocations: 70.5 kB / 187.1 MB, free: 2.184 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.05507, allocations: 0 / 187.1 MB, free: 2.184 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.05511, allocations: 42.5 kB / 187.1 MB, free: 2.133 MB / 154.7 MB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.05512, allocations: 0 / 187.1 MB, free: 2.133 MB / 154.7 MB Notification: Performance of matching and sorting (n=10): time 0.001242/0.05637, allocations: 0.5832 MB / 187.7 MB, free: 1.457 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.05644, allocations: 55.41 kB / 187.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.0566, allocations: 130.1 kB / 187.9 MB, free: 1.25 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.05664, allocations: 25.7 kB / 187.9 MB, free: 1.219 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.05678, allocations: 198.5 kB / 188.1 MB, free: 1.023 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.05684, allocations: 35.55 kB / 188.1 MB, free: 0.9883 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-06/0.05686, allocations: 4 kB / 188.1 MB, free: 0.9844 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.05703, allocations: 318.8 kB / 188.4 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.05715, allocations: 39.89 kB / 188.5 MB, free: 0.625 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.05732, allocations: 83.72 kB / 188.6 MB, free: 0.5156 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.05747, allocations: 47.91 kB / 188.6 MB, free: 480 kB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.05749, allocations: 7.953 kB / 188.6 MB, free: 472 kB / 154.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003763/0.05787, allocations: 153.5 kB / 188.8 MB, free: 312 kB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.05791, allocations: 4 kB / 188.8 MB, free: 308 kB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.938e-06/0.05793, allocations: 4 kB / 188.8 MB, free: 304 kB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.05795, allocations: 0 / 188.8 MB, free: 304 kB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.05816, allocations: 43.92 kB / 188.8 MB, free: 260 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.218e-06/0.05818, allocations: 0 / 188.8 MB, free: 260 kB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.0583, allocations: 8.188 kB / 188.8 MB, free: 252 kB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.05833, allocations: 4 kB / 188.8 MB, free: 248 kB / 154.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 0.000147/0.05849, allocations: 145.8 kB / 189 MB, free: 92 kB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.05855, allocations: 15.77 kB / 189 MB, free: 76 kB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.05859, allocations: 8.719 kB / 189 MB, free: 68 kB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.05861, allocations: 4 kB / 189 MB, free: 64 kB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.777e-06/0.05862, allocations: 0 / 189 MB, free: 64 kB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.05864, allocations: 0 / 189 MB, free: 64 kB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.05943, allocations: 428.1 kB / 189.4 MB, free: 15.58 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-06/0.05945, allocations: 64 / 189.4 MB, free: 15.58 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.05964, allocations: 31.92 kB / 189.5 MB, free: 15.55 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.051e-06/0.05966, allocations: 0 / 189.5 MB, free: 15.55 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.05968, allocations: 4 kB / 189.5 MB, free: 15.55 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.973e-06/0.0597, allocations: 0 / 189.5 MB, free: 15.55 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-06/0.05971, allocations: 7.922 kB / 189.5 MB, free: 15.54 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.06016, allocations: 249 kB / 189.7 MB, free: 15.27 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.06026, allocations: 93.03 kB / 189.8 MB, free: 15.16 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.0603, allocations: 4 kB / 189.8 MB, free: 15.16 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.06044, allocations: 8.062 kB / 189.8 MB, free: 15.15 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.06049, allocations: 7.984 kB / 189.8 MB, free: 15.14 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.06051, allocations: 4 kB / 189.8 MB, free: 15.14 MB / 170.7 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.06061, allocations: 99.83 kB / 189.9 MB, free: 15.04 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.06062, allocations: 0 / 189.9 MB, free: 15.04 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.061, allocations: 24 kB / 189.9 MB, free: 15.02 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 0.0001329/0.06115, allocations: 99.61 kB / 190 MB, free: 14.91 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.06145, allocations: 91.83 kB / 190.1 MB, free: 14.82 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.864e-06/0.06147, allocations: 0 / 190.1 MB, free: 14.82 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.06159, allocations: 35.98 kB / 190.2 MB, free: 14.79 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.06188, allocations: 18.64 kB / 190.2 MB, free: 14.77 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.06284, allocations: 0.4961 MB / 190.7 MB, free: 14.23 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.06327, allocations: 0.716 MB / 191.4 MB, free: 13.49 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.06333, allocations: 15.44 kB / 191.4 MB, free: 13.48 MB / 170.7 MB Notification: Performance of SimCode: time 1.412e-06/0.06335, allocations: 0 / 191.4 MB, free: 13.48 MB / 170.7 MB Notification: Performance of Templates: time 0.003442/0.0668, allocations: 1.309 MB / 192.7 MB, free: 12.16 MB / 170.7 MB