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.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_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.675/1.675, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 15.98 kB / 233.4 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08808, allocations: 38.76 MB / 272.1 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4368, allocations: 66.6 MB / 338.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4371, allocations: 64.53 kB / 338.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01734/0.4545, allocations: 4.071 MB / 342.8 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.4545, allocations: 0 / 342.8 MB, free: 3.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.4545, allocations: 7.938 kB / 342.9 MB, free: 3.176 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.00096/0.4555, allocations: 0.4937 MB / 343.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4556, allocations: 8.031 kB / 343.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.01e-05/0.4557, allocations: 57.17 kB / 343.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.4558, allocations: 31.62 kB / 343.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.4561, allocations: 244.6 kB / 343.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.4562, allocations: 14.69 kB / 343.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.4562, allocations: 23.25 kB / 343.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.4568, allocations: 237.6 kB / 343.9 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4569, allocations: 10.97 kB / 344 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.4569, allocations: 6.125 kB / 344 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.4569, allocations: 8 kB / 344 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.4574, allocations: 161 kB / 344.1 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.459, allocations: 0.7996 MB / 344.9 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.4597, allocations: 300 kB / 345.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.4598, allocations: 7.891 kB / 345.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4598, allocations: 38.19 kB / 345.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 3.065e-06/0.4598, allocations: 0 / 345.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004087/0.4639, allocations: 1.939 MB / 347.2 MB, free: 15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.4641, allocations: 110.8 kB / 347.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.4643, allocations: 170.2 kB / 347.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.4644, allocations: 36.33 kB / 347.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4645, allocations: 137.4 kB / 347.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.4647, allocations: 169.3 kB / 347.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.4647, allocations: 7.125 kB / 347.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4649, allocations: 340.6 kB / 348.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.4651, allocations: 93.14 kB / 348.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.4654, allocations: 147.9 kB / 348.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.4658, allocations: 118.8 kB / 348.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4659, allocations: 0 / 348.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001204/0.4671, allocations: 343 kB / 348.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.4672, allocations: 10.5 kB / 348.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4672, allocations: 0 / 348.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.4672, allocations: 4 kB / 348.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/0.4682, allocations: 90.64 kB / 348.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.4683, allocations: 4.094 kB / 348.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.4687, allocations: 13.38 kB / 349 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.4688, allocations: 20.86 kB / 349 MB, free: 13.46 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.0003282/0.4692, allocations: 153.5 kB / 349.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.4694, allocations: 35.66 kB / 349.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.4695, allocations: 38.98 kB / 349.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4696, allocations: 4 kB / 349.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.4696, allocations: 4 kB / 349.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4696, allocations: 0 / 349.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.4722, allocations: 1.052 MB / 350.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4722, allocations: 0 / 350.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.473, allocations: 95.39 kB / 350.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.473, allocations: 4 kB / 350.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.473, allocations: 11.47 kB / 350.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.4731, allocations: 12 kB / 350.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.4731, allocations: 4 kB / 350.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.4744, allocations: 0.8543 MB / 351.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4745, allocations: 107.4 kB / 351.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.4746, allocations: 11.25 kB / 351.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.4749, allocations: 7.625 kB / 351.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.475, allocations: 33.53 kB / 351.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.475, allocations: 15.25 kB / 351.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001729/0.4752, allocations: 135.4 kB / 351.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4752, allocations: 0 / 351.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006011/0.4758, allocations: 84.14 kB / 351.6 MB, free: 11 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.001996/0.4778, allocations: 2.154 MB / 353.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4786, allocations: 262.3 kB / 354 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4786, allocations: 192 / 354 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.4789, allocations: 146.3 kB / 354.2 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.4797, allocations: 54.56 kB / 354.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.4845, allocations: 2.911 MB / 357.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.485, allocations: 0.7762 MB / 357.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000233/0.4853, allocations: 30.95 kB / 358 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.4855, allocations: 96.16 kB / 358 MB, free: 4.918 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4855, allocations: 4 kB / 358.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.5182, allocations: 5.288 MB / 363.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/0.5186, allocations: 182 kB / 363.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.255, allocations: 0 / 363.5 MB, free: 15.45 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat