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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.351/2.351, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.402e-05, allocations: 4 kB / 303.3 MB, free: 3.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3565, allocations: 54.87 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5087, allocations: 81.69 MB / 439.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.509, allocations: 63.97 kB / 439.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0207/0.5297, allocations: 4.486 MB / 444.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5298, allocations: 0 / 444.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.5298, allocations: 8 kB / 444.4 MB, free: 9.254 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.0008858/0.5307, allocations: 478.3 kB / 444.8 MB, free: 8.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5308, allocations: 8.031 kB / 444.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.5309, allocations: 31.67 kB / 444.9 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.5312, allocations: 222.7 kB / 445.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.5313, allocations: 4 kB / 445.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.5314, allocations: 23.91 kB / 445.1 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003777/0.5317, allocations: 116.8 kB / 445.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.5322, allocations: 189.9 kB / 445.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.5322, allocations: 3.938 kB / 445.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.5323, allocations: 4 kB / 445.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.5323, allocations: 7.953 kB / 445.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.5342, allocations: 0.9345 MB / 446.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.5347, allocations: 219.7 kB / 446.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.5349, allocations: 67.52 kB / 446.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.5349, allocations: 4 kB / 446.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.535, allocations: 38.56 kB / 446.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.357e-06/0.535, allocations: 0 / 446.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001757/0.5367, allocations: 0.9171 MB / 447.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.5369, allocations: 132.5 kB / 447.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.5371, allocations: 157.6 kB / 447.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.5371, allocations: 25.7 kB / 447.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5373, allocations: 214.6 kB / 448.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.5374, allocations: 98.56 kB / 448.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.5374, allocations: 0 / 448.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5376, allocations: 330.8 kB / 448.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.5377, allocations: 60.75 kB / 448.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.538, allocations: 163.6 kB / 448.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.5383, allocations: 91.95 kB / 448.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5383, allocations: 4 kB / 448.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006405/0.5389, allocations: 245.3 kB / 449.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.539, allocations: 4 kB / 449.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.539, allocations: 4 kB / 449.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.539, allocations: 11.95 kB / 449.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.5396, allocations: 83.83 kB / 449.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.5397, allocations: 8 kB / 449.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.5399, allocations: 7.906 kB / 449.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.54, allocations: 16.31 kB / 449.2 MB, free: 3.898 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.0001261/0.5401, allocations: 120.8 kB / 449.3 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004964/0.5406, allocations: 173.4 kB / 449.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.5407, allocations: 27.95 kB / 449.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.541, allocations: 91.45 kB / 449.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5411, allocations: 7.984 kB / 449.6 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5411, allocations: 3.984 kB / 449.6 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5411, allocations: 4.109 kB / 449.6 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.5426, allocations: 0.7214 MB / 450.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.5426, allocations: 4 kB / 450.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.5433, allocations: 72.09 kB / 450.4 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/0.5433, allocations: 8 kB / 450.5 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.5434, allocations: 7.984 kB / 450.5 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.5434, allocations: 0 / 450.5 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5434, allocations: 4 kB / 450.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008948/0.5443, allocations: 0.7132 MB / 451.2 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.5444, allocations: 93.02 kB / 451.3 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.5445, allocations: 11.92 kB / 451.3 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.5449, allocations: 7.953 kB / 451.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.5449, allocations: 19.98 kB / 451.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.545, allocations: 12 kB / 451.3 MB, free: 1.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.5451, allocations: 128.2 kB / 451.4 MB, free: 1.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5451, allocations: 4 kB / 451.4 MB, free: 1.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006467/0.5458, allocations: 44 kB / 451.5 MB, free: 1.43 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.001437/0.5472, allocations: 1.868 MB / 453.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.5478, allocations: 179.7 kB / 453.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5478, allocations: 0 / 453.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.548, allocations: 75.88 kB / 453.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.5488, allocations: 41.11 kB / 453.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.5514, allocations: 0.8978 MB / 454.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.5519, allocations: 0.7675 MB / 455.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.5521, allocations: 75.41 kB / 455.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5521, allocations: 0 / 455.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.586/3.138, allocations: 3.731 MB / 459.1 MB, free: 9.629 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