Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors.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.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004065, allocations: 15.98 kB / 233.3 MB, free: 2.914 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 38.76 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3855/0.4869, allocations: 67.52 MB / 339.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.4873, allocations: 72.27 kB / 339.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.4986, allocations: 2.497 MB / 342.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4986, allocations: 0 / 342.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.4987, allocations: 4 kB / 342.2 MB, free: 3.711 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007263/0.4994, allocations: 431.5 kB / 342.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4995, allocations: 12.03 kB / 342.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.573e-05/0.4995, allocations: 48.67 kB / 342.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.4996, allocations: 15.81 kB / 342.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4999, allocations: 208.8 kB / 342.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4999, allocations: 11.45 kB / 342.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.5, allocations: 18.69 kB / 342.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.5004, allocations: 136.9 kB / 343.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5005, allocations: 3.875 kB / 343.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.5005, allocations: 3.062 kB / 343.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.5005, allocations: 8 kB / 343.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.5009, allocations: 104.4 kB / 343.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.502, allocations: 0.5303 MB / 343.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.5023, allocations: 77.42 kB / 343.8 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.5023, allocations: 0 / 343.8 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.5024, allocations: 37.62 kB / 343.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.054e-06/0.5024, allocations: 0 / 343.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001482/0.5039, allocations: 0.6103 MB / 344.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.504, allocations: 52.44 kB / 344.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5042, allocations: 127.6 kB / 344.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.5042, allocations: 25.7 kB / 344.6 MB, free: 1.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.5044, allocations: 200.6 kB / 344.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.5044, allocations: 38.52 kB / 344.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/0.5044, allocations: 3.188 kB / 344.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5046, allocations: 325 kB / 345.2 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.5048, allocations: 28.98 kB / 345.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.505, allocations: 82.66 kB / 345.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.5052, allocations: 56.75 kB / 345.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5052, allocations: 0 / 345.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004504/0.5056, allocations: 156.7 kB / 345.5 MB, free: 428 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5057, allocations: 8 kB / 345.5 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5057, allocations: 0 / 345.5 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.5057, allocations: 15.89 kB / 345.5 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.506, allocations: 39.48 kB / 345.6 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5061, allocations: 4 kB / 345.6 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5062, allocations: 4 kB / 345.6 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.5062, allocations: 11.25 kB / 345.6 MB, free: 352 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001697/0.5064, allocations: 142.5 kB / 345.7 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.5065, allocations: 7.906 kB / 345.7 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.5065, allocations: 8.281 kB / 345.7 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5065, allocations: 7.953 kB / 345.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5065, allocations: 0 / 345.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5066, allocations: 0 / 345.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.5075, allocations: 450.6 kB / 346.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.5075, allocations: 3.953 kB / 346.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.5078, allocations: 27.98 kB / 346.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5078, allocations: 0 / 346.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.5078, allocations: 0 / 346.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5078, allocations: 7.984 kB / 346.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5078, allocations: 4 kB / 346.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.5084, allocations: 283.1 kB / 346.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.5085, allocations: 93.16 kB / 346.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.5086, allocations: 4 kB / 346.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5087, allocations: 10.86 kB / 346.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.5088, allocations: 11.97 kB / 346.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5088, allocations: 0 / 346.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.5089, allocations: 105.1 kB / 346.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5089, allocations: 0 / 346.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.5093, allocations: 27.19 kB / 346.8 MB, free: 15.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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.0009913/0.5103, allocations: 0.9514 MB / 347.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.5107, allocations: 95.14 kB / 347.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5107, allocations: 0 / 347.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.5109, allocations: 49.73 kB / 347.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.5112, allocations: 10.58 kB / 347.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.5139, allocations: 2.049 MB / 349.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.5144, allocations: 0.7199 MB / 350.6 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5145, allocations: 45.05 kB / 350.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5145, allocations: 0 / 350.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.517/3.031, allocations: 2.026 MB / 352.7 MB, free: 9.258 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat