Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 0.9828/0.9828, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002595, allocations: 4 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04486/0.04515, allocations: 25.18 MB / 183.4 MB, free: 6.012 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00351/0.0487, allocations: 2.431 MB / 185.8 MB, free: 3.578 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.05027, allocations: 0.7642 MB / 186.6 MB, free: 2.809 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.0505, allocations: 4 kB / 186.6 MB, free: 2.805 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.05062, allocations: 51.61 kB / 186.7 MB, free: 2.754 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.05101, allocations: 151.5 kB / 186.8 MB, free: 2.605 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.05144, allocations: 107.9 kB / 186.9 MB, free: 2.5 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.05201, allocations: 379.7 kB / 187.3 MB, free: 2.129 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.05233, allocations: 149.8 kB / 187.4 MB, free: 1.98 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.05265, allocations: 195.3 kB / 187.6 MB, free: 1.789 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.05299, allocations: 227 kB / 187.8 MB, free: 1.566 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.05308, allocations: 28 kB / 187.9 MB, free: 1.539 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.05318, allocations: 24 kB / 187.9 MB, free: 1.516 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.05329, allocations: 87.66 kB / 188 MB, free: 1.43 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.05343, allocations: 109.5 kB / 188.1 MB, free: 1.316 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.05398, allocations: 410.8 kB / 188.5 MB, free: 0.9141 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.054, allocations: 0 / 188.5 MB, free: 0.9141 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.166e-06/0.05401, allocations: 0 / 188.5 MB, free: 0.9141 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.05403, allocations: 0 / 188.5 MB, free: 0.9141 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001771/0.05582, allocations: 0.7835 MB / 189.3 MB, free: 84 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.05587, allocations: 8.031 kB / 189.3 MB, free: 76 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.05601, allocations: 59.28 kB / 189.3 MB, free: 16 kB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.05651, allocations: 301.3 kB / 189.6 MB, free: 15.68 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.05658, allocations: 33 kB / 189.7 MB, free: 15.65 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.05672, allocations: 48 kB / 189.7 MB, free: 15.61 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.05792, allocations: 450.4 kB / 190.2 MB, free: 15.16 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.05797, allocations: 7.859 kB / 190.2 MB, free: 15.15 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.05804, allocations: 20 kB / 190.2 MB, free: 15.13 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.05807, allocations: 12 kB / 190.2 MB, free: 15.12 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.05956, allocations: 471.7 kB / 190.7 MB, free: 14.66 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.06275, allocations: 1.343 MB / 192 MB, free: 13.25 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.06412, allocations: 0.5033 MB / 192.5 MB, free: 12.73 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.273e-05/0.06421, allocations: 16.48 kB / 192.5 MB, free: 12.72 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.06426, allocations: 43.11 kB / 192.6 MB, free: 12.67 MB / 170.7 MB Notification: Performance of pre-optimization done (n=62): time 3.988e-06/0.06428, allocations: 0 / 192.6 MB, free: 12.67 MB / 170.7 MB Notification: Performance of matching and sorting (n=98): time 0.009954/0.07424, allocations: 3.185 MB / 195.7 MB, free: 9.402 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.07433, allocations: 64.41 kB / 195.8 MB, free: 9.328 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.07469, allocations: 238.6 kB / 196 MB, free: 9.086 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.07477, allocations: 45.7 kB / 196.1 MB, free: 9.035 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.07498, allocations: 243.8 kB / 196.3 MB, free: 8.797 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.07533, allocations: 335 kB / 196.7 MB, free: 8.465 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.07539, allocations: 16 kB / 196.7 MB, free: 8.449 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.07561, allocations: 342.8 kB / 197 MB, free: 8.105 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/0.07645, allocations: 277.8 kB / 197.3 MB, free: 7.836 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/0.07737, allocations: 349.4 kB / 197.6 MB, free: 7.488 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.07828, allocations: 306.9 kB / 197.9 MB, free: 7.188 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.504e-06/0.0783, allocations: 0 / 197.9 MB, free: 7.188 MB / 170.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002066/0.08037, allocations: 0.7628 MB / 198.7 MB, free: 6.418 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.08042, allocations: 8 kB / 198.7 MB, free: 6.41 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.322e-06/0.08044, allocations: 0 / 198.7 MB, free: 6.41 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.08047, allocations: 4 kB / 198.7 MB, free: 6.406 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.08156, allocations: 211.8 kB / 198.9 MB, free: 6.199 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.0816, allocations: 4 kB / 198.9 MB, free: 6.195 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.08208, allocations: 59.95 kB / 199 MB, free: 6.137 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.08217, allocations: 35.94 kB / 199 MB, free: 6.102 MB / 170.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 (108): * Single equations (assignments): 108 * 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.000345/0.08253, allocations: 193.5 kB / 199.2 MB, free: 5.902 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.08267, allocations: 51.34 kB / 199.2 MB, free: 5.852 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.08285, allocations: 73.2 kB / 199.3 MB, free: 5.777 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.08288, allocations: 12 kB / 199.3 MB, free: 5.766 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.716e-06/0.0829, allocations: 4 kB / 199.3 MB, free: 5.762 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.08293, allocations: 7.969 kB / 199.3 MB, free: 5.754 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.08728, allocations: 1.958 MB / 201.3 MB, free: 3.68 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.08734, allocations: 12.03 kB / 201.3 MB, free: 3.668 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.08841, allocations: 199.7 kB / 201.5 MB, free: 3.473 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.08846, allocations: 11.98 kB / 201.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-05/0.08854, allocations: 27.98 kB / 201.5 MB, free: 3.434 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/0.08857, allocations: 8 kB / 201.5 MB, free: 3.426 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.08859, allocations: 7.938 kB / 201.5 MB, free: 3.418 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/0.09175, allocations: 1.369 MB / 202.9 MB, free: 1.977 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.09212, allocations: 176.4 kB / 203.1 MB, free: 1.785 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.09224, allocations: 27.98 kB / 203.1 MB, free: 1.758 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.09277, allocations: 55.97 kB / 203.2 MB, free: 1.703 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.09293, allocations: 72.47 kB / 203.2 MB, free: 1.633 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.09302, allocations: 31.98 kB / 203.3 MB, free: 1.602 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.09326, allocations: 173.9 kB / 203.4 MB, free: 1.43 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.09327, allocations: 0 / 203.4 MB, free: 1.43 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.09398, allocations: 148 kB / 203.6 MB, free: 1.285 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * 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 simulation (98): * Single equations (assignments): 98 * 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 Backend phase and start with SimCode phase: time 0.0002087/0.0942, allocations: 143 kB / 203.7 MB, free: 1.137 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.09622, allocations: 0.7203 MB / 204.4 MB, free: 420 kB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.463e-06/0.09625, allocations: 0 / 204.4 MB, free: 420 kB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1151/0.2114, allocations: 436.5 kB / 204.9 MB, free: 24.66 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.2123, allocations: 84.31 kB / 205 MB, free: 24.66 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.2156, allocations: 1.833 MB / 206.8 MB, free: 23.69 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.2161, allocations: 0.8724 MB / 207.7 MB, free: 22.98 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.2164, allocations: 61.02 kB / 207.7 MB, free: 22.97 MB / 170.7 MB Notification: Performance of SimCode: time 1.504e-06/0.2164, allocations: 0 / 207.7 MB, free: 22.97 MB / 170.7 MB Notification: Performance of Templates: time 0.01207/0.2285, allocations: 6.719 MB / 214.4 MB, free: 20.59 MB / 170.7 MB