Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003472, allocations: 8 kB / 233.4 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09042, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.4407, allocations: 67.47 MB / 339.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.4411, allocations: 61.84 kB / 339.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02292/0.464, allocations: 4.734 MB / 344.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4641, allocations: 0 / 344.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.4641, allocations: 4 kB / 344.4 MB, free: 1.367 MB / 266.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.001459/0.4656, allocations: 0.5231 MB / 344.9 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.4657, allocations: 8.031 kB / 344.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.079e-05/0.4658, allocations: 49.42 kB / 345 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.4659, allocations: 19.81 kB / 345 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.4662, allocations: 225.6 kB / 345.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.4666, allocations: 75.62 kB / 345.3 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.4667, allocations: 23.28 kB / 345.3 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009384/0.4676, allocations: 260.1 kB / 345.5 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.4677, allocations: 3.984 kB / 345.6 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.4677, allocations: 9.062 kB / 345.6 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4677, allocations: 4 kB / 345.6 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.469, allocations: 256.5 kB / 345.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.4705, allocations: 0.6772 MB / 346.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4716, allocations: 276.2 kB / 346.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.4717, allocations: 0 / 346.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4717, allocations: 40.75 kB / 346.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.4717, allocations: 0 / 346.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.004996/0.4767, allocations: 1.544 MB / 348.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.4768, allocations: 81.11 kB / 348.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.4771, allocations: 145.7 kB / 348.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.4771, allocations: 29.08 kB / 348.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.4772, allocations: 122.8 kB / 348.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.4774, allocations: 93.33 kB / 348.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.4774, allocations: 7.438 kB / 348.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4776, allocations: 329.5 kB / 349.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.4779, allocations: 69.58 kB / 349.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.4782, allocations: 108.6 kB / 349.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.4786, allocations: 84.05 kB / 349.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4786, allocations: 0 / 349.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008506/0.4795, allocations: 244.5 kB / 349.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.4795, allocations: 9.047 kB / 349.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4796, allocations: 4 kB / 349.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4796, allocations: 0.9375 kB / 349.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.4804, allocations: 98.62 kB / 349.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.4804, allocations: 7.984 kB / 349.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.4807, allocations: 11.31 kB / 349.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.4807, allocations: 11.88 kB / 349.8 MB, free: 12.22 MB / 282.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.0002033/0.4809, allocations: 138.4 kB / 349.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.4811, allocations: 19.72 kB / 349.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.4812, allocations: 27.73 kB / 350 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.4812, allocations: 4 kB / 350 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4812, allocations: 0 / 350 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.4812, allocations: 7.922 kB / 350 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.4837, allocations: 0.9263 MB / 350.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.4838, allocations: 4 kB / 350.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/0.4848, allocations: 118.3 kB / 351 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.4848, allocations: 0 / 351 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.4849, allocations: 11.17 kB / 351 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.4849, allocations: 4 kB / 351 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4849, allocations: 0 / 351 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.4872, allocations: 0.7215 MB / 351.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.4874, allocations: 110.9 kB / 351.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.4874, allocations: 7.359 kB / 351.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.4879, allocations: 30.92 kB / 351.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-05/0.488, allocations: 27.16 kB / 351.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.4881, allocations: 11.98 kB / 351.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.4882, allocations: 124.4 kB / 352.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4882, allocations: 0 / 352.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005059/0.4887, allocations: 50.38 kB / 352.1 MB, free: 10.02 MB / 282.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.002685/0.4914, allocations: 1.599 MB / 353.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.4925, allocations: 239.8 kB / 353.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4926, allocations: 0 / 353.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.4933, allocations: 158.2 kB / 354.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.4939, allocations: 39.14 kB / 354.1 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/0.5032, allocations: 2.421 MB / 356.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.5037, allocations: 0.7443 MB / 357.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.5039, allocations: 17.95 kB / 357.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.5041, allocations: 65.97 kB / 357.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5041, allocations: 4 kB / 357.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.5349, allocations: 4.202 MB / 361.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004888/0.5354, allocations: 173 kB / 361.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.049, allocations: 4 kB / 361.8 MB, free: 0.5859 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat