Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004821, allocations: 16 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4305, allocations: 54.85 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.598, allocations: 87.79 MB / 457.1 MB, free: 2.922 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5983, allocations: 75.97 kB / 457.2 MB, free: 2.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6602/1.259, allocations: 89.67 MB / 0.5341 GB, free: 37.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.857e-06/1.259, allocations: 0 / 0.5341 GB, free: 37.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003217/1.259, allocations: 99.98 kB / 0.5342 GB, free: 37.4 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: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1314/1.39, allocations: 9.957 MB / 0.5439 GB, free: 27.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.39, allocations: 8.031 kB / 0.5439 GB, free: 27.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005227/1.396, allocations: 0.8492 MB / 0.5447 GB, free: 26.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02096/1.417, allocations: 2.072 MB / 0.5467 GB, free: 24.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/1.428, allocations: 3.414 MB / 0.5501 GB, free: 20.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/1.428, allocations: 345.1 kB / 0.5504 GB, free: 20.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003653/1.432, allocations: 479.6 kB / 0.5509 GB, free: 20.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06647/1.499, allocations: 15.42 MB / 0.5659 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003174/1.499, allocations: 75.3 kB / 0.566 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003246/1.502, allocations: 215.9 kB / 0.5662 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004253/1.507, allocations: 1.109 MB / 0.5673 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06941/1.576, allocations: 15.35 MB / 0.5823 GB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/1.721, allocations: 55.52 MB / 0.6365 GB, free: 9.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1238/1.845, allocations: 7.239 MB / 0.6436 GB, free: 2.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4888/2.334, allocations: 6.562 MB / 0.65 GB, free: 114 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/2.334, allocations: 52.77 kB / 0.65 GB, free: 113.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 7.935e-06/2.334, allocations: 0 / 0.65 GB, free: 113.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.01577/2.35, allocations: 4.004 MB / 0.6539 GB, free: 113.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/2.35, allocations: 145.4 kB / 0.6541 GB, free: 113.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0136/2.364, allocations: 4.264 MB / 0.6582 GB, free: 113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004218/2.364, allocations: 53.77 kB / 0.6583 GB, free: 113 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003507/2.368, allocations: 3.465 MB / 0.6617 GB, free: 111.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/2.369, allocations: 0.7246 MB / 0.6624 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009178/2.37, allocations: 133.9 kB / 0.6625 GB, free: 110.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005675/2.371, allocations: 0.5855 MB / 0.6631 GB, free: 110.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/2.377, allocations: 2.205 MB / 0.6652 GB, free: 110.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008991/2.386, allocations: 6.451 MB / 0.6715 GB, free: 105 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008883/2.395, allocations: 3.7 MB / 0.6751 GB, free: 104.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000216/2.395, allocations: 44.09 kB / 0.6752 GB, free: 104.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02302/2.418, allocations: 8.303 MB / 0.6833 GB, free: 103.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/2.418, allocations: 73.34 kB / 0.6834 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000281/2.419, allocations: 148 kB / 0.6835 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/2.419, allocations: 223 kB / 0.6837 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/2.43, allocations: 1.624 MB / 0.6853 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003533/2.43, allocations: 297.1 kB / 0.6856 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008909/2.439, allocations: 0.9189 MB / 0.6865 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/2.441, allocations: 445 kB / 0.6869 GB, free: 103 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 843 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006938/2.448, allocations: 2.295 MB / 0.6891 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/2.449, allocations: 402.3 kB / 0.6895 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006967/2.456, allocations: 2.539 MB / 0.692 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.259e-05/2.456, allocations: 20.94 kB / 0.692 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/2.456, allocations: 11.86 kB / 0.692 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/2.456, allocations: 7.781 kB / 0.692 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/2.474, allocations: 4.276 MB / 0.6962 GB, free: 99.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-05/2.474, allocations: 0 / 0.6962 GB, free: 99.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006637/2.481, allocations: 351.3 kB / 0.6966 GB, free: 99.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.37e-05/2.481, allocations: 5.312 kB / 0.6966 GB, free: 99.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/2.481, allocations: 35.83 kB / 0.6966 GB, free: 99.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.458e-05/2.481, allocations: 7.25 kB / 0.6966 GB, free: 99.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.481, allocations: 3.844 kB / 0.6966 GB, free: 99.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/2.491, allocations: 4.893 MB / 0.7014 GB, free: 96.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/2.493, allocations: 495.8 kB / 0.7019 GB, free: 96.47 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/2.495, allocations: 34.84 kB / 0.7019 GB, free: 96.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/2.498, allocations: 60.58 kB / 0.7019 GB, free: 96.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005833/2.499, allocations: 103.3 kB / 0.702 GB, free: 96.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/2.499, allocations: 47.69 kB / 0.7021 GB, free: 96.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008433/2.507, allocations: 2.983 MB / 0.705 GB, free: 95.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.507, allocations: 0 / 0.705 GB, free: 95.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008445/2.516, allocations: 1.331 MB / 0.7063 GB, free: 95.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01064/2.527, allocations: 5.71 MB / 0.7119 GB, free: 90.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01151/2.538, allocations: 4.984 MB / 0.7167 GB, free: 86.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/2.538, allocations: 4.062 kB / 0.7168 GB, free: 86.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/2.541, allocations: 1.273 MB / 0.718 GB, free: 85.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/2.545, allocations: 483.3 kB / 0.7185 GB, free: 85.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5713/3.116, allocations: 143.9 MB / 0.859 GB, free: 124 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008442/3.125, allocations: 3.675 MB / 0.8626 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006142/3.131, allocations: 2.251 MB / 0.8648 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/3.131, allocations: 0 / 0.8648 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.656/7.787, allocations: 93.38 MB / 0.9559 GB, free: 57.23 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat