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.PreLoad.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.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.2_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.000497, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09238, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004717/0.09718, allocations: 2.777 MB / 311.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.09942, allocations: 0.8777 MB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.09974, allocations: 11.94 kB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.09989, allocations: 47.59 kB / 312.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.1004, allocations: 179.5 kB / 313 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.1009, allocations: 111.8 kB / 313.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.1016, allocations: 399.7 kB / 313.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.102, allocations: 150.1 kB / 313.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.1023, allocations: 199.4 kB / 313.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.1028, allocations: 239 kB / 314 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.324e-05/0.1029, allocations: 28 kB / 314.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.103, allocations: 28 kB / 314.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1031, allocations: 91.66 kB / 314.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1033, allocations: 113.4 kB / 314.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.1039, allocations: 435 kB / 314.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1039, allocations: 0 / 314.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1039, allocations: 0 / 314.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1039, allocations: 0 / 314.7 MB, free: 10.69 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002482/0.1064, allocations: 0.8028 MB / 315.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1065, allocations: 12.03 kB / 315.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.1067, allocations: 55.39 kB / 315.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.1072, allocations: 314.1 kB / 315.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.1073, allocations: 37 kB / 315.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1074, allocations: 48 kB / 316 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.109, allocations: 462.4 kB / 316.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.109, allocations: 3.906 kB / 316.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.1091, allocations: 23.94 kB / 316.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.1091, allocations: 12 kB / 316.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.111, allocations: 0.4918 MB / 316.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.1147, allocations: 1.382 MB / 318.3 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.1163, allocations: 0.5483 MB / 318.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.595e-05/0.1163, allocations: 12.56 kB / 318.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1164, allocations: 43.06 kB / 318.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 7.294e-06/0.1164, allocations: 0 / 318.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.01321/0.1296, allocations: 3.282 MB / 322.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1297, allocations: 64.41 kB / 322.3 MB, free: 2.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.1301, allocations: 247 kB / 322.5 MB, free: 2.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.1302, allocations: 45.7 kB / 322.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.1304, allocations: 193.2 kB / 322.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.1308, allocations: 354.8 kB / 323.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.1308, allocations: 16 kB / 323.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.131, allocations: 358.8 kB / 323.5 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.1321, allocations: 289.8 kB / 323.7 MB, free: 1.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.1333, allocations: 361.3 kB / 324.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1344, allocations: 314.9 kB / 324.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1344, allocations: 0 / 324.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002535/0.137, allocations: 0.8055 MB / 325.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.137, allocations: 11.95 kB / 325.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.137, allocations: 0 / 325.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.1371, allocations: 4 kB / 325.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.1386, allocations: 219.7 kB / 325.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.1386, allocations: 8 kB / 325.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.1393, allocations: 59.95 kB / 325.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/0.1394, allocations: 28 kB / 325.5 MB, free: 15.54 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: 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.0003373/0.1397, allocations: 189.7 kB / 325.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.1399, allocations: 59.33 kB / 325.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.1401, allocations: 73.36 kB / 325.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.1401, allocations: 7.969 kB / 325.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1401, allocations: 7.938 kB / 325.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1402, allocations: 120.5 kB / 326 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.1404, allocations: 16 kB / 326 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.1411, allocations: 55.95 kB / 326.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.1412, allocations: 60.92 kB / 326.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003534/0.1448, allocations: 0.9819 MB / 327.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003963/0.1487, allocations: 1.399 MB / 328.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001181/0.1499, allocations: 399.8 kB / 328.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.1502, allocations: 174 kB / 329.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of Backend: time 5.62e-07/0.1502, allocations: 3.938 kB / 329.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.1519, allocations: 0.5235 MB / 329.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of SimCode: time 0.003368/0.1553, allocations: 1.93 MB / 331.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of Templates: time 0.02101/0.1764, allocations: 7.065 MB / 338.6 MB, free: 2.41 MB / 282.7 MB