Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.0905, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003257/0.09381, allocations: 1.883 MB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.09569, allocations: 0.7381 MB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.09593, allocations: 7.938 kB / 311.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.346e-05/0.09602, allocations: 27.77 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.0964, allocations: 127.7 kB / 311.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.09686, allocations: 83.83 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.09742, allocations: 299.4 kB / 312.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.09764, allocations: 69.12 kB / 312.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.09797, allocations: 159.5 kB / 312.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.09835, allocations: 179.4 kB / 312.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.09845, allocations: 24 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.09856, allocations: 20 kB / 312.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.09867, allocations: 67.72 kB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.09879, allocations: 81.58 kB / 312.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.09927, allocations: 295.5 kB / 313.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09929, allocations: 0 / 313.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.0993, allocations: 0 / 313.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.09932, allocations: 0 / 313.1 MB, free: 12.3 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.002449/0.1018, allocations: 0.6704 MB / 313.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1018, allocations: 8.031 kB / 313.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.102, allocations: 31.62 kB / 313.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.1025, allocations: 270.5 kB / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006301/0.1031, allocations: 135.9 kB / 314.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1033, allocations: 27.91 kB / 314.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.105, allocations: 408 kB / 314.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.1051, allocations: 0 / 314.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/0.1051, allocations: 12 kB / 314.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1051, allocations: 4 kB / 314.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.1075, allocations: 468.6 kB / 315.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.1097, allocations: 0.9776 MB / 316.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.1118, allocations: 447.6 kB / 316.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.1119, allocations: 4 kB / 316.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.112, allocations: 38.56 kB / 316.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 4.319e-06/0.112, allocations: 448 / 316.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.009076/0.1211, allocations: 2.523 MB / 319.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.1212, allocations: 106.8 kB / 319.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.1215, allocations: 205.2 kB / 319.4 MB, free: 5.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.1216, allocations: 29.7 kB / 319.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1218, allocations: 148.6 kB / 319.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.122, allocations: 141.9 kB / 319.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.122, allocations: 4 kB / 319.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.1222, allocations: 342.8 kB / 320 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/0.1228, allocations: 112.8 kB / 320.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.1234, allocations: 173.4 kB / 320.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.1241, allocations: 135.8 kB / 320.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1241, allocations: 0 / 320.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001444/0.1255, allocations: 373.1 kB / 320.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.1256, allocations: 11.95 kB / 320.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1256, allocations: 0 / 320.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.1256, allocations: 4 kB / 320.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.127, allocations: 167.8 kB / 321 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.1271, allocations: 7.984 kB / 321 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.1275, allocations: 27.98 kB / 321 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.1275, allocations: 12 kB / 321 MB, free: 3.797 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.0002304/0.1278, allocations: 145.7 kB / 321.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1279, allocations: 27.72 kB / 321.2 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.128, allocations: 41.47 kB / 321.2 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1281, allocations: 0 / 321.2 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1281, allocations: 3.984 kB / 321.3 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.1283, allocations: 128.7 kB / 321.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.1284, allocations: 12 kB / 321.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.1297, allocations: 127.9 kB / 321.5 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.1299, allocations: 35.94 kB / 321.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003416/0.1333, allocations: 0.8232 MB / 322.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00384/0.1372, allocations: 1.086 MB / 323.5 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001264/0.1385, allocations: 256 kB / 323.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1388, allocations: 147.5 kB / 323.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of Backend: time 6.21e-07/0.1388, allocations: 0 / 323.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.14, allocations: 262.3 kB / 324.1 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of SimCode: time 0.002619/0.1426, allocations: 1.438 MB / 325.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of Templates: time 0.01602/0.1587, allocations: 3.808 MB / 329.4 MB, free: 11.38 MB / 282.7 MB