Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003561, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09197, allocations: 44.49 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.003171/0.0952, allocations: 1.932 MB / 311 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.09644, allocations: 0.5003 MB / 311.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.09658, allocations: 4 kB / 311.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.09673, allocations: 31.7 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.09701, allocations: 103.7 kB / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.09753, allocations: 139.8 kB / 311.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.09803, allocations: 295.9 kB / 312 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.09821, allocations: 52.69 kB / 312.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.09852, allocations: 183.4 kB / 312.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.09891, allocations: 215.2 kB / 312.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/0.099, allocations: 20 kB / 312.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.09921, allocations: 59.97 kB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.09935, allocations: 79.7 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.149e-05/0.09946, allocations: 73.58 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.09998, allocations: 311.5 kB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1, allocations: 0 / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1, allocations: 4 kB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1, allocations: 0 / 313 MB, free: 12.38 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001702/0.1017, allocations: 0.6313 MB / 313.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1018, allocations: 8.031 kB / 313.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1019, allocations: 31.62 kB / 313.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.1024, allocations: 275.5 kB / 314 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.1024, allocations: 24.56 kB / 314 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1025, allocations: 32 kB / 314 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1037, allocations: 376.6 kB / 314.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1037, allocations: 0 / 314.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.1038, allocations: 8 kB / 314.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1038, allocations: 11.98 kB / 314.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.1051, allocations: 406 kB / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.1081, allocations: 1.143 MB / 315.9 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.109, allocations: 289.9 kB / 316.2 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.109, allocations: 4.328 kB / 316.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1091, allocations: 47.2 kB / 316.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 4.158e-06/0.1091, allocations: 0 / 316.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.007548/0.1167, allocations: 2.106 MB / 318.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1167, allocations: 55.41 kB / 318.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.1171, allocations: 236.9 kB / 318.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.1172, allocations: 41.7 kB / 318.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1173, allocations: 152.8 kB / 318.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.1175, allocations: 153.9 kB / 319 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.1176, allocations: 12 kB / 319 MB, free: 6.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1178, allocations: 346.8 kB / 319.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.1185, allocations: 209 kB / 319.6 MB, free: 5.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.1192, allocations: 284.8 kB / 319.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.1198, allocations: 172.7 kB / 320 MB, free: 4.996 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.1199, allocations: 4 kB / 320 MB, free: 4.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002485/0.1223, allocations: 0.6886 MB / 320.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.1224, allocations: 8 kB / 320.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1224, allocations: 0 / 320.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.1239, allocations: 497.5 kB / 321.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.1244, allocations: 71.91 kB / 321.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.1264, allocations: 1.398 MB / 322.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/0.1272, allocations: 92.03 kB / 322.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.1273, allocations: 23.98 kB / 322.8 MB, free: 2.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.1276, allocations: 169.7 kB / 322.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1277, allocations: 23.72 kB / 323 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.1279, allocations: 47.31 kB / 323 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1279, allocations: 3.984 kB / 323 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1279, allocations: 0 / 323 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.1282, allocations: 152.7 kB / 323.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.1283, allocations: 20 kB / 323.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.1291, allocations: 95.91 kB / 323.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.1294, allocations: 95.73 kB / 323.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004397/0.1338, allocations: 0.6891 MB / 324.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003626/0.1375, allocations: 0.8355 MB / 324.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009218/0.1385, allocations: 216.4 kB / 325.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.1388, allocations: 168.5 kB / 325.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of Backend: time 9.52e-07/0.1388, allocations: 0 / 325.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.1413, allocations: 433 kB / 325.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of SimCode: time 0.0031/0.1444, allocations: 1.415 MB / 327.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of Templates: time 0.03054/0.175, allocations: 7.246 MB / 334.4 MB, free: 6.465 MB / 282.7 MB