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.Oscillator.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.Oscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.0005767, allocations: 8 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3191, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4492, allocations: 72.82 MB / 381.4 MB, free: 3.738 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4496, allocations: 71.95 kB / 381.5 MB, free: 3.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.4664, allocations: 3.685 MB / 385.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.4665, allocations: 7.984 kB / 385.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.4665, allocations: 4 kB / 385.1 MB, free: 15.96 MB / 330.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.0009876/0.4675, allocations: 498.9 kB / 385.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.4676, allocations: 15.97 kB / 385.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/0.4677, allocations: 58.55 kB / 385.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.4677, allocations: 27.67 kB / 385.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.4681, allocations: 227.3 kB / 386 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4681, allocations: 16.44 kB / 386 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.4682, allocations: 20 kB / 386 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.4689, allocations: 213.3 kB / 386.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.469, allocations: 4 kB / 386.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.469, allocations: 12 kB / 386.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.469, allocations: 4 kB / 386.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.4696, allocations: 156.4 kB / 386.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.4714, allocations: 0.8035 MB / 387.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.4721, allocations: 209 kB / 387.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.4722, allocations: 4 kB / 387.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4722, allocations: 34.55 kB / 387.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.846e-06/0.4722, allocations: 0 / 387.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.002492/0.4747, allocations: 0.875 MB / 388.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.4748, allocations: 85.11 kB / 388.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.4751, allocations: 158.4 kB / 388.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.4751, allocations: 29.7 kB / 388.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4752, allocations: 140.4 kB / 388.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4754, allocations: 98.42 kB / 388.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.4754, allocations: 4 kB / 388.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4755, allocations: 326.8 kB / 389.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.4758, allocations: 75.95 kB / 389.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.4761, allocations: 108.2 kB / 389.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.4764, allocations: 88.25 kB / 389.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4765, allocations: 4.219 kB / 389.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007852/0.4773, allocations: 251.4 kB / 389.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4773, allocations: 11.92 kB / 389.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4773, allocations: 4.094 kB / 389.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.4774, allocations: 4 kB / 389.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.4779, allocations: 59.91 kB / 389.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.4779, allocations: 4 kB / 389.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.4782, allocations: 15.94 kB / 389.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.4782, allocations: 12 kB / 389.7 MB, free: 11 MB / 330.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.0002014/0.4784, allocations: 137.8 kB / 389.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.4785, allocations: 31.67 kB / 389.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.516e-05/0.4786, allocations: 25.88 kB / 389.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4786, allocations: 0 / 389.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4787, allocations: 4 kB / 389.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.4787, allocations: 3.984 kB / 389.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.48, allocations: 0.5787 MB / 390.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4801, allocations: 4 kB / 390.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.4806, allocations: 59.89 kB / 390.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.4807, allocations: 4 kB / 390.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.4807, allocations: 8 kB / 390.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.4807, allocations: 4 kB / 390.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.4807, allocations: 4 kB / 390.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.4819, allocations: 0.5555 MB / 391.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4821, allocations: 96.95 kB / 391.3 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.4821, allocations: 7.953 kB / 391.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.4824, allocations: 12 kB / 391.3 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.4825, allocations: 27.84 kB / 391.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.4825, allocations: 8 kB / 391.3 MB, free: 9.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.4827, allocations: 131.4 kB / 391.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4827, allocations: 0 / 391.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004775/0.4832, allocations: 52 kB / 391.5 MB, free: 9.109 MB / 330.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.001589/0.4848, allocations: 1.361 MB / 392.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000688/0.4856, allocations: 188 kB / 393 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4856, allocations: 0 / 393 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.4859, allocations: 99.83 kB / 393.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.4865, allocations: 32.38 kB / 393.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.4904, allocations: 2.184 MB / 395.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.4909, allocations: 0.7519 MB / 396.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.4911, allocations: 25.94 kB / 396.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.4913, allocations: 71.41 kB / 396.2 MB, free: 4.238 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4913, allocations: 0 / 396.2 MB, free: 4.238 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.524, allocations: 3.866 MB / 400.1 MB, free: 428 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.5244, allocations: 183.2 kB / 400.2 MB, free: 180 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/3.424, allocations: 0 / 400.2 MB, free: 180 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat