Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003643, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3095, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003465/0.313, allocations: 1.891 MB / 310.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.315, allocations: 0.7341 MB / 311.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.3152, allocations: 4 kB / 311.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.923e-05/0.3153, allocations: 27.77 kB / 311.2 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.3157, allocations: 119.7 kB / 311.3 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.3163, allocations: 95.81 kB / 311.4 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.3168, allocations: 295.4 kB / 311.7 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.317, allocations: 69.06 kB / 311.8 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.3173, allocations: 159.5 kB / 311.9 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.3177, allocations: 183.4 kB / 312.1 MB, free: 9.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.3178, allocations: 20 kB / 312.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.3179, allocations: 20 kB / 312.2 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.914e-05/0.318, allocations: 71.78 kB / 312.2 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.3181, allocations: 81.58 kB / 312.3 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.3185, allocations: 288.1 kB / 312.6 MB, free: 8.605 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3185, allocations: 4 kB / 312.6 MB, free: 8.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.3186, allocations: 0 / 312.6 MB, free: 8.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3186, allocations: 3.938 kB / 312.6 MB, free: 8.598 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002543/0.3211, allocations: 0.6666 MB / 313.3 MB, free: 7.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3212, allocations: 8.031 kB / 313.3 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.3213, allocations: 58.55 kB / 313.3 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3215, allocations: 35.62 kB / 313.4 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.322, allocations: 266.5 kB / 313.6 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/0.3226, allocations: 139.9 kB / 313.8 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3228, allocations: 27.91 kB / 313.8 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.3245, allocations: 404 kB / 314.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.3246, allocations: 11.94 kB / 314.2 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.3246, allocations: 8 kB / 314.2 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3247, allocations: 8 kB / 314.2 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.3271, allocations: 458.6 kB / 314.7 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.3294, allocations: 0.9698 MB / 315.6 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.3315, allocations: 455.6 kB / 316.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.3316, allocations: 12.42 kB / 316.1 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.3317, allocations: 38.44 kB / 316.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.3317, allocations: 3.938 kB / 316.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.009195/0.3409, allocations: 2.507 MB / 318.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/0.341, allocations: 114.8 kB / 318.7 MB, free: 1.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.3413, allocations: 204.3 kB / 318.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.3414, allocations: 37.64 kB / 319 MB, free: 1.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3416, allocations: 140.7 kB / 319.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.3417, allocations: 141.9 kB / 319.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3418, allocations: 8 kB / 319.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.342, allocations: 338.8 kB / 319.6 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/0.3425, allocations: 108.8 kB / 319.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.3432, allocations: 177.4 kB / 319.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.3438, allocations: 135.2 kB / 320 MB, free: 0.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3438, allocations: 0 / 320 MB, free: 0.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001478/0.3453, allocations: 373.1 kB / 320.4 MB, free: 260 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.3453, allocations: 10.5 kB / 320.4 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3454, allocations: 4 kB / 320.4 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3454, allocations: 4 kB / 320.4 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.3468, allocations: 167.8 kB / 320.5 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3468, allocations: 4 kB / 320.6 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.3472, allocations: 27.98 kB / 320.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.3473, allocations: 16 kB / 320.6 MB, free: 28 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0002754/0.3476, allocations: 145.8 kB / 320.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3477, allocations: 28.61 kB / 320.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.3479, allocations: 37.52 kB / 320.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3479, allocations: 8 kB / 320.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3479, allocations: 0 / 320.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.348, allocations: 0 / 320.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.3529, allocations: 1.397 MB / 322.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.353, allocations: 7.938 kB / 322.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.3548, allocations: 204 kB / 322.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.3548, allocations: 4 kB / 322.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.3549, allocations: 15.95 kB / 322.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.3549, allocations: 11.98 kB / 322.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3549, allocations: 0 / 322.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/0.359, allocations: 1.039 MB / 323.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.3593, allocations: 128.8 kB / 323.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.3594, allocations: 12 kB / 323.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.3602, allocations: 63.89 kB / 323.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.3604, allocations: 43.89 kB / 323.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.3605, allocations: 15.98 kB / 323.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.3607, allocations: 151.5 kB / 323.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3607, allocations: 0 / 323.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006666/0.3614, allocations: 84 kB / 324 MB, free: 12.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.004349/0.3658, allocations: 1.606 MB / 325.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.3677, allocations: 410 kB / 326 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3678, allocations: 0 / 326 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.3691, allocations: 280 kB / 326.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.37, allocations: 64.83 kB / 326.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.3831, allocations: 2.738 MB / 329.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.3837, allocations: 0.7801 MB / 329.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.3841, allocations: 42.95 kB / 329.9 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.3844, allocations: 99.39 kB / 330 MB, free: 6.324 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3844, allocations: 0 / 330 MB, free: 6.324 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.417, allocations: 6.291 MB / 336.3 MB, free: 76 kB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.4174, allocations: 177.4 kB / 336.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.254, allocations: 3.938 kB / 336.4 MB, free: 15.83 MB / 282.7 MB "" Variables in the reference:time,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel Variables in the result:der(elastoBacklash.phi_rel),der(elastoBacklash.w_rel),der(elastoBacklash2.phi_rel),der(elastoBacklash2.w_rel),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),der(springDamper.phi_rel),der(springDamper.w_rel),elastoBacklash.a_rel,elastoBacklash.b,elastoBacklash.bMax,elastoBacklash.bMin,elastoBacklash.c,elastoBacklash.d,elastoBacklash.flange_a.phi,elastoBacklash.flange_a.tau,elastoBacklash.flange_b.phi,elastoBacklash.flange_b.tau,elastoBacklash.lossPower,elastoBacklash.phi_diff,elastoBacklash.phi_nominal,elastoBacklash.phi_rel,elastoBacklash.phi_rel0,elastoBacklash.stateSelect,elastoBacklash.tau,elastoBacklash.tau_c,elastoBacklash.tau_d,elastoBacklash.useHeatPort,elastoBacklash.w_rel,elastoBacklash2.a_rel,elastoBacklash2.b,elastoBacklash2.bMax,elastoBacklash2.bMin,elastoBacklash2.c,elastoBacklash2.d,elastoBacklash2.flange_a.phi,elastoBacklash2.flange_a.tau,elastoBacklash2.flange_b.phi,elastoBacklash2.flange_b.tau,elastoBacklash2.lossPower,elastoBacklash2.phi_diff,elastoBacklash2.phi_nominal,elastoBacklash2.phi_rel,elastoBacklash2.phi_rel0,elastoBacklash2.stateSelect,elastoBacklash2.tau,elastoBacklash2.tau_c,elastoBacklash2.tau_d,elastoBacklash2.useHeatPort,elastoBacklash2.w_rel,fixed1.flange.phi,fixed1.flange.tau,fixed1.phi0,fixed2.flange.phi,fixed2.flange.tau,fixed2.phi0,fixed3.flange.phi,fixed3.flange.tau,fixed3.phi0,inertia1.J,inertia1.a,inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,springDamper.a_rel,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.stateSelect,springDamper.tau,springDamper.tau_c,springDamper.tau_d,springDamper.useHeatPort,springDamper.w_rel,time