Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.661/1.661, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.511, allocations: 67.85 MB / 340 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.5113, allocations: 78.02 kB / 340 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.527, allocations: 3.685 MB / 343.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.527, allocations: 0 / 343.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.527, allocations: 8 kB / 343.7 MB, free: 2.523 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.0008953/0.5279, allocations: 0.4888 MB / 344.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.528, allocations: 12.03 kB / 344.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/0.5281, allocations: 53.23 kB / 344.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.5282, allocations: 27.72 kB / 344.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.5285, allocations: 214.2 kB / 344.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5286, allocations: 19.39 kB / 344.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.5286, allocations: 22.31 kB / 344.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.5292, allocations: 210.6 kB / 344.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.5292, allocations: 7.891 kB / 344.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.5293, allocations: 19.05 kB / 344.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5293, allocations: 7.938 kB / 344.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.5297, allocations: 128.2 kB / 344.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.5311, allocations: 0.7043 MB / 345.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.5316, allocations: 154 kB / 345.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.5317, allocations: 0 / 345.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.5317, allocations: 33.69 kB / 345.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.5317, allocations: 4 kB / 345.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.002397/0.5341, allocations: 0.8881 MB / 346.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.5342, allocations: 51.41 kB / 346.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.5345, allocations: 172.3 kB / 346.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.5345, allocations: 28.89 kB / 346.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.5346, allocations: 200.8 kB / 347.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.5347, allocations: 85.86 kB / 347.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.5348, allocations: 3.062 kB / 347.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5349, allocations: 329.3 kB / 347.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.5351, allocations: 59.77 kB / 347.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.5354, allocations: 108.1 kB / 347.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.5356, allocations: 72.08 kB / 347.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5357, allocations: 0 / 347.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006948/0.5364, allocations: 244 kB / 348 MB, free: 14.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5364, allocations: 4.625 kB / 348 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5364, allocations: 7.984 kB / 348 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.5367, allocations: 31.78 kB / 348.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.5371, allocations: 51.91 kB / 348.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.5387, allocations: 1.394 MB / 349.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.539, allocations: 14.41 kB / 349.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.539, allocations: 10.98 kB / 349.5 MB, free: 12.96 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 (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.0002317/0.5393, allocations: 136.9 kB / 349.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.5394, allocations: 15.81 kB / 349.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.5394, allocations: 25.38 kB / 349.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5394, allocations: 4 kB / 349.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5395, allocations: 3.953 kB / 349.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5395, allocations: 3.984 kB / 349.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.5409, allocations: 0.6578 MB / 350.4 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5409, allocations: 4.062 kB / 350.4 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.5413, allocations: 47.91 kB / 350.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.5416, allocations: 32.19 kB / 350.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.5416, allocations: 3.312 kB / 350.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.5438, allocations: 1.393 MB / 351.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5439, allocations: 0 / 351.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.5454, allocations: 434.1 kB / 352.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.5457, allocations: 102.6 kB / 352.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.5458, allocations: 2.375 kB / 352.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.5462, allocations: 11 kB / 352.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.5463, allocations: 18.78 kB / 352.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.5464, allocations: 10.5 kB / 352.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003093/0.5467, allocations: 129.6 kB / 352.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.81e-07/0.5468, allocations: 0 / 352.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001138/0.5479, allocations: 62.38 kB / 352.6 MB, free: 9.969 MB / 282.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.002414/0.5504, allocations: 1.116 MB / 353.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.5518, allocations: 298.3 kB / 354 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5518, allocations: 0 / 354 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.5525, allocations: 219 kB / 354.2 MB, free: 8.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.5532, allocations: 27.34 kB / 354.3 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.5591, allocations: 2.178 MB / 356.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.5597, allocations: 0.748 MB / 357.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.56, allocations: 68.03 kB / 357.2 MB, free: 5.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.983e-06/0.56, allocations: 0 / 357.2 MB, free: 5.52 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.698/3.258, allocations: 4.322 MB / 361.6 MB, free: 1.23 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat