Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.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.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.672/1.672, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 15.98 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07876, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004529/0.08334, allocations: 2.783 MB / 275.4 MB, free: 8.734 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.08555, allocations: 0.8654 MB / 276.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.08585, allocations: 11.94 kB / 276.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.08599, allocations: 55.53 kB / 276.3 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.08647, allocations: 175.5 kB / 276.5 MB, free: 7.625 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.087, allocations: 123.7 kB / 276.6 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006802/0.0877, allocations: 395.8 kB / 277 MB, free: 7.117 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.08806, allocations: 162 kB / 277.2 MB, free: 6.957 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.08841, allocations: 199.3 kB / 277.4 MB, free: 6.762 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.08883, allocations: 239 kB / 277.6 MB, free: 6.527 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.08893, allocations: 31.94 kB / 277.6 MB, free: 6.496 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.08906, allocations: 28 kB / 277.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.08918, allocations: 83.66 kB / 277.7 MB, free: 6.387 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.08935, allocations: 113.5 kB / 277.9 MB, free: 6.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.08996, allocations: 431 kB / 278.3 MB, free: 5.848 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.08998, allocations: 4 kB / 278.3 MB, free: 5.844 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.08999, allocations: 0 / 278.3 MB, free: 5.844 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.09001, allocations: 0 / 278.3 MB, free: 5.844 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002396/0.09241, allocations: 0.7951 MB / 279.1 MB, free: 4.996 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.09248, allocations: 8.031 kB / 279.1 MB, free: 4.988 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.09264, allocations: 59.34 kB / 279.1 MB, free: 4.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.0932, allocations: 322 kB / 279.5 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.09327, allocations: 37 kB / 279.5 MB, free: 4.535 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.09341, allocations: 44 kB / 279.5 MB, free: 4.492 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.09493, allocations: 466.4 kB / 280 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.09498, allocations: 7.906 kB / 280 MB, free: 4.023 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.09506, allocations: 20 kB / 280 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.09508, allocations: 8 kB / 280 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.09697, allocations: 495.7 kB / 280.5 MB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.1006, allocations: 1.398 MB / 281.9 MB, free: 2.055 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.1023, allocations: 0.5503 MB / 282.5 MB, free: 1.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/0.1024, allocations: 16.52 kB / 282.5 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1024, allocations: 43.06 kB / 282.5 MB, free: 1.434 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 3.617e-06/0.1024, allocations: 0 / 282.5 MB, free: 1.434 MB / 234.7 MB Notification: Performance of matching and sorting (n=103): time 0.01461/0.117, allocations: 3.274 MB / 285.8 MB, free: 14.08 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.1172, allocations: 64.41 kB / 285.9 MB, free: 14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.1177, allocations: 251 kB / 286.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/0.1178, allocations: 41.7 kB / 286.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.118, allocations: 201.2 kB / 286.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.1185, allocations: 339 kB / 286.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.1186, allocations: 20 kB / 286.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.1189, allocations: 366.8 kB / 287 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.1203, allocations: 285.8 kB / 287.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.1219, allocations: 361.4 kB / 287.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.1235, allocations: 318.8 kB / 288 MB, free: 11.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1236, allocations: 0 / 288 MB, free: 11.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00392/0.1275, allocations: 0.8171 MB / 288.8 MB, free: 11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.1276, allocations: 4 kB / 288.8 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1276, allocations: 0 / 288.8 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.1276, allocations: 8 kB / 288.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.1299, allocations: 215.7 kB / 289 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.13, allocations: 7.953 kB / 289 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/0.1309, allocations: 63.95 kB / 289.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.1311, allocations: 28 kB / 289.1 MB, free: 10.68 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: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0005048/0.1316, allocations: 193.7 kB / 289.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.1318, allocations: 55.28 kB / 289.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.1321, allocations: 69.41 kB / 289.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.1321, allocations: 11.97 kB / 289.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1322, allocations: 0 / 289.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.1326, allocations: 184.3 kB / 289.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.1328, allocations: 16 kB / 289.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.1337, allocations: 55.97 kB / 289.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.1339, allocations: 60.91 kB / 289.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004755/0.1387, allocations: 0.978 MB / 290.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005848/0.1446, allocations: 1.395 MB / 292.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001771/0.1464, allocations: 407.8 kB / 292.5 MB, free: 7.223 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003921/0.1468, allocations: 178 kB / 292.7 MB, free: 7.051 MB / 250.7 MB Notification: Performance of Backend: time 7.81e-07/0.1469, allocations: 0 / 292.7 MB, free: 7.051 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.1494, allocations: 0.5195 MB / 293.2 MB, free: 6.527 MB / 250.7 MB Notification: Performance of SimCode: time 0.004601/0.154, allocations: 1.926 MB / 295.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of Templates: time 0.2465/0.4005, allocations: 7.065 MB / 302.2 MB, free: 30.64 MB / 250.7 MB