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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.091/2.091, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3011, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004754/0.3059, allocations: 2.778 MB / 311.3 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3084, allocations: 0.8778 MB / 312.2 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.3089, allocations: 11.94 kB / 312.2 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.309, allocations: 55.59 kB / 312.3 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.3096, allocations: 179.4 kB / 312.5 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.3102, allocations: 111.8 kB / 312.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009219/0.3111, allocations: 403.7 kB / 313 MB, free: 8.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.3116, allocations: 150.1 kB / 313.1 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.312, allocations: 195.3 kB / 313.3 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.3125, allocations: 239 kB / 313.5 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-05/0.3126, allocations: 31.94 kB / 313.6 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3127, allocations: 24 kB / 313.6 MB, free: 7.715 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.3128, allocations: 91.59 kB / 313.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.313, allocations: 117.5 kB / 313.8 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.3137, allocations: 427.7 kB / 314.2 MB, free: 7.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3137, allocations: 0 / 314.2 MB, free: 7.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3137, allocations: 0 / 314.2 MB, free: 7.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3137, allocations: 4 kB / 314.2 MB, free: 7.082 MB / 250.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.002487/0.3162, allocations: 0.799 MB / 315 MB, free: 6.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.3163, allocations: 12.02 kB / 315 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.3165, allocations: 82.53 kB / 315.1 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.3166, allocations: 59.3 kB / 315.2 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.3172, allocations: 314.2 kB / 315.5 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.136e-05/0.3173, allocations: 37 kB / 315.5 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.3174, allocations: 48 kB / 315.5 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.319, allocations: 470.3 kB / 316 MB, free: 5.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.3191, allocations: 3.906 kB / 316 MB, free: 5.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.3192, allocations: 20 kB / 316 MB, free: 5.156 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.3192, allocations: 12 kB / 316 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.3212, allocations: 491.7 kB / 316.5 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.3253, allocations: 1.398 MB / 317.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.327, allocations: 0.5521 MB / 318.5 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/0.3271, allocations: 8.562 kB / 318.5 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.3272, allocations: 39.06 kB / 318.5 MB, free: 2.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 3.617e-06/0.3272, allocations: 0 / 318.5 MB, free: 2.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.01466/0.3419, allocations: 3.281 MB / 321.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.342, allocations: 60.41 kB / 321.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.3424, allocations: 251 kB / 322.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.3426, allocations: 45.7 kB / 322.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3428, allocations: 193.2 kB / 322.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.3432, allocations: 350.7 kB / 322.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.3433, allocations: 16 kB / 322.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3435, allocations: 366.8 kB / 323.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3447, allocations: 281.9 kB / 323.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.346, allocations: 361.4 kB / 323.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3473, allocations: 318.9 kB / 324 MB, free: 12.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.3474, allocations: 0 / 324 MB, free: 12.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002908/0.3503, allocations: 0.8093 MB / 324.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.3504, allocations: 4 kB / 324.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3504, allocations: 3.984 kB / 324.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/0.3505, allocations: 12 kB / 324.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.3522, allocations: 215.6 kB / 325 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/0.3523, allocations: 7.984 kB / 325 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.353, allocations: 55.97 kB / 325.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3532, allocations: 31.98 kB / 325.1 MB, free: 11.83 MB / 266.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.0004113/0.3536, allocations: 193.7 kB / 325.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.3538, allocations: 51.39 kB / 325.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.354, allocations: 81.31 kB / 325.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.3541, allocations: 16 kB / 325.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3541, allocations: 0 / 325.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.3541, allocations: 3.984 kB / 325.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/0.36, allocations: 2.018 MB / 327.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.3601, allocations: 8 kB / 327.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.3619, allocations: 207.7 kB / 327.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.546e-05/0.362, allocations: 8 kB / 327.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.3622, allocations: 35.94 kB / 327.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.891e-05/0.3622, allocations: 8.125 kB / 327.7 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.3623, allocations: 11.94 kB / 327.8 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/0.3669, allocations: 1.407 MB / 329.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.3672, allocations: 132.4 kB / 329.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.3673, allocations: 20 kB / 329.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/0.3681, allocations: 63.92 kB / 329.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.3683, allocations: 76.8 kB / 329.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/0.3684, allocations: 36.11 kB / 329.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.3687, allocations: 170 kB / 329.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.334e-06/0.3687, allocations: 0 / 329.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008906/0.3696, allocations: 159.9 kB / 329.8 MB, free: 6.938 MB / 266.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 (103): * Single equations (assignments): 103 * 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.004797/0.3745, allocations: 1.991 MB / 331.8 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.3773, allocations: 0.7505 MB / 332.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.3774, allocations: 0 / 332.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.3791, allocations: 466.6 kB / 333 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.3803, allocations: 99.58 kB / 333.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.3915, allocations: 3.747 MB / 336.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.3922, allocations: 0.8774 MB / 337.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006483/0.3929, allocations: 80.97 kB / 337.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/0.3934, allocations: 195.4 kB / 338 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3934, allocations: 0 / 338 MB, free: 14.52 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05086/0.4443, allocations: 10.39 MB / 348.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003347/0.4447, allocations: 175.8 kB / 348.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.215, allocations: 0 / 348.6 MB, free: 3.914 MB / 282.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[2016]=100.000000 File[14]=0.170742 " Variables in the reference:time,friction.v_rel,innerContactA.s_rel,innerContactB.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel Variables in the result:der(der(force.s)),der(der(friction.flange_b.s)),der(der(innerContactA.flange_b.s)),der(der(outerContactA.flange_b.s)),der(der(rod1.s)),der(der(rod2.flange_a.s)),der(der(rod2.flange_b.s)),der(der(rod2.s)),der(der(rod3.s)),der(der(rod4.flange_b.s)),der(der(rod4.s)),der(der(springPlateA.flange_b.s)),der(der(springPlateB.flange_b.s)),der(force.s),der(friction.flange_b.s),der(friction.s_rel),der(friction.v_rel),der(innerContactA.flange_b.s),der(innerContactA.s_rel),der(innerContactA.v_rel),der(innerContactB.s_rel),der(innerContactB.v_rel),der(outerContactA.flange_b.s),der(outerContactA.s_rel),der(outerContactA.v_rel),der(outerContactB.s_rel),der(outerContactB.v_rel),der(rod1.s),der(rod2.flange_a.s),der(rod2.flange_b.s),der(rod2.s),der(rod3.s),der(rod4.flange_b.s),der(rod4.s),der(spool.s),der(spool.v),der(springPlateA.flange_b.s),der(springPlateA.s),der(springPlateA.v),der(springPlateB.flange_b.s),der(springPlateB.s),der(springPlateB.v),fixedLe.flange.f,fixedLe.flange.s,fixedLe.s0,force.f,force.flange.f,force.flange.s,force.s,force.s_support,force.useSupport,friction.d,friction.f,friction.flange_a.f,friction.flange_a.s,friction.flange_b.f,friction.flange_b.s,friction.lossPower,friction.s_nominal,friction.s_rel,friction.stateSelect,friction.useHeatPort,friction.v_rel,housing.L,housing.flange_a.f,housing.flange_a.s,housing.flange_b.f,housing.flange_b.s,housing.s,innerContactA.c,innerContactA.contact,innerContactA.d,innerContactA.f,innerContactA.f_c,innerContactA.f_d,innerContactA.f_d2,innerContactA.flange_a.f,innerContactA.flange_a.s,innerContactA.flange_b.f,innerContactA.flange_b.s,innerContactA.lossPower,innerContactA.n,innerContactA.s_nominal,innerContactA.s_rel,innerContactA.s_rel0,innerContactA.stateSelect,innerContactA.useHeatPort,innerContactA.v_rel,innerContactB.c,innerContactB.contact,innerContactB.d,innerContactB.f,innerContactB.f_c,innerContactB.f_d,innerContactB.f_d2,innerContactB.flange_a.f,innerContactB.flange_a.s,innerContactB.flange_b.f,innerContactB.flange_b.s,innerContactB.lossPower,innerContactB.n,innerContactB.s_nominal,innerContactB.s_rel,innerContactB.s_rel0,innerContactB.stateSelect,innerContactB.useHeatPort,innerContactB.v_rel,outerContactA.c,outerContactA.contact,outerContactA.d,outerContactA.f,outerContactA.f_c,outerContactA.f_d,outerContactA.f_d2,outerContactA.flange_a.f,outerContactA.flange_a.s,outerContactA.flange_b.f,outerContactA.flange_b.s,outerContactA.lossPower,outerContactA.n,outerContactA.s_nominal,outerContactA.s_rel,outerContactA.s_rel0,outerContactA.stateSelect,outerContactA.useHeatPort,outerContactA.v_rel,outerContactB.c,outerContactB.contact,outerContactB.d,outerContactB.f,outerContactB.f_c,outerContactB.f_d,outerContactB.f_d2,outerContactB.flange_a.f,outerContactB.flange_a.s,outerContactB.flange_b.f,outerContactB.flange_b.s,outerContactB.lossPower,outerContactB.n,outerContactB.s_nominal,outerContactB.s_rel,outerContactB.s_rel0,outerContactB.stateSelect,outerContactB.useHeatPort,outerContactB.v_rel,rod1.L,rod1.flange_a.f,rod1.flange_a.s,rod1.flange_b.f,rod1.flange_b.s,rod1.s,rod2.L,rod2.flange_a.f,rod2.flange_a.s,rod2.flange_b.f,rod2.flange_b.s,rod2.s,rod3.L,rod3.flange_a.f,rod3.flange_a.s,rod3.flange_b.f,rod3.flange_b.s,rod3.s,rod4.L,rod4.flange_a.f,rod4.flange_a.s,rod4.flange_b.f,rod4.flange_b.s,rod4.s,sineForce.amplitude,sineForce.freqHz,sineForce.offset,sineForce.phase,sineForce.startTime,sineForce.y,spool.L,spool.a,spool.flange_a.f,spool.flange_a.s,spool.flange_b.f,spool.flange_b.s,spool.m,spool.s,spool.stateSelect,spool.v,spring.c,spring.f,spring.flange_a.f,spring.flange_a.s,spring.flange_b.f,spring.flange_b.s,spring.s_rel,spring.s_rel0,springPlateA.L,springPlateA.a,springPlateA.flange_a.f,springPlateA.flange_a.s,springPlateA.flange_b.f,springPlateA.flange_b.s,springPlateA.m,springPlateA.s,springPlateA.stateSelect,springPlateA.v,springPlateB.L,springPlateB.a,springPlateB.flange_a.f,springPlateB.flange_a.s,springPlateB.flange_b.f,springPlateB.flange_b.s,springPlateB.m,springPlateB.s,springPlateB.stateSelect,springPlateB.v,time