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.Oscillator.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.Oscillator,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.000386, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08128, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.4317, allocations: 67.52 MB / 339.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.4321, allocations: 68.91 kB / 339.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02072/0.4529, allocations: 3.716 MB / 343.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4529, allocations: 0 / 343.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.453, allocations: 4 kB / 343.4 MB, free: 2.207 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001261/0.4542, allocations: 0.4928 MB / 343.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.4543, allocations: 12.03 kB / 343.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.4545, allocations: 56.3 kB / 344 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.4546, allocations: 23.72 kB / 344 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.455, allocations: 228.6 kB / 344.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.4551, allocations: 22.12 kB / 344.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/0.4552, allocations: 15.94 kB / 344.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.456, allocations: 220.7 kB / 344.5 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.4561, allocations: 4 kB / 344.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.4561, allocations: 3.938 kB / 344.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.4562, allocations: 4 kB / 344.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.4569, allocations: 164.5 kB / 344.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.4593, allocations: 0.7999 MB / 345.5 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008702/0.4603, allocations: 209.9 kB / 345.7 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.4603, allocations: 7.984 kB / 345.7 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4604, allocations: 34.06 kB / 345.7 MB, free: 60 kB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 6.111e-06/0.4604, allocations: 0 / 345.7 MB, free: 60 kB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003257/0.4637, allocations: 0.8914 MB / 346.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.4638, allocations: 81.11 kB / 346.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.4641, allocations: 159.5 kB / 346.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.4642, allocations: 33.39 kB / 346.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.4643, allocations: 137.8 kB / 347 MB, free: 14.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.4645, allocations: 95.77 kB / 347.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.4645, allocations: 3.312 kB / 347.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4647, allocations: 333.9 kB / 347.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.4651, allocations: 73.78 kB / 347.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.4655, allocations: 111.4 kB / 347.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.4659, allocations: 82.34 kB / 347.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4659, allocations: 0 / 347.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009768/0.4669, allocations: 255.1 kB / 347.9 MB, free: 14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.4669, allocations: 4 kB / 347.9 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.467, allocations: 4.094 kB / 347.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.467, allocations: 11.89 kB / 348 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.4677, allocations: 63.72 kB / 348 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.4677, allocations: 4 kB / 348 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.468, allocations: 15.61 kB / 348 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.468, allocations: 4 kB / 348 MB, free: 13.9 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0002231/0.4683, allocations: 136.7 kB / 348.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.4684, allocations: 27.72 kB / 348.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4685, allocations: 31.73 kB / 348.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4686, allocations: 0 / 348.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.4686, allocations: 7.953 kB / 348.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4686, allocations: 0 / 348.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.4703, allocations: 0.5868 MB / 348.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.4703, allocations: 3.953 kB / 348.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/0.4711, allocations: 63.72 kB / 348.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4711, allocations: 0 / 348.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.4711, allocations: 7.125 kB / 348.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.4712, allocations: 3.984 kB / 348.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4712, allocations: 4 kB / 348.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.4727, allocations: 0.5462 MB / 349.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.4729, allocations: 111.3 kB / 349.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.4729, allocations: 7.5 kB / 349.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.4732, allocations: 19.25 kB / 349.6 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.4733, allocations: 22.92 kB / 349.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.4733, allocations: 7.25 kB / 349.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.4735, allocations: 140.6 kB / 349.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4735, allocations: 0 / 349.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000481/0.474, allocations: 50.88 kB / 349.8 MB, free: 12.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.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 (26): * Single equations (assignments): 26 * 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.001571/0.4756, allocations: 1.359 MB / 351.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.4763, allocations: 184.7 kB / 351.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4763, allocations: 0 / 351.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.4766, allocations: 104.7 kB / 351.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.4772, allocations: 34.88 kB / 351.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.4814, allocations: 2.196 MB / 353.7 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.4819, allocations: 0.7517 MB / 354.4 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.4821, allocations: 25.94 kB / 354.5 MB, free: 7.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4822, allocations: 64.86 kB / 354.5 MB, free: 7.766 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4822, allocations: 0 / 354.5 MB, free: 7.766 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.5197, allocations: 3.868 MB / 358.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.5201, allocations: 182.8 kB / 358.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.005, allocations: 0 / 358.6 MB, free: 3.719 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat