Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09429, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002818/0.09718, allocations: 1.566 MB / 274.2 MB, free: 9.965 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.09862, allocations: 0.6087 MB / 274.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.09877, allocations: 7.938 kB / 274.8 MB, free: 9.348 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.09883, allocations: 23.78 kB / 274.8 MB, free: 9.324 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.09911, allocations: 79.77 kB / 274.9 MB, free: 9.246 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.09942, allocations: 59.92 kB / 275 MB, free: 9.188 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.09978, allocations: 183.6 kB / 275.2 MB, free: 9.008 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.09995, allocations: 45.64 kB / 275.2 MB, free: 8.961 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1001, allocations: 95.67 kB / 275.3 MB, free: 8.867 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1004, allocations: 115.6 kB / 275.4 MB, free: 8.754 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.1004, allocations: 15.94 kB / 275.4 MB, free: 8.738 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.145e-05/0.1005, allocations: 12 kB / 275.4 MB, free: 8.727 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.1006, allocations: 39.88 kB / 275.5 MB, free: 8.688 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.1006, allocations: 65.58 kB / 275.5 MB, free: 8.617 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1009, allocations: 175.8 kB / 275.7 MB, free: 8.445 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1009, allocations: 0 / 275.7 MB, free: 8.445 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.101, allocations: 4 kB / 275.7 MB, free: 8.441 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.101, allocations: 0 / 275.7 MB, free: 8.441 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.001594/0.1026, allocations: 0.5337 MB / 276.2 MB, free: 7.859 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1026, allocations: 8.031 kB / 276.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.1027, allocations: 19.81 kB / 276.3 MB, free: 7.832 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1031, allocations: 227.2 kB / 276.5 MB, free: 7.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/0.1034, allocations: 73.62 kB / 276.6 MB, free: 7.492 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.1035, allocations: 19.91 kB / 276.6 MB, free: 7.473 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009425/0.1044, allocations: 263.2 kB / 276.8 MB, free: 7.203 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.1045, allocations: 3.984 kB / 276.8 MB, free: 7.199 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1045, allocations: 4 kB / 276.8 MB, free: 7.195 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1045, allocations: 4 kB / 276.9 MB, free: 7.191 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1058, allocations: 268.2 kB / 277.1 MB, free: 6.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.1072, allocations: 0.6705 MB / 277.8 MB, free: 6.203 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1083, allocations: 269 kB / 278 MB, free: 5.922 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1084, allocations: 4 kB / 278.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1084, allocations: 38.69 kB / 278.1 MB, free: 5.871 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 3.156e-06/0.1084, allocations: 0 / 278.1 MB, free: 5.871 MB / 234.7 MB Notification: Performance of matching and sorting (n=25): time 0.004844/0.1133, allocations: 1.55 MB / 279.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.1134, allocations: 81.05 kB / 279.7 MB, free: 4.043 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1136, allocations: 160.1 kB / 279.9 MB, free: 3.871 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.1136, allocations: 33.7 kB / 279.9 MB, free: 3.832 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.1137, allocations: 116.4 kB / 280 MB, free: 3.715 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1139, allocations: 98.58 kB / 280.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.1139, allocations: 11.94 kB / 280.1 MB, free: 3.605 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1141, allocations: 327.8 kB / 280.4 MB, free: 3.277 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.1144, allocations: 71.95 kB / 280.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.1147, allocations: 103.4 kB / 280.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.1151, allocations: 84.11 kB / 280.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1151, allocations: 0 / 280.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008318/0.1159, allocations: 249.2 kB / 280.9 MB, free: 2.762 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.116, allocations: 7.953 kB / 281 MB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.116, allocations: 3.984 kB / 281 MB, free: 2.75 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.116, allocations: 4 kB / 281 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/0.1168, allocations: 99.94 kB / 281.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1168, allocations: 7.938 kB / 281.1 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.1171, allocations: 19.98 kB / 281.1 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1171, allocations: 4 kB / 281.1 MB, free: 2.617 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.0001749/0.1173, allocations: 137.7 kB / 281.2 MB, free: 2.473 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.1174, allocations: 23.81 kB / 281.2 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.1175, allocations: 29.47 kB / 281.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1175, allocations: 0 / 281.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1175, allocations: 0 / 281.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.1177, allocations: 108.9 kB / 281.4 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.1177, allocations: 7.984 kB / 281.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007395/0.1185, allocations: 63.95 kB / 281.5 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.1186, allocations: 19.95 kB / 281.5 MB, free: 2.211 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002099/0.1207, allocations: 0.513 MB / 282 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002177/0.1229, allocations: 0.7006 MB / 282.7 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006548/0.1236, allocations: 139.9 kB / 282.8 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1238, allocations: 128.2 kB / 282.9 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of Backend: time 6.01e-07/0.1238, allocations: 0 / 282.9 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000744/0.1245, allocations: 191.4 kB / 283.1 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of SimCode: time 0.001746/0.1263, allocations: 1.143 MB / 284.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of Templates: time 0.008107/0.1345, allocations: 2.389 MB / 286.7 MB, free: 12.95 MB / 250.7 MB