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.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005832/0.0005832, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.07996, allocations: 44.5 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002796/0.08281, allocations: 1.883 MB / 310.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.0843, allocations: 0.7419 MB / 311 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.08446, allocations: 4 kB / 311 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.741e-05/0.08454, allocations: 31.7 kB / 311 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.08485, allocations: 119.7 kB / 311.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.08523, allocations: 95.77 kB / 311.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.08567, allocations: 295.4 kB / 311.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.08585, allocations: 61.12 kB / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.08611, allocations: 163.5 kB / 311.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.08639, allocations: 179.4 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.08647, allocations: 20 kB / 311.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.08656, allocations: 20 kB / 311.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.08665, allocations: 67.78 kB / 312 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.08677, allocations: 85.52 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.08717, allocations: 287.5 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.08719, allocations: 4 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.897e-06/0.0872, allocations: 0 / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.586e-06/0.08722, allocations: 0 / 312.4 MB, free: 12.98 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001667/0.08889, allocations: 0.6705 MB / 313 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.08894, allocations: 15.97 kB / 313.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.08905, allocations: 31.62 kB / 313.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.08949, allocations: 262.6 kB / 313.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.08992, allocations: 135.8 kB / 313.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/0.09002, allocations: 31.91 kB / 313.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.09121, allocations: 411.9 kB / 313.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.09126, allocations: 11.98 kB / 313.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.09132, allocations: 8 kB / 313.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.09134, allocations: 8 kB / 313.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.09298, allocations: 456.7 kB / 314.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.0948, allocations: 0.9737 MB / 315.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.09627, allocations: 451.6 kB / 315.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.09632, allocations: 7.938 kB / 315.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.09637, allocations: 42.55 kB / 315.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.267e-06/0.09638, allocations: 0 / 315.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.006454/0.1028, allocations: 2.512 MB / 318.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.103, allocations: 114.8 kB / 318.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1033, allocations: 196.3 kB / 318.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.1033, allocations: 33.7 kB / 318.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1035, allocations: 203.1 kB / 318.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1036, allocations: 141.9 kB / 319 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.1037, allocations: 11.94 kB / 319.1 MB, free: 5.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1039, allocations: 326.8 kB / 319.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.1043, allocations: 112.8 kB / 319.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.1048, allocations: 169.4 kB / 319.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.1052, allocations: 127.9 kB / 319.8 MB, free: 5.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-06/0.1052, allocations: 4 kB / 319.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001066/0.1063, allocations: 361.4 kB / 320.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1063, allocations: 11.95 kB / 320.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.755e-06/0.1063, allocations: 7.922 kB / 320.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1064, allocations: 8.094 kB / 320.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.1073, allocations: 167.8 kB / 320.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1073, allocations: 4 kB / 320.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.1076, allocations: 28.92 kB / 320.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.1076, allocations: 12 kB / 320.4 MB, free: 4.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (47): * Single equations (assignments): 47 * 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.0002161/0.1078, allocations: 145.8 kB / 320.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.108, allocations: 27.62 kB / 320.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.991e-05/0.1081, allocations: 37.48 kB / 320.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-06/0.1081, allocations: 4 kB / 320.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.8e-06/0.1081, allocations: 7.984 kB / 320.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.203e-06/0.1082, allocations: 0 / 320.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.1114, allocations: 1.393 MB / 322 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.1115, allocations: 4 kB / 322 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.1126, allocations: 212 kB / 322.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.1126, allocations: 4 kB / 322.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.1127, allocations: 8 kB / 322.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.513e-06/0.1127, allocations: 7.953 kB / 322.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.1127, allocations: 11.92 kB / 322.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.1154, allocations: 1.038 MB / 323.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.1156, allocations: 132.7 kB / 323.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.1157, allocations: 16 kB / 323.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.1163, allocations: 59.95 kB / 323.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1164, allocations: 43.89 kB / 323.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.1165, allocations: 15.98 kB / 323.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1167, allocations: 151.5 kB / 323.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.1167, allocations: 0 / 323.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006086/0.1173, allocations: 84 kB / 323.7 MB, free: 0.8828 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * 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 (38): * Single equations (assignments): 38 * 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.0001551/0.1175, allocations: 107.2 kB / 323.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.1188, allocations: 407.6 kB / 324.3 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.114e-06/0.1188, allocations: 0 / 324.3 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009487/0.1197, allocations: 288 kB / 324.5 MB, free: 92 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.1204, allocations: 48.92 kB / 324.6 MB, free: 40 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/0.1268, allocations: 1.77 MB / 326.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.1274, allocations: 0.784 MB / 327.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1276, allocations: 35.42 kB / 327.2 MB, free: 13.37 MB / 282.7 MB Notification: Performance of SimCode: time 1.908e-06/0.1276, allocations: 0 / 327.2 MB, free: 13.37 MB / 282.7 MB Notification: Performance of Templates: time 0.007945/0.1356, allocations: 3.724 MB / 330.9 MB, free: 9.652 MB / 282.7 MB