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.Damper.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.Damper,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.618/1.618, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 8 kB / 233.3 MB, free: 2.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08398, allocations: 38.77 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.4135, allocations: 66.59 MB / 338.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4138, allocations: 65.28 kB / 338.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.4322, allocations: 4.064 MB / 342.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4322, allocations: 0 / 342.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.4323, allocations: 4 kB / 342.8 MB, free: 3.449 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001032/0.4333, allocations: 0.5007 MB / 343.3 MB, free: 2.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4334, allocations: 8.031 kB / 343.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.4335, allocations: 55.98 kB / 343.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.4336, allocations: 35.61 kB / 343.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.4339, allocations: 233.3 kB / 343.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.434, allocations: 19.5 kB / 343.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.4341, allocations: 30.62 kB / 343.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.4346, allocations: 237.4 kB / 343.9 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.4347, allocations: 7.844 kB / 343.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.4347, allocations: 10.25 kB / 343.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4347, allocations: 8 kB / 344 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.4352, allocations: 160.2 kB / 344.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.4368, allocations: 0.7943 MB / 344.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.4376, allocations: 303 kB / 345.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.4376, allocations: 7.953 kB / 345.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.4377, allocations: 38.44 kB / 345.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 3.407e-06/0.4377, allocations: 4 kB / 345.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004043/0.4417, allocations: 1.938 MB / 347.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.4419, allocations: 114.7 kB / 347.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.4421, allocations: 170.9 kB / 347.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.4422, allocations: 32.7 kB / 347.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4423, allocations: 199.4 kB / 347.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.4425, allocations: 167 kB / 347.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.4425, allocations: 6.125 kB / 347.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4427, allocations: 328.8 kB / 348.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.4429, allocations: 90.66 kB / 348.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.4432, allocations: 152.2 kB / 348.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.4436, allocations: 121 kB / 348.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4436, allocations: 0 / 348.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008177/0.4444, allocations: 329.1 kB / 348.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4445, allocations: 8 kB / 348.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4445, allocations: 0 / 348.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.4445, allocations: 7.984 kB / 348.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.4452, allocations: 92.5 kB / 349 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4452, allocations: 7.938 kB / 349 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.4454, allocations: 11.44 kB / 349 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.4455, allocations: 15.38 kB / 349 MB, free: 13.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0002264/0.4457, allocations: 150.9 kB / 349.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.4458, allocations: 27.72 kB / 349.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4459, allocations: 34.31 kB / 349.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.446, allocations: 4 kB / 349.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.446, allocations: 4 kB / 349.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.446, allocations: 7.984 kB / 349.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.4482, allocations: 1.06 MB / 350.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4482, allocations: 0 / 350.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.449, allocations: 87.41 kB / 350.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.4491, allocations: 4.281 kB / 350.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.4491, allocations: 14.44 kB / 350.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/0.4492, allocations: 11.98 kB / 350.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.4492, allocations: 3.938 kB / 350.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.4505, allocations: 0.8385 MB / 351.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.4507, allocations: 111.9 kB / 351.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4507, allocations: 11.38 kB / 351.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.4511, allocations: 11.06 kB / 351.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.4512, allocations: 32.02 kB / 351.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.4512, allocations: 19.19 kB / 351.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.4514, allocations: 138.6 kB / 351.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4514, allocations: 0 / 351.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006404/0.452, allocations: 83.27 kB / 351.6 MB, free: 11.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * 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 (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 Backend phase and start with SimCode phase: time 0.002001/0.4541, allocations: 2.151 MB / 353.8 MB, free: 9.133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.4548, allocations: 265 kB / 354 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4548, allocations: 0 / 354 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.4552, allocations: 145 kB / 354.2 MB, free: 8.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008063/0.456, allocations: 64.22 kB / 354.3 MB, free: 8.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.461, allocations: 2.926 MB / 357.2 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.4616, allocations: 0.784 MB / 358 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.4618, allocations: 91.86 kB / 358.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4618, allocations: 0 / 358.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.044/3.506, allocations: 4.502 MB / 362.6 MB, free: 0.707 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat