Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003804, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09828, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/0.5867, allocations: 73.15 MB / 381.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.587, allocations: 71.52 kB / 381.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.6018, allocations: 3.671 MB / 385.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6019, allocations: 2.844 kB / 385.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.6019, allocations: 7.812 kB / 385.4 MB, free: 13.94 MB / 314.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.00078/0.6027, allocations: 487.2 kB / 385.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6028, allocations: 10.56 kB / 385.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.6029, allocations: 54.09 kB / 386 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.603, allocations: 31.2 kB / 386 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.6032, allocations: 236.6 kB / 386.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.6033, allocations: 16.38 kB / 386.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.6033, allocations: 30.39 kB / 386.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.6039, allocations: 203.1 kB / 386.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6039, allocations: 0.8125 kB / 386.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.6039, allocations: 9.719 kB / 386.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6039, allocations: 4.25 kB / 386.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.6044, allocations: 136 kB / 386.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.6057, allocations: 0.7076 MB / 387.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.6061, allocations: 154.8 kB / 387.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.6061, allocations: 4.625 kB / 387.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.6061, allocations: 35.77 kB / 387.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.676e-06/0.6061, allocations: 0 / 387.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.002133/0.6083, allocations: 0.8957 MB / 388.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.6083, allocations: 61.58 kB / 388.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.6085, allocations: 151.4 kB / 388.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.6086, allocations: 30.8 kB / 388.7 MB, free: 12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.6086, allocations: 201.7 kB / 388.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/0.6087, allocations: 87.33 kB / 388.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.6088, allocations: 5.094 kB / 388.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.6088, allocations: 319.7 kB / 389.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.609, allocations: 60.5 kB / 389.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.6092, allocations: 107.5 kB / 389.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.6095, allocations: 80.86 kB / 389.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6095, allocations: 0 / 389.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000661/0.6102, allocations: 238.6 kB / 389.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6102, allocations: 9.641 kB / 389.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6102, allocations: 1.375 kB / 389.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.6105, allocations: 40.42 kB / 389.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.6108, allocations: 51.5 kB / 389.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.6121, allocations: 1.382 MB / 391.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.6124, allocations: 13.91 kB / 391.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.6124, allocations: 7.75 kB / 391.2 MB, free: 10.05 MB / 314.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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.6126, allocations: 131.1 kB / 391.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.6127, allocations: 31.23 kB / 391.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.6127, allocations: 26.36 kB / 391.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6127, allocations: 6.625 kB / 391.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6128, allocations: 2.828 kB / 391.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6128, allocations: 0 / 391.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.614, allocations: 0.6535 MB / 392.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.614, allocations: 0 / 392.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.6144, allocations: 49.22 kB / 392.1 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.6146, allocations: 32.72 kB / 392.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.6146, allocations: 6.562 kB / 392.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.6158, allocations: 1.396 MB / 393.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6158, allocations: 0 / 393.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.6166, allocations: 432.6 kB / 394 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.6167, allocations: 98.11 kB / 394.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.6168, allocations: 3.5 kB / 394.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.617, allocations: 13.28 kB / 394.1 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.617, allocations: 18.42 kB / 394.1 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.6171, allocations: 11.56 kB / 394.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.6172, allocations: 124.6 kB / 394.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6172, allocations: 3.938 kB / 394.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004841/0.6177, allocations: 60.88 kB / 394.3 MB, free: 7.832 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009993/0.6187, allocations: 1.11 MB / 395.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.6195, allocations: 284.4 kB / 395.7 MB, free: 6.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6195, allocations: 7.938 kB / 395.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.6199, allocations: 214.5 kB / 395.9 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.6204, allocations: 40.55 kB / 396 MB, free: 6.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.6235, allocations: 2.156 MB / 398.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.624, allocations: 0.7527 MB / 398.9 MB, free: 20.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.6242, allocations: 62.94 kB / 398.9 MB, free: 20.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6242, allocations: 0 / 398.9 MB, free: 20.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.989/3.613, allocations: 4.321 MB / 403.2 MB, free: 20.26 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat