Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.761e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.341, allocations: 54.84 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.5191, allocations: 101.8 MB / 459.9 MB, free: 9.035 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/0.5195, allocations: 79.95 kB / 460 MB, free: 8.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6932/1.213, allocations: 103.8 MB / 0.5505 GB, free: 17.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.276e-06/1.213, allocations: 3.984 kB / 0.5505 GB, free: 17.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003584/1.213, allocations: 108 kB / 0.5506 GB, free: 17.53 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.01992/1.233, allocations: 5.247 MB / 0.5558 GB, free: 12.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.233, allocations: 8.031 kB / 0.5558 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04807/1.281, allocations: 6.896 MB / 0.5625 GB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/1.305, allocations: 6.852 MB / 0.5692 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/1.305, allocations: 176.3 kB / 0.5694 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002824/1.308, allocations: 323.8 kB / 0.5697 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02089/1.329, allocations: 7.209 MB / 0.5767 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03309/1.362, allocations: 11.13 MB / 0.5876 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003849/1.363, allocations: 83.22 kB / 0.5877 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/1.365, allocations: 40 kB / 0.5877 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/1.368, allocations: 1.125 MB / 0.5888 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4459/1.814, allocations: 55.48 MB / 0.643 GB, free: 60.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006264/1.82, allocations: 3.409 MB / 0.6463 GB, free: 59.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/1.824, allocations: 2.164 MB / 0.6484 GB, free: 59.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/1.825, allocations: 339.5 kB / 0.6487 GB, free: 59.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/1.825, allocations: 57.56 kB / 0.6488 GB, free: 59.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=199): time 5.821e-06/1.825, allocations: 0 / 0.6488 GB, free: 59.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=221): time 0.06372/1.888, allocations: 18.69 MB / 0.667 GB, free: 56.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/1.889, allocations: 205.2 kB / 0.6672 GB, free: 55.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00855/1.897, allocations: 3.661 MB / 0.6708 GB, free: 55.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005206/1.898, allocations: 28.2 kB / 0.6708 GB, free: 55.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003147/1.901, allocations: 3.715 MB / 0.6745 GB, free: 53.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.902, allocations: 0.8154 MB / 0.6753 GB, free: 53.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008045/1.903, allocations: 0 / 0.6753 GB, free: 53.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004747/1.904, allocations: 0.5967 MB / 0.6758 GB, free: 52.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004884/1.908, allocations: 2.138 MB / 0.6779 GB, free: 52.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007908/1.916, allocations: 6.193 MB / 0.684 GB, free: 47.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00805/1.925, allocations: 3.61 MB / 0.6875 GB, free: 46.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/1.925, allocations: 41.28 kB / 0.6875 GB, free: 46.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.02339/1.948, allocations: 8.012 MB / 0.6954 GB, free: 44.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/1.948, allocations: 73.36 kB / 0.6954 GB, free: 44.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002349/1.949, allocations: 142.3 kB / 0.6956 GB, free: 44.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004541/1.953, allocations: 0.9431 MB / 0.6965 GB, free: 44.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009782/1.963, allocations: 1.563 MB / 0.698 GB, free: 44.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.975, allocations: 7.081 MB / 0.7049 GB, free: 39.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007483/1.983, allocations: 236.1 kB / 0.7052 GB, free: 39.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.985, allocations: 412.3 kB / 0.7056 GB, free: 39.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 660 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 820 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001876/1.987, allocations: 476.6 kB / 0.706 GB, free: 39.24 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01392/2.001, allocations: 3.663 MB / 0.7096 GB, free: 37.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/2.002, allocations: 402.8 kB / 0.71 GB, free: 37.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/2.016, allocations: 3.397 MB / 0.7133 GB, free: 34.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-05/2.016, allocations: 24 kB / 0.7133 GB, free: 34.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/2.016, allocations: 4 kB / 0.7133 GB, free: 34.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.833e-05/2.017, allocations: 12.3 kB / 0.7133 GB, free: 34.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03187/2.048, allocations: 8.365 MB / 0.7215 GB, free: 27.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/2.049, allocations: 0 / 0.7215 GB, free: 27.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004342/2.053, allocations: 345.4 kB / 0.7218 GB, free: 27.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005155/2.058, allocations: 0.6703 MB / 0.7225 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004781/2.059, allocations: 8 kB / 0.7225 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/2.072, allocations: 6.209 MB / 0.7286 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/2.072, allocations: 4 kB / 0.7286 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/2.086, allocations: 6.189 MB / 0.7346 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002703/2.088, allocations: 0.7017 MB / 0.7353 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.09, allocations: 4 kB / 0.7353 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/2.093, allocations: 81.53 kB / 0.7354 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006928/2.094, allocations: 136 kB / 0.7355 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/2.094, allocations: 56.25 kB / 0.7356 GB, free: 14.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005896/2.1, allocations: 2.488 MB / 0.738 GB, free: 12.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.763e-06/2.1, allocations: 2.469 kB / 0.738 GB, free: 12.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008634/2.109, allocations: 1.025 MB / 0.739 GB, free: 11.58 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01455/2.123, allocations: 7.139 MB / 0.746 GB, free: 5.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01219/2.135, allocations: 5.385 MB / 0.7512 GB, free: 308 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/2.136, allocations: 0 / 0.7512 GB, free: 308 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0111/2.147, allocations: 2.258 MB / 0.7534 GB, free: 15.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/2.151, allocations: 447.3 kB / 0.7538 GB, free: 15.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04068/2.192, allocations: 11.37 MB / 0.7649 GB, free: 5.379 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/2.202, allocations: 4.101 MB / 0.7689 GB, free: 2.309 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00691/2.209, allocations: 2.481 MB / 0.7714 GB, free: 12 kB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/2.209, allocations: 0 / 0.7714 GB, free: 12 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.84/7.049, allocations: 141.9 MB / 0.91 GB, free: 102.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat