Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.243/2.243, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003804, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09654, allocations: 44.5 MB / 308.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5266, allocations: 73.7 MB / 382.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.527, allocations: 68.48 kB / 382.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03623/0.5632, allocations: 7.543 MB / 389.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5633, allocations: 3.906 kB / 389.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.5633, allocations: 3.938 kB / 389.9 MB, free: 13.82 MB / 314.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.002137/0.5655, allocations: 0.6637 MB / 390.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5655, allocations: 11.44 kB / 390.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.586e-05/0.5657, allocations: 61.67 kB / 390.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.5658, allocations: 31.09 kB / 390.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.5661, allocations: 255.1 kB / 390.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005382/0.5667, allocations: 139.4 kB / 391 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.5668, allocations: 25.09 kB / 391 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.5683, allocations: 404.5 kB / 391.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.5683, allocations: 6.469 kB / 391.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.5684, allocations: 10.69 kB / 391.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5684, allocations: 7.875 kB / 391.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.5706, allocations: 465.8 kB / 391.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.5726, allocations: 0.977 MB / 392.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.5755, allocations: 451.2 kB / 393.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/0.5756, allocations: 4.094 kB / 393.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.5757, allocations: 41.3 kB / 393.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.5757, allocations: 0 / 393.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.008066/0.5838, allocations: 2.522 MB / 395.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.5839, allocations: 106.7 kB / 396 MB, free: 10.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.5841, allocations: 179.3 kB / 396.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.5842, allocations: 32.14 kB / 396.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.5843, allocations: 200.4 kB / 396.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.5844, allocations: 137.2 kB / 396.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.5845, allocations: 7 kB / 396.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.5846, allocations: 331.6 kB / 396.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.5851, allocations: 110.4 kB / 397 MB, free: 10.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.5856, allocations: 175.7 kB / 397.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.5861, allocations: 127 kB / 397.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5862, allocations: 0 / 397.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001269/0.5874, allocations: 370.5 kB / 397.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5875, allocations: 8.531 kB / 397.6 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5875, allocations: 3.906 kB / 397.6 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/0.5875, allocations: 3.969 kB / 397.6 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.5889, allocations: 164.6 kB / 397.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.5889, allocations: 3.906 kB / 397.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.5893, allocations: 32.19 kB / 397.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.5894, allocations: 18.81 kB / 397.9 MB, free: 9.898 MB / 314.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.0002217/0.5896, allocations: 147.4 kB / 398 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.5898, allocations: 31.23 kB / 398 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.5898, allocations: 37.72 kB / 398.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.5899, allocations: 3.875 kB / 398.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5899, allocations: 0 / 398.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.5899, allocations: 3.375 kB / 398.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.5935, allocations: 1.388 MB / 399.5 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5936, allocations: 0 / 399.5 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.5952, allocations: 212.7 kB / 399.7 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.5953, allocations: 4.031 kB / 399.7 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.5953, allocations: 15.23 kB / 399.7 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.5953, allocations: 7.969 kB / 399.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5954, allocations: 3.938 kB / 399.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/0.599, allocations: 1.145 MB / 400.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.5993, allocations: 134 kB / 401 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/0.5994, allocations: 7.25 kB / 401 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.6002, allocations: 62.62 kB / 401 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.6003, allocations: 47.7 kB / 401.1 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.6004, allocations: 15.44 kB / 401.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.6006, allocations: 152 kB / 401.3 MB, free: 8.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6006, allocations: 3.875 kB / 401.3 MB, free: 8.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006693/0.6013, allocations: 82.23 kB / 401.3 MB, free: 8.344 MB / 314.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.003915/0.6052, allocations: 2.244 MB / 403.6 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.607, allocations: 401.7 kB / 404 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.607, allocations: 0 / 404 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6083, allocations: 281.7 kB / 404.2 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.6091, allocations: 59.75 kB / 404.3 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.6215, allocations: 3.52 MB / 407.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.6218, allocations: 0.7799 MB / 408.6 MB, free: 4.152 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.6222, allocations: 96.64 kB / 408.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6222, allocations: 0 / 408.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.703/3.325, allocations: 4.947 MB / 413.6 MB, free: 2.383 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat