Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.1 MB / 186.1 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.000499, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3597/0.4646, allocations: 65.75 MB / 337.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.4651, allocations: 67.03 kB / 337.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008332/0.4734, allocations: 1.324 MB / 339.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4735, allocations: 0 / 339.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.4735, allocations: 0 / 339.3 MB, free: 5.867 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006466/0.4742, allocations: 359 kB / 339.6 MB, free: 5.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.4743, allocations: 8.031 kB / 339.6 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.75e-05/0.4743, allocations: 44.67 kB / 339.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.4744, allocations: 7.938 kB / 339.7 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.4747, allocations: 178.5 kB / 339.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.4748, allocations: 3.938 kB / 339.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.4748, allocations: 14.64 kB / 339.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.4751, allocations: 65.42 kB / 339.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4752, allocations: 2.406 kB / 339.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.4752, allocations: 7.938 kB / 339.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4752, allocations: 4 kB / 339.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.4754, allocations: 38.41 kB / 340 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.4767, allocations: 380 kB / 340.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.477, allocations: 56.06 kB / 340.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.477, allocations: 0 / 340.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4771, allocations: 38.55 kB / 340.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.4771, allocations: 0 / 340.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.001494/0.4786, allocations: 0.5052 MB / 341 MB, free: 4.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4788, allocations: 55.34 kB / 341 MB, free: 3.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4789, allocations: 116.1 kB / 341.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.479, allocations: 25.7 kB / 341.1 MB, free: 3.836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.4791, allocations: 102.4 kB / 341.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.4792, allocations: 34.11 kB / 341.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.4792, allocations: 0 / 341.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4794, allocations: 318.1 kB / 341.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.4795, allocations: 18.55 kB / 341.6 MB, free: 3.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4796, allocations: 58.27 kB / 341.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.4798, allocations: 26.5 kB / 341.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4798, allocations: 0 / 341.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004005/0.4802, allocations: 112.8 kB / 341.8 MB, free: 3.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.4803, allocations: 5.094 kB / 341.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4803, allocations: 7.969 kB / 341.8 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.4804, allocations: 12.55 kB / 341.8 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.4807, allocations: 20 kB / 341.8 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.4807, allocations: 3.984 kB / 341.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4808, allocations: 8.812 kB / 341.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.4809, allocations: 7.953 kB / 341.9 MB, free: 3.141 MB / 266.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 0.0001633/0.4811, allocations: 128.8 kB / 342 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.4811, allocations: 7.906 kB / 342 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.4812, allocations: 8.312 kB / 342 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4813, allocations: 4 kB / 342 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4813, allocations: 4 kB / 342 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4813, allocations: 0 / 342 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.4824, allocations: 399.2 kB / 342.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.4824, allocations: 4.156 kB / 342.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.4827, allocations: 31.11 kB / 342.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.4828, allocations: 0 / 342.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.4828, allocations: 4 kB / 342.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.4828, allocations: 3.953 kB / 342.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.4828, allocations: 5.375 kB / 342.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.4834, allocations: 287.3 kB / 342.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.4835, allocations: 85.12 kB / 342.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.4836, allocations: 4 kB / 342.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.4837, allocations: 4.062 kB / 342.8 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.4838, allocations: 15.27 kB / 342.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4838, allocations: 4 kB / 342.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.484, allocations: 90.95 kB / 342.9 MB, free: 2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.484, allocations: 0 / 342.9 MB, free: 2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006318/0.4846, allocations: 19.94 kB / 343 MB, free: 1.984 MB / 266.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.001144/0.4858, allocations: 1.167 MB / 344.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.4862, allocations: 67.33 kB / 344.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4862, allocations: 0 / 344.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4863, allocations: 32.05 kB / 344.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.4868, allocations: 11.95 kB / 344.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.4895, allocations: 1.503 MB / 345.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.49, allocations: 0.6965 MB / 346.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.4902, allocations: 16.36 kB / 346.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.4903, allocations: 18.06 kB / 346.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4903, allocations: 0 / 346.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.5146, allocations: 1.622 MB / 348.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.515, allocations: 198.3 kB / 348.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/2.939, allocations: 0 / 348.3 MB, free: 12.6 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat