Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.636e-05, allocations: 7.984 kB / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4208, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.5694, allocations: 82.36 MB / 447 MB, free: 14.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5697, allocations: 61 kB / 447 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.59, allocations: 4.531 MB / 451.6 MB, free: 9.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5901, allocations: 0 / 451.6 MB, free: 9.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.5901, allocations: 8 kB / 451.6 MB, free: 9.535 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008722/0.591, allocations: 474.3 kB / 452 MB, free: 9.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.5911, allocations: 8.031 kB / 452 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.467e-05/0.5912, allocations: 62.44 kB / 452.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.5912, allocations: 27.72 kB / 452.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.5916, allocations: 227.2 kB / 452.4 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.5916, allocations: 20.42 kB / 452.4 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.5917, allocations: 27.91 kB / 452.4 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.5922, allocations: 214.7 kB / 452.6 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.5922, allocations: 4 kB / 452.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.5923, allocations: 8 kB / 452.6 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.5923, allocations: 8.516 kB / 452.6 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.5927, allocations: 139.8 kB / 452.8 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.5946, allocations: 0.9821 MB / 453.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.5951, allocations: 226.5 kB / 454 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.5953, allocations: 71.44 kB / 454 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.5953, allocations: 3.953 kB / 454 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.5954, allocations: 43.53 kB / 454.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.607e-06/0.5954, allocations: 0 / 454.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001755/0.5972, allocations: 0.9551 MB / 455 MB, free: 5.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.5973, allocations: 136.5 kB / 455.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.5975, allocations: 169.8 kB / 455.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.5976, allocations: 29.7 kB / 455.4 MB, free: 5.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.5977, allocations: 218.6 kB / 455.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.5978, allocations: 109.7 kB / 455.7 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.5979, allocations: 5.5 kB / 455.7 MB, free: 4.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.598, allocations: 326.8 kB / 456 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.5982, allocations: 64.69 kB / 456.1 MB, free: 4.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.5985, allocations: 180.1 kB / 456.3 MB, free: 4.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.5988, allocations: 92.88 kB / 456.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5988, allocations: 0 / 456.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007114/0.5995, allocations: 309.1 kB / 456.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5995, allocations: 4 kB / 456.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5996, allocations: 4 kB / 456.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.5996, allocations: 8 kB / 456.7 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.6002, allocations: 79.89 kB / 456.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.6002, allocations: 11.94 kB / 456.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.6004, allocations: 12 kB / 456.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.6005, allocations: 16 kB / 456.8 MB, free: 3.816 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001173/0.6006, allocations: 129 kB / 456.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6008, allocations: 23.75 kB / 456.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.6011, allocations: 123 kB / 457.1 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6011, allocations: 112 / 457.1 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6011, allocations: 7.938 kB / 457.1 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.6011, allocations: 3.984 kB / 457.1 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.6027, allocations: 0.7677 MB / 457.8 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6027, allocations: 4 kB / 457.8 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.6034, allocations: 71.89 kB / 457.9 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.6034, allocations: 4 kB / 457.9 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.6034, allocations: 8.188 kB / 457.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.6035, allocations: 8 kB / 457.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6035, allocations: 3.938 kB / 457.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.6044, allocations: 0.737 MB / 458.7 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.6045, allocations: 96.91 kB / 458.8 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.6045, allocations: 11.95 kB / 458.8 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.6049, allocations: 8 kB / 458.8 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.6049, allocations: 19.98 kB / 458.8 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.605, allocations: 11.98 kB / 458.8 MB, free: 1.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.6051, allocations: 136.3 kB / 458.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6051, allocations: 0 / 458.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000619/0.6058, allocations: 64.38 kB / 459 MB, free: 1.375 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001358/0.6071, allocations: 1.894 MB / 460.9 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.6077, allocations: 192.6 kB / 461.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6077, allocations: 0 / 461.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.6079, allocations: 101.1 kB / 461.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.6086, allocations: 43.92 kB / 461.2 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.611, allocations: 0.9315 MB / 462.2 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.6114, allocations: 0.7636 MB / 462.9 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.6116, allocations: 75.41 kB / 463 MB, free: 13.21 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6116, allocations: 96 / 463 MB, free: 13.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.482/3.094, allocations: 3.758 MB / 466.8 MB, free: 9.453 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat