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.Rotor1D_1.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.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.533e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3388, allocations: 54.86 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.521, allocations: 101.9 MB / 460 MB, free: 8.859 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.5214, allocations: 87.89 kB / 460.1 MB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8503/1.372, allocations: 144.7 MB / 0.5906 GB, free: 8.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.372, allocations: 0 / 0.5906 GB, free: 8.207 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007091/1.373, allocations: 144 kB / 0.5907 GB, free: 8.066 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.05866/1.431, allocations: 8.556 MB / 0.5991 GB, free: 15.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.431, allocations: 8.031 kB / 0.5991 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1186/1.55, allocations: 16.69 MB / 0.6154 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05106/1.601, allocations: 13.29 MB / 0.6284 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005009/1.602, allocations: 212 kB / 0.6286 GB, free: 1.129 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003703/1.605, allocations: 407.7 kB / 0.6289 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.393/1.998, allocations: 8.999 MB / 0.6377 GB, free: 71.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03611/2.035, allocations: 14.14 MB / 0.6515 GB, free: 67.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000608/2.035, allocations: 108.9 kB / 0.6517 GB, free: 67.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003104/2.038, allocations: 46.94 kB / 0.6517 GB, free: 67.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003622/2.042, allocations: 1.477 MB / 0.6531 GB, free: 66.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1154/2.157, allocations: 74.51 MB / 0.7259 GB, free: 20 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009966/2.167, allocations: 5.336 MB / 0.7311 GB, free: 17.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007476/2.175, allocations: 4.012 MB / 0.735 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/2.178, allocations: 1.345 MB / 0.7363 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/2.178, allocations: 63.88 kB / 0.7364 GB, free: 14.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 7.074e-06/2.178, allocations: 0 / 0.7364 GB, free: 14.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=350): time 0.198/2.376, allocations: 43.28 MB / 0.7787 GB, free: 3.969 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/2.376, allocations: 267.5 kB / 0.7789 GB, free: 3.652 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01712/2.393, allocations: 5.665 MB / 0.7845 GB, free: 14.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001183/2.395, allocations: 25.7 kB / 0.7845 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006239/2.401, allocations: 4.989 MB / 0.7894 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002864/2.404, allocations: 1.302 MB / 0.7906 GB, free: 9.312 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/2.406, allocations: 0 / 0.7906 GB, free: 9.312 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00097/2.407, allocations: 0.7188 MB / 0.7913 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01157/2.418, allocations: 4.315 MB / 0.7955 GB, free: 4.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01737/2.436, allocations: 9.683 MB / 0.805 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/2.452, allocations: 6.354 MB / 0.8112 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002347/2.452, allocations: 56 kB / 0.8113 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.5321/2.984, allocations: 29.95 MB / 0.8405 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000312/2.985, allocations: 89.48 kB / 0.8406 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1133/3.098, allocations: 20.31 MB / 0.8604 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08652/3.185, allocations: 16.53 MB / 0.8766 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/3.198, allocations: 2.153 MB / 0.8787 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0717/3.27, allocations: 31.5 MB / 0.9094 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/3.284, allocations: 0.5901 MB / 0.91 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002851/3.287, allocations: 0.5697 MB / 0.9106 GB, free: 90.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1111): * Single equations (assignments): 1098 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004296/3.291, allocations: 0.5882 MB / 0.9111 GB, free: 90.35 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0327/3.324, allocations: 9.727 MB / 0.9206 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002472/3.326, allocations: 0.6252 MB / 0.9213 GB, free: 80.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03319/3.36, allocations: 9.801 MB / 0.9308 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02839/3.388, allocations: 8.612 MB / 0.9392 GB, free: 62.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-05/3.388, allocations: 18.73 kB / 0.9393 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/3.388, allocations: 15.94 kB / 0.9393 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07046/3.459, allocations: 22.27 MB / 0.961 GB, free: 39.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.399e-05/3.459, allocations: 3.094 kB / 0.961 GB, free: 39.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005771/3.465, allocations: 0.55 MB / 0.9616 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02347/3.488, allocations: 3.96 MB / 0.9654 GB, free: 35.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/3.489, allocations: 55.92 kB / 0.9655 GB, free: 35.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04307/3.533, allocations: 22.73 MB / 0.9877 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002309/3.535, allocations: 2.883 MB / 0.9905 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4125/3.947, allocations: 15.07 MB / 1.005 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005509/3.953, allocations: 1.312 MB / 1.006 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002866/3.956, allocations: 39.22 kB / 1.007 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007915/3.964, allocations: 301.9 kB / 1.007 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001834/3.966, allocations: 238.4 kB / 1.007 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007701/3.967, allocations: 101.6 kB / 1.007 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0105/3.977, allocations: 3.889 MB / 1.011 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.114e-06/3.977, allocations: 2.906 kB / 1.011 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01415/3.991, allocations: 1.916 MB / 1.013 GB, free: 109.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET6522106249.x[3],$STATESET6522106249.x[2],$STATESET6522106249.x[1],$STATESET6522106248.x[3],$STATESET6522106248.x[2],$STATESET6522106248.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04242/4.034, allocations: 16.01 MB / 1.028 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03619/4.07, allocations: 11.37 MB / 1.04 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/4.07, allocations: 0 / 1.04 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01655/4.087, allocations: 5.004 MB / 1.044 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/4.098, allocations: 0.8038 MB / 1.045 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07013/4.168, allocations: 19.05 MB / 1.064 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01415/4.182, allocations: 5.502 MB / 1.069 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009894/4.192, allocations: 3.703 MB / 1.073 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/4.192, allocations: 7.969 kB / 1.073 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.197/11.39, allocations: 355.9 MB / 1.42 GB, free: 124 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat