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.CoupledClutches.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.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.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadModel(Modelica): time 1.61/1.61, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.07936, allocations: 38.79 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004234/0.08364, allocations: 2.449 MB / 275.1 MB, free: 9.066 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.0864, allocations: 1.057 MB / 276.1 MB, free: 8.008 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.08675, allocations: 4 kB / 276.1 MB, free: 8.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.08697, allocations: 55.55 kB / 276.2 MB, free: 7.949 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.08746, allocations: 167.5 kB / 276.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.08826, allocations: 207.6 kB / 276.6 MB, free: 7.582 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.08919, allocations: 484.7 kB / 277 MB, free: 7.109 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.08952, allocations: 111 kB / 277.1 MB, free: 6.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.09016, allocations: 295 kB / 277.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.09074, allocations: 326.8 kB / 277.8 MB, free: 6.387 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.09088, allocations: 32 kB / 277.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.09128, allocations: 119.9 kB / 277.9 MB, free: 6.238 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.09149, allocations: 115.6 kB / 278 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.09168, allocations: 125.3 kB / 278.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.09252, allocations: 0.4912 MB / 278.6 MB, free: 5.504 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09255, allocations: 0 / 278.6 MB, free: 5.504 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.09256, allocations: 0 / 278.6 MB, free: 5.504 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.09258, allocations: 0 / 278.6 MB, free: 5.504 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002698/0.09529, allocations: 0.8222 MB / 279.5 MB, free: 4.633 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.09536, allocations: 15.97 kB / 279.5 MB, free: 4.617 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.09559, allocations: 63.33 kB / 279.5 MB, free: 4.555 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.09625, allocations: 334.7 kB / 279.9 MB, free: 4.191 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.09633, allocations: 36.95 kB / 279.9 MB, free: 4.156 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.09649, allocations: 47.91 kB / 279.9 MB, free: 4.109 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.09835, allocations: 0.6033 MB / 280.5 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.09843, allocations: 0 / 280.5 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.09852, allocations: 23.98 kB / 280.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.09855, allocations: 12 kB / 280.6 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1007, allocations: 0.5856 MB / 281.2 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.1047, allocations: 1.34 MB / 282.5 MB, free: 1.473 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.1064, allocations: 453.3 kB / 282.9 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-05/0.1065, allocations: 16.55 kB / 283 MB, free: 1.008 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1066, allocations: 35.12 kB / 283 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of pre-optimization done (n=58): time 5.691e-06/0.1066, allocations: 3.984 kB / 283 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of matching and sorting (n=64): time 0.0115/0.1181, allocations: 3.041 MB / 286 MB, free: 13.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1182, allocations: 55.97 kB / 286.1 MB, free: 13.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.1187, allocations: 329.7 kB / 286.4 MB, free: 13.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.1189, allocations: 49.69 kB / 286.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1191, allocations: 197.2 kB / 286.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.1194, allocations: 229 kB / 286.9 MB, free: 12.9 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.1195, allocations: 8 kB / 286.9 MB, free: 12.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1197, allocations: 358.8 kB / 287.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.1208, allocations: 317.9 kB / 287.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.1221, allocations: 377 kB / 287.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.123, allocations: 243.2 kB / 288.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.123, allocations: 0 / 288.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002997/0.126, allocations: 0.9043 MB / 289.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.1261, allocations: 4 kB / 289.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1261, allocations: 4 kB / 289.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.1278, allocations: 0.5367 MB / 289.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/0.1286, allocations: 107.8 kB / 289.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.1309, allocations: 1.052 MB / 290.8 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.1324, allocations: 147.8 kB / 290.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/0.1325, allocations: 24 kB / 290.9 MB, free: 8.793 MB / 250.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.0004202/0.1329, allocations: 188 kB / 291.1 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.1331, allocations: 47.44 kB / 291.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.1333, allocations: 68.75 kB / 291.2 MB, free: 8.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.1333, allocations: 7.984 kB / 291.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1334, allocations: 0 / 291.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.1337, allocations: 176.4 kB / 291.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.1339, allocations: 28 kB / 291.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.1352, allocations: 143.8 kB / 291.6 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/0.1357, allocations: 148.2 kB / 291.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004337/0.1401, allocations: 0.9753 MB / 292.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003295/0.1434, allocations: 1.132 MB / 293.8 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001036/0.1445, allocations: 308.3 kB / 294.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003687/0.1449, allocations: 231.2 kB / 294.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of Backend: time 5.41e-07/0.1449, allocations: 0 / 294.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.1472, allocations: 0.5945 MB / 295 MB, free: 4.715 MB / 250.7 MB Notification: Performance of SimCode: time 0.003666/0.1509, allocations: 2.038 MB / 297 MB, free: 2.625 MB / 250.7 MB Notification: Performance of Templates: time 0.2319/0.3829, allocations: 10.35 MB / 307.3 MB, free: 29.21 MB / 250.7 MB