Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.556/1.556, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 8 kB / 233.2 MB, free: 2.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07798/0.07836, allocations: 38.77 MB / 272 MB, free: 12.14 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002635/0.08105, allocations: 1.575 MB / 273.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.08237, allocations: 0.6087 MB / 274.2 MB, free: 9.934 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.08249, allocations: 11.94 kB / 274.2 MB, free: 9.922 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.874e-05/0.08256, allocations: 19.84 kB / 274.2 MB, free: 9.902 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.08281, allocations: 71.78 kB / 274.3 MB, free: 9.832 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.08313, allocations: 63.91 kB / 274.4 MB, free: 9.77 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.08345, allocations: 179.6 kB / 274.5 MB, free: 9.594 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.08362, allocations: 41.64 kB / 274.6 MB, free: 9.551 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.0838, allocations: 107.7 kB / 274.7 MB, free: 9.445 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.08401, allocations: 111.6 kB / 274.8 MB, free: 9.336 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.08408, allocations: 12 kB / 274.8 MB, free: 9.324 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.08417, allocations: 12 kB / 274.8 MB, free: 9.312 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.08424, allocations: 39.89 kB / 274.9 MB, free: 9.273 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.08433, allocations: 61.58 kB / 274.9 MB, free: 9.207 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.08462, allocations: 179.8 kB / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.08463, allocations: 0 / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08464, allocations: 0 / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.08465, allocations: 0 / 275.1 MB, free: 9.031 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001537/0.08621, allocations: 0.5299 MB / 275.6 MB, free: 8.453 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.08626, allocations: 12.03 kB / 275.6 MB, free: 8.441 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.618e-05/0.08635, allocations: 54.48 kB / 275.7 MB, free: 8.379 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.08643, allocations: 23.81 kB / 275.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.08677, allocations: 227.2 kB / 275.9 MB, free: 8.094 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.08711, allocations: 69.67 kB / 276 MB, free: 8.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.08719, allocations: 23.91 kB / 276 MB, free: 7.996 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.08811, allocations: 255.2 kB / 276.3 MB, free: 7.734 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.08816, allocations: 8 kB / 276.3 MB, free: 7.727 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.08821, allocations: 11.98 kB / 276.3 MB, free: 7.715 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.08823, allocations: 7.984 kB / 276.3 MB, free: 7.707 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.08951, allocations: 260.3 kB / 276.6 MB, free: 7.453 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.09082, allocations: 0.6665 MB / 277.2 MB, free: 6.73 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.09194, allocations: 276.9 kB / 277.5 MB, free: 6.441 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.09198, allocations: 4 kB / 277.5 MB, free: 6.438 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.09202, allocations: 34.86 kB / 277.5 MB, free: 6.395 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.09203, allocations: 0 / 277.5 MB, free: 6.395 MB / 234.7 MB Notification: Performance of matching and sorting (n=25): time 0.004889/0.09693, allocations: 1.556 MB / 279.1 MB, free: 4.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.097, allocations: 89.05 kB / 279.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.09721, allocations: 160.4 kB / 279.3 MB, free: 4.383 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.09726, allocations: 25.7 kB / 279.4 MB, free: 4.352 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.09738, allocations: 190.8 kB / 279.5 MB, free: 4.164 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.09749, allocations: 82.75 kB / 279.6 MB, free: 4.082 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.09753, allocations: 11.94 kB / 279.6 MB, free: 4.07 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.09767, allocations: 318.8 kB / 279.9 MB, free: 3.75 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.09799, allocations: 71.97 kB / 280 MB, free: 3.68 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.09834, allocations: 103.4 kB / 280.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.09869, allocations: 83.92 kB / 280.2 MB, free: 3.484 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.09871, allocations: 0 / 280.2 MB, free: 3.484 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008119/0.09953, allocations: 241.3 kB / 280.4 MB, free: 3.242 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.09956, allocations: 4 kB / 280.4 MB, free: 3.238 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.09958, allocations: 0 / 280.4 MB, free: 3.238 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.09961, allocations: 4 kB / 280.4 MB, free: 3.234 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.1004, allocations: 103.9 kB / 280.5 MB, free: 3.133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1004, allocations: 4 kB / 280.5 MB, free: 3.129 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1007, allocations: 19.98 kB / 280.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1007, allocations: 4 kB / 280.6 MB, free: 3.105 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 31 * 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.0001653/0.1009, allocations: 137.8 kB / 280.7 MB, free: 2.961 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.101, allocations: 19.77 kB / 280.7 MB, free: 2.941 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.1011, allocations: 25.52 kB / 280.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1011, allocations: 0 / 280.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1011, allocations: 4 kB / 280.8 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1011, allocations: 4 kB / 280.8 MB, free: 2.914 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.1035, allocations: 0.9289 MB / 281.7 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1035, allocations: 0 / 281.7 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009874/0.1045, allocations: 112 kB / 281.8 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.1045, allocations: 7.984 kB / 281.8 MB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.1046, allocations: 8 kB / 281.8 MB, free: 1.777 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1046, allocations: 7.938 kB / 281.8 MB, free: 1.77 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1046, allocations: 0 / 281.8 MB, free: 1.77 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.1067, allocations: 0.6618 MB / 282.5 MB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1069, allocations: 108.9 kB / 282.6 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.1069, allocations: 12 kB / 282.6 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.1074, allocations: 31.97 kB / 282.6 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.1075, allocations: 27.92 kB / 282.7 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.1075, allocations: 8 kB / 282.7 MB, free: 0.875 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1077, allocations: 124.2 kB / 282.8 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1077, allocations: 96 / 282.8 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004564/0.1082, allocations: 59.94 kB / 282.8 MB, free: 0.6953 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (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 (25): * Single equations (assignments): 25 * 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.002417/0.1106, allocations: 1.195 MB / 284 MB, free: 15.46 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1116, allocations: 244.4 kB / 284.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1116, allocations: 0 / 284.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006879/0.1123, allocations: 156 kB / 284.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.1129, allocations: 41.75 kB / 284.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/0.1215, allocations: 2 MB / 286.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1219, allocations: 0.7404 MB / 287.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.1221, allocations: 67.41 kB / 287.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of SimCode: time 3.286e-06/0.1221, allocations: 0 / 287.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.378/2.5, allocations: 3.337 MB / 290.6 MB, free: 8.77 MB / 250.7 MB "Error: Could not read variable elastoBacklash.bEps in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat. Warning: Get data of variable elastoBacklash.bEps from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat failed! " 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(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.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,fixed1.flange.phi,fixed1.flange.tau,fixed1.phi0,fixed2.flange.phi,fixed2.flange.tau,fixed2.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,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