Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005151, allocations: 11.98 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.1, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.5686, allocations: 92.39 MB / 400.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.5689, allocations: 98.2 kB / 401 MB, free: 14.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3524/0.9214, allocations: 83.73 MB / 484.8 MB, free: 3 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.9215, allocations: 4 kB / 484.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003253/0.9218, allocations: 87.94 kB / 484.9 MB, free: 2.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02897/0.9508, allocations: 4.722 MB / 489.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.9509, allocations: 16.03 kB / 489.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003908/0.9548, allocations: 0.7667 MB / 490.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01815/0.973, allocations: 2.209 MB / 492.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/0.9907, allocations: 4.481 MB / 497 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000474/0.9913, allocations: 324.4 kB / 497.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/0.994, allocations: 423.8 kB / 497.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03496/1.029, allocations: 10.79 MB / 0.4966 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/1.029, allocations: 63.41 kB / 0.4967 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/1.031, allocations: 207.9 kB / 0.4969 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00258/1.033, allocations: 0.9906 MB / 0.4979 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03056/1.064, allocations: 9.007 MB / 0.5067 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3755/1.44, allocations: 48.86 MB / 0.5544 GB, free: 55.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/1.459, allocations: 3.532 MB / 0.5578 GB, free: 55.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/1.472, allocations: 4.368 MB / 0.5621 GB, free: 53.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/1.472, allocations: 49.56 kB / 0.5622 GB, free: 53.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 9.909e-06/1.472, allocations: 0 / 0.5622 GB, free: 53.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.05007/1.522, allocations: 12.24 MB / 0.5741 GB, free: 50.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/1.522, allocations: 146.8 kB / 0.5742 GB, free: 50.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009539/1.532, allocations: 3.705 MB / 0.5779 GB, free: 50.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004803/1.532, allocations: 47.42 kB / 0.5779 GB, free: 50.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0028/1.535, allocations: 3.107 MB / 0.5809 GB, free: 48.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.536, allocations: 0.5918 MB / 0.5815 GB, free: 48.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007952/1.537, allocations: 112.7 kB / 0.5816 GB, free: 48.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000415/1.538, allocations: 0.5643 MB / 0.5822 GB, free: 47.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005165/1.543, allocations: 1.969 MB / 0.5841 GB, free: 47.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00803/1.551, allocations: 5.771 MB / 0.5897 GB, free: 42.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007941/1.559, allocations: 3.303 MB / 0.593 GB, free: 42.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.559, allocations: 40.62 kB / 0.593 GB, free: 42.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02284/1.582, allocations: 8.085 MB / 0.6009 GB, free: 41.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.582, allocations: 65.38 kB / 0.601 GB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/1.582, allocations: 133.9 kB / 0.6011 GB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/1.587, allocations: 0.9196 MB / 0.602 GB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008304/1.595, allocations: 1.378 MB / 0.6033 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009319/1.604, allocations: 4.88 MB / 0.6081 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006558/1.611, allocations: 321.9 kB / 0.6084 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/1.612, allocations: 374.2 kB / 0.6088 GB, free: 38.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 725 * Array equations: 3 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006023/1.618, allocations: 2.107 MB / 0.6108 GB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009181/1.619, allocations: 347.5 kB / 0.6111 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009412/1.629, allocations: 2.873 MB / 0.614 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.605e-05/1.629, allocations: 17.91 kB / 0.614 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.629, allocations: 3.656 kB / 0.614 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.629, allocations: 7.109 kB / 0.614 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/1.651, allocations: 7.013 MB / 0.6208 GB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/1.651, allocations: 3.75 kB / 0.6208 GB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.654, allocations: 249.6 kB / 0.6211 GB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/1.657, allocations: 0.6947 MB / 0.6217 GB, free: 33.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/1.658, allocations: 34.69 kB / 0.6218 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009029/1.667, allocations: 4.452 MB / 0.6261 GB, free: 30.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.667, allocations: 3.828 kB / 0.6261 GB, free: 30.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.681, allocations: 5.188 MB / 0.6312 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.683, allocations: 0.6187 MB / 0.6318 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/1.684, allocations: 27.61 kB / 0.6318 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.687, allocations: 83.38 kB / 0.6319 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000539/1.688, allocations: 85.38 kB / 0.632 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.688, allocations: 40.73 kB / 0.632 GB, free: 27.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006715/1.695, allocations: 2.587 MB / 0.6346 GB, free: 25.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.695, allocations: 4 kB / 0.6346 GB, free: 25.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007203/1.702, allocations: 0.959 MB / 0.6355 GB, free: 24.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * 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 (114): * Single equations (assignments): 110 * Array equations: 3 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01339/1.715, allocations: 6.003 MB / 0.6414 GB, free: 19.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01172/1.727, allocations: 4.754 MB / 0.646 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.727, allocations: 0 / 0.646 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/1.73, allocations: 1.358 MB / 0.6473 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.733, allocations: 407.2 kB / 0.6477 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3969/2.13, allocations: 127.2 MB / 0.772 GB, free: 46.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007847/2.138, allocations: 3.312 MB / 0.7752 GB, free: 45.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00459/2.143, allocations: 1.889 MB / 0.7771 GB, free: 45.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.432e-06/2.143, allocations: 0 / 0.7771 GB, free: 45.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.63/6.773, allocations: 97.21 MB / 0.872 GB, free: 124.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat