Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.589/2.589, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.286e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3388, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.544, allocations: 98.3 MB / 456.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5444, allocations: 71.97 kB / 456.5 MB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7317/1.276, allocations: 89 MB / 0.5327 GB, free: 34.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.276, allocations: 0 / 0.5327 GB, free: 34.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003174/1.276, allocations: 80 kB / 0.5328 GB, free: 34.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.02067/1.297, allocations: 3.97 MB / 0.5367 GB, free: 30.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.297, allocations: 8.031 kB / 0.5367 GB, free: 30.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03972/1.337, allocations: 3.55 MB / 0.5401 GB, free: 27.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/1.361, allocations: 4.417 MB / 0.5444 GB, free: 22.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004582/1.361, allocations: 143.9 kB / 0.5446 GB, free: 22.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003567/1.365, allocations: 255.8 kB / 0.5448 GB, free: 22.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0263/1.391, allocations: 7.683 MB / 0.5523 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03793/1.429, allocations: 10.03 MB / 0.5621 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.429, allocations: 27.75 kB / 0.5622 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002811/1.432, allocations: 12 kB / 0.5622 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004076/1.436, allocations: 1.251 MB / 0.5634 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1408/1.577, allocations: 35.14 MB / 0.5977 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.589, allocations: 4.358 MB / 0.602 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007685/1.597, allocations: 2.335 MB / 0.6042 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002665/1.6, allocations: 1.323 MB / 0.6055 GB, free: 6.488 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/1.6, allocations: 60.53 kB / 0.6056 GB, free: 6.418 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 1.061e-05/1.6, allocations: 4 kB / 0.6056 GB, free: 6.414 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.07065/1.671, allocations: 15.7 MB / 0.6209 GB, free: 6.609 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/1.671, allocations: 73.41 kB / 0.621 GB, free: 6.527 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007628/1.678, allocations: 2.307 MB / 0.6233 GB, free: 4.207 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006323/1.679, allocations: 33.64 kB / 0.6233 GB, free: 4.168 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004297/1.684, allocations: 2.94 MB / 0.6262 GB, free: 1.188 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.686, allocations: 0.9016 MB / 0.627 GB, free: 280 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007688/1.687, allocations: 3.938 kB / 0.627 GB, free: 276 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.3386/2.025, allocations: 0.5663 MB / 0.6276 GB, free: 111.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00688/2.032, allocations: 2.225 MB / 0.6298 GB, free: 111.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008549/2.041, allocations: 5.405 MB / 0.635 GB, free: 107.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008148/2.049, allocations: 3.514 MB / 0.6385 GB, free: 107.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/2.049, allocations: 30.56 kB / 0.6385 GB, free: 107.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02298/2.072, allocations: 7.783 MB / 0.6461 GB, free: 107.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/2.072, allocations: 54.56 kB / 0.6462 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/2.072, allocations: 111 kB / 0.6463 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004955/2.077, allocations: 0.9627 MB / 0.6472 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008477/2.086, allocations: 1.321 MB / 0.6485 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009796/2.096, allocations: 4.553 MB / 0.6529 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/2.102, allocations: 201.4 kB / 0.6531 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/2.104, allocations: 329.5 kB / 0.6535 GB, free: 105.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (708): * Single equations (assignments): 701 * Array equations: 6 * 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 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002312/2.106, allocations: 397.6 kB / 0.6538 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01314/2.119, allocations: 4.426 MB / 0.6582 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/2.12, allocations: 274.1 kB / 0.6584 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/2.135, allocations: 4.944 MB / 0.6632 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001284/2.136, allocations: 50 kB / 0.6633 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/2.136, allocations: 0 / 0.6633 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-05/2.136, allocations: 13.23 kB / 0.6633 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0359/2.172, allocations: 10.83 MB / 0.6739 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/2.172, allocations: 14.59 kB / 0.6739 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003574/2.175, allocations: 402.4 kB / 0.6743 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004957/2.18, allocations: 0.7625 MB / 0.675 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006547/2.181, allocations: 26.7 kB / 0.675 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/2.193, allocations: 3.861 MB / 0.6788 GB, free: 98.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-05/2.193, allocations: 17.89 kB / 0.6788 GB, free: 98.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02547/2.219, allocations: 8.313 MB / 0.6869 GB, free: 91.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003295/2.222, allocations: 0.6741 MB / 0.6876 GB, free: 91.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/2.223, allocations: 19 kB / 0.6876 GB, free: 91.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003965/2.227, allocations: 105.2 kB / 0.6877 GB, free: 90.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.228, allocations: 161.2 kB / 0.6879 GB, free: 90.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003873/2.229, allocations: 73.16 kB / 0.6879 GB, free: 90.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004689/2.233, allocations: 1.514 MB / 0.6894 GB, free: 89.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.233, allocations: 0 / 0.6894 GB, free: 89.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01027/2.244, allocations: 0.8722 MB / 0.6903 GB, free: 88.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02309/2.267, allocations: 11.62 MB / 0.7016 GB, free: 77.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01222/2.279, allocations: 5.424 MB / 0.7069 GB, free: 72.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/2.279, allocations: 4 kB / 0.7069 GB, free: 72.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004722/2.284, allocations: 2.07 MB / 0.709 GB, free: 70.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/2.287, allocations: 245.8 kB / 0.7092 GB, free: 70.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/2.321, allocations: 10.38 MB / 0.7193 GB, free: 61.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008488/2.329, allocations: 3.533 MB / 0.7228 GB, free: 58.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005535/2.335, allocations: 1.946 MB / 0.7247 GB, free: 57.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.683e-06/2.335, allocations: 0 / 0.7247 GB, free: 57.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.74/7.075, allocations: 97.58 MB / 0.82 GB, free: 128.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat