Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.158/2.158, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004387, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3289, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4583, allocations: 71.07 MB / 379.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4586, allocations: 67.97 kB / 379.7 MB, free: 5.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005573/0.4642, allocations: 1.309 MB / 381 MB, free: 4.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4643, allocations: 0 / 381 MB, free: 4.219 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4643, allocations: 8 kB / 381 MB, free: 4.211 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.00053/0.4648, allocations: 347.2 kB / 381.4 MB, free: 3.824 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.4649, allocations: 12.03 kB / 381.4 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.465, allocations: 38.5 kB / 381.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.465, allocations: 7.906 kB / 381.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.4652, allocations: 186.9 kB / 381.6 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4653, allocations: 4 kB / 381.6 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.4653, allocations: 8 kB / 381.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4655, allocations: 69.67 kB / 381.7 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4656, allocations: 7.938 kB / 381.7 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4656, allocations: 4 kB / 381.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4656, allocations: 4 kB / 381.7 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4657, allocations: 31.92 kB / 381.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.4666, allocations: 379.6 kB / 382.1 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.4668, allocations: 62.5 kB / 382.2 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4668, allocations: 0 / 382.2 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4669, allocations: 30.56 kB / 382.2 MB, free: 2.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.4669, allocations: 0 / 382.2 MB, free: 2.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.001005/0.4679, allocations: 0.5198 MB / 382.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.468, allocations: 55.41 kB / 382.8 MB, free: 2.191 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4681, allocations: 109.2 kB / 382.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.4681, allocations: 29.7 kB / 382.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.4682, allocations: 96.03 kB / 383 MB, free: 1.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.4682, allocations: 31.47 kB / 383 MB, free: 1.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.4683, allocations: 0 / 383 MB, free: 1.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4684, allocations: 318.8 kB / 383.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.4685, allocations: 23.98 kB / 383.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/0.4686, allocations: 57.09 kB / 383.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.4687, allocations: 27.98 kB / 383.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4687, allocations: 0 / 383.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002541/0.469, allocations: 109.6 kB / 383.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.469, allocations: 8 kB / 383.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.469, allocations: 0 / 383.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.4691, allocations: 7.953 kB / 383.6 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4692, allocations: 23.92 kB / 383.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4693, allocations: 4 kB / 383.6 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.4693, allocations: 4 kB / 383.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.4694, allocations: 4 kB / 383.6 MB, free: 1.301 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 0.0001075/0.4695, allocations: 121.9 kB / 383.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.4695, allocations: 7.906 kB / 383.7 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.4696, allocations: 20.36 kB / 383.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4696, allocations: 0 / 383.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4696, allocations: 3.953 kB / 383.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4696, allocations: 0 / 383.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.4704, allocations: 414.5 kB / 384.1 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4704, allocations: 3.953 kB / 384.1 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4706, allocations: 16 kB / 384.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.4706, allocations: 7.984 kB / 384.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.4706, allocations: 4 kB / 384.2 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.4706, allocations: 8.094 kB / 384.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4707, allocations: 0 / 384.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.471, allocations: 292 kB / 384.5 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.4711, allocations: 85.52 kB / 384.6 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.4711, allocations: 11.95 kB / 384.6 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4712, allocations: 0 / 384.6 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.4713, allocations: 7.984 kB / 384.6 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4713, allocations: 8 kB / 384.6 MB, free: 152 kB / 314.7 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.4714, allocations: 99.2 kB / 384.7 MB, free: 52 kB / 314.7 MB Notification: Performance of sort global known variables: time 2.335e-06/0.4714, allocations: 0 / 384.7 MB, free: 52 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.4718, allocations: 24 kB / 384.7 MB, free: 28 kB / 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.000828/0.4726, allocations: 1.159 MB / 385.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.4728, allocations: 59.84 kB / 385.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4729, allocations: 256 / 385.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.769e-05/0.4729, allocations: 35.94 kB / 386 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4733, allocations: 15.92 kB / 386 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4751, allocations: 1.502 MB / 387.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4755, allocations: 0.6965 MB / 388.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.776e-05/0.4756, allocations: 8.438 kB / 388.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.4757, allocations: 27.48 kB / 388.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4757, allocations: 0 / 388.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.5022, allocations: 1.626 MB / 389.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.5026, allocations: 183.2 kB / 390 MB, free: 10.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.209, allocations: 0 / 390 MB, free: 10.53 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat