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.ElasticBearing.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.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005374, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.119, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00463/0.1236, allocations: 1.901 MB / 311 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1253, allocations: 0.5896 MB / 311.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.1255, allocations: 7.938 kB / 311.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.994e-05/0.1256, allocations: 27.78 kB / 311.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.126, allocations: 83.8 kB / 311.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1262, allocations: 47.94 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.1267, allocations: 199.5 kB / 311.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.1271, allocations: 85.78 kB / 312 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.1273, allocations: 91.7 kB / 312.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1275, allocations: 103.5 kB / 312.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.1276, allocations: 12 kB / 312.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.858e-05/0.1277, allocations: 12 kB / 312.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.1278, allocations: 43.83 kB / 312.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1279, allocations: 73.52 kB / 312.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.1283, allocations: 215.6 kB / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1283, allocations: 0 / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1284, allocations: 4 kB / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1284, allocations: 0 / 312.5 MB, free: 12.87 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001247/0.1296, allocations: 0.499 MB / 313 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1297, allocations: 8.031 kB / 313 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1298, allocations: 43.56 kB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.1303, allocations: 235.2 kB / 313.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.1303, allocations: 16.56 kB / 313.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.1305, allocations: 28 kB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/0.1314, allocations: 224.9 kB / 313.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.1314, allocations: 0 / 313.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.1315, allocations: 12 kB / 313.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1315, allocations: 8 kB / 313.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.1325, allocations: 186.1 kB / 313.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1349, allocations: 0.7733 MB / 314.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009555/0.1359, allocations: 226.7 kB / 314.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1359, allocations: 448 / 314.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.136, allocations: 38.56 kB / 314.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/0.136, allocations: 0 / 314.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.003613/0.1396, allocations: 0.9846 MB / 315.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1397, allocations: 59.41 kB / 315.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.14, allocations: 155.7 kB / 316 MB, free: 9.113 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.14, allocations: 33.7 kB / 316 MB, free: 9.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1402, allocations: 144.5 kB / 316.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1403, allocations: 98.56 kB / 316.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1404, allocations: 8 kB / 316.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1406, allocations: 330.8 kB / 316.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.141, allocations: 83.95 kB / 316.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.1415, allocations: 103.4 kB / 316.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.142, allocations: 99.97 kB / 316.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.142, allocations: 0 / 316.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001124/0.1432, allocations: 277.2 kB / 317.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1432, allocations: 9.906 kB / 317.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1432, allocations: 4 kB / 317.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1433, allocations: 0 / 317.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.144, allocations: 83.89 kB / 317.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.144, allocations: 0 / 317.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.1444, allocations: 15.98 kB / 317.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.1444, allocations: 15.94 kB / 317.3 MB, free: 7.793 MB / 266.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 (35): * Single equations (assignments): 35 * 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.0002281/0.1446, allocations: 141.8 kB / 317.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.1448, allocations: 19.77 kB / 317.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.7e-05/0.1449, allocations: 26.56 kB / 317.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.1449, allocations: 3.984 kB / 317.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1449, allocations: 0 / 317.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/0.145, allocations: 88.92 kB / 317.6 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.1451, allocations: 4 kB / 317.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.1454, allocations: 19.98 kB / 317.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.1455, allocations: 15.97 kB / 317.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001663/0.1472, allocations: 372.9 kB / 318 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001651/0.1489, allocations: 0.5224 MB / 318.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004581/0.1494, allocations: 104 kB / 318.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1495, allocations: 123.7 kB / 318.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of Backend: time 9.02e-07/0.1496, allocations: 0 / 318.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009514/0.1505, allocations: 206.2 kB / 318.9 MB, free: 6.109 MB / 266.7 MB Notification: Performance of SimCode: time 0.002869/0.1534, allocations: 1.375 MB / 320.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of Templates: time 0.01048/0.1639, allocations: 2.244 MB / 322.5 MB, free: 2.453 MB / 266.7 MB