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.CoupledClutches.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.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 11.98 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09308, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004192/0.09732, allocations: 2.442 MB / 311.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1, allocations: 1.061 MB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.1004, allocations: 8 kB / 312.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1006, allocations: 47.61 kB / 312.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.1011, allocations: 171.5 kB / 312.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.1019, allocations: 215.6 kB / 313 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.1028, allocations: 496.7 kB / 313.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.1031, allocations: 107.1 kB / 313.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.1037, allocations: 307 kB / 313.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.1043, allocations: 342.8 kB / 314.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.1044, allocations: 28 kB / 314.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.1047, allocations: 67.97 kB / 314.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1049, allocations: 123.6 kB / 314.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1051, allocations: 113.4 kB / 314.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007813/0.1059, allocations: 499 kB / 315 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1059, allocations: 4 kB / 315 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1059, allocations: 0 / 315 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1059, allocations: 0 / 315 MB, free: 10.35 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00255/0.1085, allocations: 0.8222 MB / 315.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1085, allocations: 8.031 kB / 315.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.1087, allocations: 59.34 kB / 315.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.1094, allocations: 346.6 kB / 316.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.1094, allocations: 37 kB / 316.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.1096, allocations: 47.89 kB / 316.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.1114, allocations: 0.615 MB / 317 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.1115, allocations: 12 kB / 317 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.1116, allocations: 16 kB / 317 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.1116, allocations: 8 kB / 317 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.1138, allocations: 0.6129 MB / 317.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.1175, allocations: 1.371 MB / 319 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.1192, allocations: 477.3 kB / 319.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.511e-05/0.1193, allocations: 4.562 kB / 319.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1193, allocations: 43.11 kB / 319.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.726e-06/0.1193, allocations: 0 / 319.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=64): time 0.01101/0.1303, allocations: 3.018 MB / 322.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1304, allocations: 59.97 kB / 322.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.131, allocations: 337.5 kB / 322.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.1311, allocations: 45.7 kB / 322.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1313, allocations: 189.3 kB / 323.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.1316, allocations: 232.9 kB / 323.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.1317, allocations: 16 kB / 323.4 MB, free: 1.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1319, allocations: 354.7 kB / 323.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.133, allocations: 325.8 kB / 324 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.1342, allocations: 385 kB / 324.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.1351, allocations: 259.1 kB / 324.7 MB, free: 352 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1352, allocations: 8 kB / 324.7 MB, free: 344 kB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003075/0.1382, allocations: 0.9355 MB / 325.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1383, allocations: 8 kB / 325.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1383, allocations: 0 / 325.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.1404, allocations: 0.7357 MB / 326.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.1412, allocations: 99.89 kB / 326.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.1436, allocations: 1.095 MB / 327.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.1449, allocations: 147.9 kB / 327.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.145, allocations: 31.98 kB / 327.7 MB, free: 13.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch1.free,$PRE.clutch1.startForward,clutch1.startForward,$PRE.clutch1.startBackward,clutch1.startBackward,clutch1.locked,$PRE.clutch1.mode,clutch1.mode,clutch2.free,$PRE.clutch2.startForward,clutch2.startForward,$PRE.clutch2.startBackward,clutch2.startBackward,clutch2.locked,$PRE.clutch2.mode,clutch2.mode,clutch3.free,$PRE.clutch3.startForward,clutch3.startForward,$PRE.clutch3.startBackward,clutch3.startBackward,clutch3.locked,$PRE.clutch3.mode,clutch3.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.000359/0.1454, allocations: 184 kB / 327.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.1455, allocations: 51.39 kB / 328 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.1458, allocations: 68.75 kB / 328 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1458, allocations: 3.984 kB / 328 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1458, allocations: 0 / 328 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.1462, allocations: 188.4 kB / 328.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.1464, allocations: 23.98 kB / 328.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.1476, allocations: 147.9 kB / 328.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/0.1481, allocations: 144.2 kB / 328.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004332/0.1524, allocations: 1.001 MB / 329.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003375/0.1558, allocations: 1.171 MB / 330.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001033/0.1569, allocations: 316.3 kB / 331 MB, free: 9.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003452/0.1573, allocations: 235.2 kB / 331.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of Backend: time 7.41e-07/0.1573, allocations: 0 / 331.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.1594, allocations: 0.6063 MB / 331.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of SimCode: time 0.00342/0.1629, allocations: 2.006 MB / 333.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of Templates: time 0.02816/0.191, allocations: 11.32 MB / 345.2 MB, free: 11.7 MB / 298.7 MB