Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 4 kB / 233.3 MB, free: 2.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08158/0.08196, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4219, allocations: 65.75 MB / 337.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4222, allocations: 62.16 kB / 337.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005308/0.4276, allocations: 1.318 MB / 339.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4276, allocations: 0 / 339.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4277, allocations: 4 kB / 339.2 MB, free: 6.559 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.000481/0.4282, allocations: 362.1 kB / 339.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.4282, allocations: 8.031 kB / 339.6 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.55e-05/0.4283, allocations: 33.75 kB / 339.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.4284, allocations: 4 kB / 339.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.4286, allocations: 182.7 kB / 339.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4287, allocations: 7.875 kB / 339.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.4287, allocations: 11.14 kB / 339.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.429, allocations: 70.52 kB / 339.9 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.429, allocations: 7.984 kB / 339.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.4291, allocations: 2.875 kB / 339.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.4291, allocations: 4 kB / 339.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.4293, allocations: 28.8 kB / 340 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4304, allocations: 390.3 kB / 340.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.4306, allocations: 57.38 kB / 340.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.4307, allocations: 0 / 340.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4307, allocations: 38.25 kB / 340.4 MB, free: 5.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.484e-06/0.4307, allocations: 0 / 340.4 MB, free: 5.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.001287/0.432, allocations: 0.5139 MB / 340.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.4321, allocations: 55.34 kB / 341 MB, free: 4.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.4323, allocations: 111.1 kB / 341.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4323, allocations: 25.7 kB / 341.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4325, allocations: 169.5 kB / 341.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.4326, allocations: 31.17 kB / 341.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.4326, allocations: 3 kB / 341.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4328, allocations: 314 kB / 341.6 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.4329, allocations: 19.23 kB / 341.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.433, allocations: 59.52 kB / 341.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4331, allocations: 26.86 kB / 341.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4331, allocations: 3.938 kB / 341.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003439/0.4335, allocations: 112 kB / 341.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4335, allocations: 11.92 kB / 341.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4336, allocations: 4 kB / 341.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4336, allocations: 0 / 341.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.4338, allocations: 20 kB / 341.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.4339, allocations: 7.984 kB / 341.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.434, allocations: 3.438 kB / 341.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.434, allocations: 7.953 kB / 341.9 MB, free: 3.77 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.0001512/0.4342, allocations: 124.4 kB / 342 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.4343, allocations: 8.469 kB / 342 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.4344, allocations: 8.125 kB / 342 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4344, allocations: 4 kB / 342 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4344, allocations: 0 / 342 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.4344, allocations: 0 / 342 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4355, allocations: 412.2 kB / 342.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.4355, allocations: 4 kB / 342.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4358, allocations: 23.92 kB / 342.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.4359, allocations: 0 / 342.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.4359, allocations: 4 kB / 342.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-06/0.4359, allocations: 3.953 kB / 342.5 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.4359, allocations: 4 kB / 342.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.4365, allocations: 292.5 kB / 342.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.4365, allocations: 85 kB / 342.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4366, allocations: 4 kB / 342.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4368, allocations: 4.188 kB / 342.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4368, allocations: 11.89 kB / 342.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4369, allocations: 4 kB / 342.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.839e-05/0.437, allocations: 98.02 kB / 343 MB, free: 2.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.437, allocations: 0 / 343 MB, free: 2.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005909/0.4376, allocations: 12.06 kB / 343 MB, free: 2.613 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.00106/0.4387, allocations: 1.181 MB / 344.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.439, allocations: 50.77 kB / 344.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.439, allocations: 256 / 344.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.4391, allocations: 34.64 kB / 344.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.4396, allocations: 19.39 kB / 344.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.4421, allocations: 1.527 MB / 345.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.4426, allocations: 0.7004 MB / 346.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.4427, allocations: 25.73 kB / 346.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4427, allocations: 0 / 346.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/3.139, allocations: 1.352 MB / 347.9 MB, free: 13.68 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat