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.559/2.559, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004694, allocations: 16 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3434, allocations: 54.86 MB / 369.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.4932, allocations: 82.45 MB / 451.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4935, allocations: 67.91 kB / 451.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02/0.5135, allocations: 4.513 MB / 456.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5136, allocations: 4 kB / 456.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.5136, allocations: 4 kB / 456.4 MB, free: 3.434 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.0009109/0.5145, allocations: 488.5 kB / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5146, allocations: 20.02 kB / 456.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.908e-05/0.5147, allocations: 50.55 kB / 456.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.5147, allocations: 31.67 kB / 457 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.5151, allocations: 234.6 kB / 457.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.5151, allocations: 16.44 kB / 457.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.5152, allocations: 27.84 kB / 457.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.5157, allocations: 210.7 kB / 457.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.5157, allocations: 12 kB / 457.5 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.5158, allocations: 4 kB / 457.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.5158, allocations: 7.953 kB / 457.5 MB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.5162, allocations: 139.8 kB / 457.6 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.5181, allocations: 0.9885 MB / 458.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.5186, allocations: 234.3 kB / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.5187, allocations: 4 kB / 458.8 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5187, allocations: 38.52 kB / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.146e-06/0.5187, allocations: 0 / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001921/0.5206, allocations: 1.011 MB / 459.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.5207, allocations: 136.5 kB / 460 MB, free: 15.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.521, allocations: 165.7 kB / 460.2 MB, free: 15.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.521, allocations: 29.7 kB / 460.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.5212, allocations: 218.5 kB / 460.4 MB, free: 14.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5213, allocations: 102.5 kB / 460.5 MB, free: 14.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.5213, allocations: 8 kB / 460.5 MB, free: 14.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5215, allocations: 322.8 kB / 460.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.5217, allocations: 68.72 kB / 460.9 MB, free: 14.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.5221, allocations: 187.9 kB / 461.1 MB, free: 14.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.5223, allocations: 100.4 kB / 461.2 MB, free: 14.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5224, allocations: 0 / 461.2 MB, free: 14.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007114/0.5231, allocations: 301.5 kB / 461.5 MB, free: 13.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.5231, allocations: 13.92 kB / 461.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5231, allocations: 4 kB / 461.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.5232, allocations: 8 kB / 461.5 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.5237, allocations: 83.89 kB / 461.6 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.851e-05/0.5238, allocations: 11.94 kB / 461.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.524, allocations: 11.91 kB / 461.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.524, allocations: 16 kB / 461.6 MB, free: 13.69 MB / 394.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 () * Number of clocked 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.0001799/0.5242, allocations: 141.8 kB / 461.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.5244, allocations: 23.88 kB / 461.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.5247, allocations: 122.8 kB / 461.9 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.5247, allocations: 4 kB / 461.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.5247, allocations: 0 / 461.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5247, allocations: 4 kB / 461.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.5263, allocations: 0.7711 MB / 462.7 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5263, allocations: 4 kB / 462.7 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.5269, allocations: 67.91 kB / 462.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.527, allocations: 4 kB / 462.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.527, allocations: 11.98 kB / 462.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.527, allocations: 4.312 kB / 462.8 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.527, allocations: 15.94 kB / 462.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.528, allocations: 0.7248 MB / 463.5 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.5281, allocations: 100.8 kB / 463.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.5281, allocations: 8 kB / 463.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.5285, allocations: 15.89 kB / 463.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.5285, allocations: 23.97 kB / 463.7 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.5286, allocations: 8 kB / 463.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.5287, allocations: 136.5 kB / 463.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5287, allocations: 0 / 463.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006743/0.5294, allocations: 64.38 kB / 463.9 MB, free: 11.23 MB / 394.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 () * Number of clocked 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.001457/0.5309, allocations: 1.905 MB / 465.8 MB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005543/0.5315, allocations: 197.5 kB / 466 MB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5315, allocations: 0 / 466 MB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.5317, allocations: 88.31 kB / 466 MB, free: 8.969 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.5325, allocations: 59.95 kB / 466.1 MB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.5374, allocations: 4.317 MB / 470.4 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.5379, allocations: 0.7599 MB / 471.2 MB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.5382, allocations: 75.41 kB / 471.3 MB, free: 3.574 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5382, allocations: 0 / 471.3 MB, free: 3.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.258, allocations: 3.753 MB / 475 MB, free: 97.43 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