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.Friction.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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003412, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.0823, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004024/0.08638, allocations: 2.379 MB / 275 MB, free: 9.141 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.08925, allocations: 1.154 MB / 276.2 MB, free: 7.984 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.0895, allocations: 11.88 kB / 276.2 MB, free: 7.973 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.0899, allocations: 59.61 kB / 276.2 MB, free: 7.914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.09029, allocations: 143.6 kB / 276.4 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.09154, allocations: 331.3 kB / 276.7 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.09234, allocations: 464.2 kB / 277.1 MB, free: 6.996 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.09258, allocations: 81.34 kB / 277.2 MB, free: 6.91 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/0.09315, allocations: 311.1 kB / 277.5 MB, free: 6.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.09532, allocations: 1.404 MB / 278.9 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.0955, allocations: 36 kB / 279 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.09591, allocations: 135.8 kB / 279.1 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.09622, allocations: 191.4 kB / 279.3 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.0964, allocations: 121.4 kB / 279.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.09736, allocations: 0.612 MB / 280 MB, free: 4.105 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.09738, allocations: 0 / 280 MB, free: 4.105 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.09739, allocations: 3.938 kB / 280 MB, free: 4.102 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.09741, allocations: 4 kB / 280 MB, free: 4.098 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.006021/0.1034, allocations: 1.309 MB / 281.3 MB, free: 2.738 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1035, allocations: 8.031 kB / 281.3 MB, free: 2.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.1037, allocations: 79.06 kB / 281.4 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007542/0.1045, allocations: 406.7 kB / 281.8 MB, free: 2.215 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.1046, allocations: 29 kB / 281.8 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1047, allocations: 32 kB / 281.9 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.1077, allocations: 1.095 MB / 283 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.1077, allocations: 4 kB / 283 MB, free: 1.043 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.1079, allocations: 16 kB / 283 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1079, allocations: 8 kB / 283 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004439/0.1123, allocations: 1.646 MB / 284.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00694/0.1193, allocations: 2.512 MB / 287.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.1221, allocations: 0.8796 MB / 288 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.835e-05/0.1222, allocations: 4 kB / 288 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002391/0.1246, allocations: 0.8697 MB / 288.9 MB, free: 10.99 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 3.526e-06/0.1247, allocations: 0 / 288.9 MB, free: 10.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.02053/0.1452, allocations: 6.914 MB / 295.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.1453, allocations: 81.11 kB / 295.9 MB, free: 3.816 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.1468, allocations: 0.8986 MB / 296.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.1469, allocations: 49.7 kB / 296.9 MB, free: 2.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.1473, allocations: 296.3 kB / 297.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.1475, allocations: 165.8 kB / 297.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.1476, allocations: 16 kB / 297.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.1478, allocations: 378.8 kB / 297.7 MB, free: 2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.15, allocations: 0.7977 MB / 298.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.1522, allocations: 0.8894 MB / 299.4 MB, free: 288 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2393/0.3914, allocations: 0.702 MB / 300.1 MB, free: 32.06 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.3915, allocations: 7.969 kB / 300.1 MB, free: 32.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.007795/0.3993, allocations: 3.553 MB / 303.6 MB, free: 31.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.3994, allocations: 9.922 kB / 303.6 MB, free: 31.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3994, allocations: 8.281 kB / 303.7 MB, free: 31.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.4024, allocations: 1.689 MB / 305.3 MB, free: 31.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/0.4034, allocations: 120.5 kB / 305.5 MB, free: 31.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4137, allocations: 6.271 MB / 311.7 MB, free: 27.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.4164, allocations: 302.7 kB / 312 MB, free: 27.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.4165, allocations: 21.94 kB / 312.1 MB, free: 27.53 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,$whenCondition2,stop1.free,$PRE.stop1.startForward,stop1.startForward,$PRE.stop1.startBackward,stop1.startBackward,stop1.locked,$PRE.stop1.mode,stop1.mode,stop1.stopped,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,$whenCondition1,stop2.free,$PRE.stop2.startForward,stop2.startForward,$PRE.stop2.startBackward,stop2.startBackward,stop2.locked,$PRE.stop2.mode,stop2.mode,stop2.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004711/0.417, allocations: 259.4 kB / 312.3 MB, free: 27.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.4172, allocations: 71.17 kB / 312.4 MB, free: 27.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.4174, allocations: 102.1 kB / 312.5 MB, free: 27.29 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4174, allocations: 2.25 kB / 312.5 MB, free: 27.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4174, allocations: 4 kB / 312.5 MB, free: 27.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.4178, allocations: 211.7 kB / 312.7 MB, free: 27.13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.418, allocations: 19.88 kB / 312.7 MB, free: 27.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/0.4212, allocations: 367.6 kB / 313.1 MB, free: 27.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006541/0.4219, allocations: 204.6 kB / 313.3 MB, free: 27.05 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006434/0.4283, allocations: 2.217 MB / 315.5 MB, free: 25.43 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005078/0.4334, allocations: 2.542 MB / 318 MB, free: 22.87 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001672/0.4351, allocations: 0.6689 MB / 318.7 MB, free: 22.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007949/0.4359, allocations: 0.6748 MB / 319.4 MB, free: 21.52 MB / 250.7 MB Notification: Performance of Backend: time 5.51e-07/0.4359, allocations: 1.75 kB / 319.4 MB, free: 21.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.4389, allocations: 1.283 MB / 320.7 MB, free: 20.22 MB / 250.7 MB Notification: Performance of SimCode: time 0.002721/0.4416, allocations: 2.184 MB / 322.8 MB, free: 18 MB / 250.7 MB Notification: Performance of Templates: time 0.0275/0.4692, allocations: 12.08 MB / 334.9 MB, free: 5.941 MB / 250.7 MB "" Variables in the reference:time,mass.s,mass.v,stop1.s,stop1.v,stop2.s,stop2.v,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward,supportFriction.mode,supportFriction.startBackward,supportFriction.startForward Variables in the result:fixed2.flange.s,fixed2.s0,mass.L,mass.m,mass.s,mass.stateSelect,mass.v,sineForce.amplitude,sineForce.freqHz,sineForce.offset,sineForce.phase,sineForce.startTime,spring.c,spring.flange_a.s,spring.s_rel0,stop1.F_Coulomb,stop1.F_Stribeck,stop1.F_prop,stop1.L,stop1.fexp,stop1.m,stop1.mode,stop1.s,stop1.smax,stop1.smin,stop1.startBackward,stop1.startForward,stop1.v,stop1.v_small,stop2.F_Coulomb,stop2.F_Stribeck,stop2.F_prop,stop2.L,stop2.fexp,stop2.m,stop2.mode,stop2.s,stop2.smax,stop2.smin,stop2.startBackward,stop2.startForward,stop2.v,stop2.v_small,supportFriction.f_pos[1,1],supportFriction.f_pos[1,2],supportFriction.f_pos[10,1],supportFriction.f_pos[10,2],supportFriction.f_pos[11,1],supportFriction.f_pos[11,2],supportFriction.f_pos[12,1],supportFriction.f_pos[12,2],supportFriction.f_pos[13,1],supportFriction.f_pos[13,2],supportFriction.f_pos[14,1],supportFriction.f_pos[14,2],supportFriction.f_pos[15,1],supportFriction.f_pos[15,2],supportFriction.f_pos[16,1],supportFriction.f_pos[16,2],supportFriction.f_pos[17,1],supportFriction.f_pos[17,2],supportFriction.f_pos[18,1],supportFriction.f_pos[18,2],supportFriction.f_pos[19,1],supportFriction.f_pos[19,2],supportFriction.f_pos[2,1],supportFriction.f_pos[2,2],supportFriction.f_pos[20,1],supportFriction.f_pos[20,2],supportFriction.f_pos[21,1],supportFriction.f_pos[21,2],supportFriction.f_pos[22,1],supportFriction.f_pos[22,2],supportFriction.f_pos[23,1],supportFriction.f_pos[23,2],supportFriction.f_pos[24,1],supportFriction.f_pos[24,2],supportFriction.f_pos[25,1],supportFriction.f_pos[25,2],supportFriction.f_pos[26,1],supportFriction.f_pos[26,2],supportFriction.f_pos[27,1],supportFriction.f_pos[27,2],supportFriction.f_pos[28,1],supportFriction.f_pos[28,2],supportFriction.f_pos[29,1],supportFriction.f_pos[29,2],supportFriction.f_pos[3,1],supportFriction.f_pos[3,2],supportFriction.f_pos[30,1],supportFriction.f_pos[30,2],supportFriction.f_pos[31,1],supportFriction.f_pos[31,2],supportFriction.f_pos[32,1],supportFriction.f_pos[32,2],supportFriction.f_pos[33,1],supportFriction.f_pos[33,2],supportFriction.f_pos[34,1],supportFriction.f_pos[34,2],supportFriction.f_pos[35,1],supportFriction.f_pos[35,2],supportFriction.f_pos[36,1],supportFriction.f_pos[36,2],supportFriction.f_pos[37,1],supportFriction.f_pos[37,2],supportFriction.f_pos[38,1],supportFriction.f_pos[38,2],supportFriction.f_pos[39,1],supportFriction.f_pos[39,2],supportFriction.f_pos[4,1],supportFriction.f_pos[4,2],supportFriction.f_pos[40,1],supportFriction.f_pos[40,2],supportFriction.f_pos[41,1],supportFriction.f_pos[41,2],supportFriction.f_pos[42,1],supportFriction.f_pos[42,2],supportFriction.f_pos[43,1],supportFriction.f_pos[43,2],supportFriction.f_pos[44,1],supportFriction.f_pos[44,2],supportFriction.f_pos[45,1],supportFriction.f_pos[45,2],supportFriction.f_pos[46,1],supportFriction.f_pos[46,2],supportFriction.f_pos[47,1],supportFriction.f_pos[47,2],supportFriction.f_pos[48,1],supportFriction.f_pos[48,2],supportFriction.f_pos[49,1],supportFriction.f_pos[49,2],supportFriction.f_pos[5,1],supportFriction.f_pos[5,2],supportFriction.f_pos[50,1],supportFriction.f_pos[50,2],supportFriction.f_pos[6,1],supportFriction.f_pos[6,2],supportFriction.f_pos[7,1],supportFriction.f_pos[7,2],supportFriction.f_pos[8,1],supportFriction.f_pos[8,2],supportFriction.f_pos[9,1],supportFriction.f_pos[9,2],supportFriction.mode,supportFriction.peak,supportFriction.startBackward,supportFriction.startForward,supportFriction.v_small,time