Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.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.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.326/2.326, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003877, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 44.51 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5313, allocations: 71.07 MB / 379.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5317, allocations: 66.95 kB / 379.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00536/0.537, allocations: 1.314 MB / 381 MB, free: 14.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5371, allocations: 1 kB / 381 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.5371, allocations: 1.781 kB / 381 MB, free: 14.17 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000406/0.5375, allocations: 348.7 kB / 381.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5376, allocations: 10.22 kB / 381.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.5377, allocations: 41.28 kB / 381.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.5377, allocations: 7.75 kB / 381.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.5379, allocations: 177.1 kB / 381.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5379, allocations: 10.09 kB / 381.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.5379, allocations: 10.52 kB / 381.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.5381, allocations: 64.94 kB / 381.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5382, allocations: 1.094 kB / 381.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.5382, allocations: 7.156 kB / 381.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5382, allocations: 2.188 kB / 381.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.5383, allocations: 37.56 kB / 381.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.5392, allocations: 383.2 kB / 382.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.5393, allocations: 53.56 kB / 382.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.5393, allocations: 0.9375 kB / 382.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.5394, allocations: 34.66 kB / 382.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.5394, allocations: 0 / 382.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000913/0.5403, allocations: 0.5218 MB / 382.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.5404, allocations: 61.31 kB / 382.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.5405, allocations: 106.6 kB / 382.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.5405, allocations: 26.83 kB / 382.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.5406, allocations: 162.8 kB / 383 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.5406, allocations: 32.75 kB / 383 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.5407, allocations: 4.281 kB / 383.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.5407, allocations: 324.4 kB / 383.4 MB, free: 12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.5408, allocations: 15.62 kB / 383.4 MB, free: 12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.5409, allocations: 56.64 kB / 383.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.541, allocations: 28 kB / 383.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.541, allocations: 1.094 kB / 383.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002273/0.5412, allocations: 102.9 kB / 383.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5413, allocations: 6.188 kB / 383.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.5413, allocations: 1.672 kB / 383.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5413, allocations: 10.83 kB / 383.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.5415, allocations: 30.64 kB / 383.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5415, allocations: 1.469 kB / 383.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.5416, allocations: 2.906 kB / 383.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5416, allocations: 7.062 kB / 383.6 MB, free: 11.89 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 (13): * Single equations (assignments): 13 * 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 8.678e-05/0.5417, allocations: 125.5 kB / 383.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.5417, allocations: 9.594 kB / 383.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.5418, allocations: 9.75 kB / 383.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.5418, allocations: 3.094 kB / 383.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.5418, allocations: 3.953 kB / 383.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5418, allocations: 3.938 kB / 383.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.5425, allocations: 406.4 kB / 384.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5425, allocations: 5.391 kB / 384.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.5427, allocations: 25.86 kB / 384.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.5427, allocations: 2.812 kB / 384.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5427, allocations: 1.594 kB / 384.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5427, allocations: 1.812 kB / 384.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5427, allocations: 12.95 kB / 384.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.5431, allocations: 285.1 kB / 384.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.5431, allocations: 81.67 kB / 384.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.5431, allocations: 6.109 kB / 384.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.5433, allocations: 6.094 kB / 384.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.5433, allocations: 10.84 kB / 384.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5433, allocations: 4.281 kB / 384.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.5434, allocations: 95.31 kB / 384.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5434, allocations: 0 / 384.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005357/0.5439, allocations: 21.38 kB / 384.7 MB, free: 10.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.00074/0.5447, allocations: 1.161 MB / 385.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.545, allocations: 62.31 kB / 385.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.545, allocations: 0 / 385.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.5451, allocations: 28.53 kB / 386 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.5456, allocations: 15.61 kB / 386 MB, free: 9.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.5476, allocations: 1.541 MB / 387.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.5479, allocations: 0.6949 MB / 388.2 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.548, allocations: 18.64 kB / 388.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.548, allocations: 3.938 kB / 388.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/3.106, allocations: 1.358 MB / 389.6 MB, free: 7.668 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat