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.Rotational.Examples.Backlash.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.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.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.573/1.573, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003566, allocations: 12 kB / 233.2 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06874/0.06912, allocations: 38.77 MB / 271.9 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002557/0.07173, allocations: 1.567 MB / 273.5 MB, free: 8.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.07299, allocations: 0.6009 MB / 274.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.07312, allocations: 4 kB / 274.1 MB, free: 7.914 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.343e-05/0.07318, allocations: 23.78 kB / 274.1 MB, free: 7.891 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.07343, allocations: 75.77 kB / 274.2 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.07372, allocations: 59.92 kB / 274.3 MB, free: 7.758 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.07402, allocations: 195.5 kB / 274.4 MB, free: 7.566 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.07417, allocations: 37.66 kB / 274.5 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.07436, allocations: 99.67 kB / 274.6 MB, free: 7.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.07455, allocations: 111.6 kB / 274.7 MB, free: 7.32 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.07461, allocations: 15.94 kB / 274.7 MB, free: 7.305 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.07467, allocations: 12 kB / 274.7 MB, free: 7.293 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.07473, allocations: 43.83 kB / 274.8 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.07482, allocations: 61.64 kB / 274.8 MB, free: 7.184 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.07509, allocations: 179.7 kB / 275 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.908e-06/0.07511, allocations: 7.938 kB / 275 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.07512, allocations: 0 / 275 MB, free: 7 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.07514, allocations: 0 / 275 MB, free: 7 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001196/0.07634, allocations: 0.5299 MB / 275.5 MB, free: 6.422 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.07639, allocations: 8.031 kB / 275.5 MB, free: 6.414 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.07648, allocations: 19.81 kB / 275.6 MB, free: 6.395 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.07683, allocations: 230.5 kB / 275.8 MB, free: 6.133 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.07709, allocations: 73.62 kB / 275.9 MB, free: 6.055 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.07716, allocations: 19.91 kB / 275.9 MB, free: 6.035 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/0.07794, allocations: 271.1 kB / 276.1 MB, free: 5.758 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.07798, allocations: 0 / 276.1 MB, free: 5.758 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.07802, allocations: 4 kB / 276.1 MB, free: 5.754 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.316e-06/0.07804, allocations: 4 kB / 276.1 MB, free: 5.75 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.07901, allocations: 256.4 kB / 276.4 MB, free: 5.5 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.08029, allocations: 0.6821 MB / 277.1 MB, free: 4.762 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/0.08121, allocations: 269.1 kB / 277.3 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.08125, allocations: 4 kB / 277.3 MB, free: 4.477 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.0813, allocations: 38.55 kB / 277.4 MB, free: 4.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 3.678e-06/0.08132, allocations: 0 / 277.4 MB, free: 4.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=25): time 0.004056/0.08538, allocations: 1.549 MB / 278.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.08549, allocations: 81.3 kB / 279 MB, free: 2.605 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.08572, allocations: 160.1 kB / 279.2 MB, free: 2.434 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.08577, allocations: 33.64 kB / 279.2 MB, free: 2.395 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.08591, allocations: 186.8 kB / 279.4 MB, free: 2.211 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.08603, allocations: 90.66 kB / 279.5 MB, free: 2.121 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.08606, allocations: 7.938 kB / 279.5 MB, free: 2.113 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.08624, allocations: 322.8 kB / 279.8 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.08651, allocations: 67.95 kB / 279.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.08682, allocations: 115.3 kB / 280 MB, free: 1.598 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.08711, allocations: 84.05 kB / 280.1 MB, free: 1.516 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-06/0.08713, allocations: 0 / 280.1 MB, free: 1.516 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007009/0.08784, allocations: 233.4 kB / 280.3 MB, free: 1.281 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.08789, allocations: 11.95 kB / 280.3 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.08791, allocations: 4.047 kB / 280.3 MB, free: 1.266 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.08795, allocations: 4 kB / 280.3 MB, free: 1.262 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.0885, allocations: 91.88 kB / 280.4 MB, free: 1.172 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.992e-06/0.08853, allocations: 8 kB / 280.4 MB, free: 1.164 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.08873, allocations: 19.98 kB / 280.4 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.08877, allocations: 12 kB / 280.4 MB, free: 1.133 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 31 * 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.0002032/0.08898, allocations: 129.8 kB / 280.6 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.08909, allocations: 15.81 kB / 280.6 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.08916, allocations: 33.47 kB / 280.6 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.542e-06/0.08919, allocations: 8 kB / 280.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.719e-06/0.0892, allocations: 0 / 280.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.868e-06/0.08922, allocations: 0 / 280.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1727/0.2619, allocations: 0.9241 MB / 281.5 MB, free: 15.26 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.943e-06/0.262, allocations: 0.9688 kB / 281.5 MB, free: 15.26 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/0.2627, allocations: 114.6 kB / 281.7 MB, free: 15.26 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.2627, allocations: 3.375 kB / 281.7 MB, free: 15.26 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.2627, allocations: 9.141 kB / 281.7 MB, free: 15.26 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.256e-06/0.2627, allocations: 6 kB / 281.7 MB, free: 15.26 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.691e-06/0.2628, allocations: 3.234 kB / 281.7 MB, free: 15.26 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.2644, allocations: 0.6526 MB / 282.3 MB, free: 15.02 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2645, allocations: 115.2 kB / 282.4 MB, free: 14.93 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.2646, allocations: 5.547 kB / 282.4 MB, free: 14.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.2649, allocations: 35.62 kB / 282.5 MB, free: 14.93 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.265, allocations: 23.94 kB / 282.5 MB, free: 14.93 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.2651, allocations: 9.781 kB / 282.5 MB, free: 14.93 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.2652, allocations: 124.7 kB / 282.6 MB, free: 14.85 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.2652, allocations: 0 / 282.6 MB, free: 14.85 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.2657, allocations: 53.12 kB / 282.7 MB, free: 14.85 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (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 (25): * Single equations (assignments): 25 * 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.0001136/0.2659, allocations: 108.5 kB / 282.8 MB, free: 14.76 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008043/0.2667, allocations: 236.4 kB / 283 MB, free: 14.76 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.262e-06/0.2667, allocations: 2.25 kB / 283 MB, free: 14.76 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.2672, allocations: 158.5 kB / 283.2 MB, free: 14.75 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.2678, allocations: 44.62 kB / 283.2 MB, free: 14.75 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.2723, allocations: 1.306 MB / 284.5 MB, free: 14.23 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2725, allocations: 0.7446 MB / 285.3 MB, free: 13.53 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2727, allocations: 27.34 kB / 285.3 MB, free: 13.52 MB / 234.7 MB Notification: Performance of SimCode: time 1.569e-06/0.2727, allocations: 0 / 285.3 MB, free: 13.52 MB / 234.7 MB Notification: Performance of Templates: time 0.005705/0.2784, allocations: 2.487 MB / 287.8 MB, free: 13.33 MB / 234.7 MB