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/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.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.187/2.187, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.009e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3561, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.5331, allocations: 87.03 MB / 445.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5334, allocations: 75.95 kB / 445.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7135/1.247, allocations: 88.3 MB / 0.521 GB, free: 46.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.487e-06/1.247, allocations: 0 / 0.521 GB, free: 46.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003614/1.247, allocations: 99.94 kB / 0.5211 GB, free: 46.79 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.1172/1.365, allocations: 9.647 MB / 0.5305 GB, free: 37.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.365, allocations: 12.03 kB / 0.5305 GB, free: 37.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/1.38, allocations: 2.079 MB / 0.5326 GB, free: 34.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/1.391, allocations: 3.383 MB / 0.5359 GB, free: 31.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/1.391, allocations: 152 kB / 0.536 GB, free: 31.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003331/1.395, allocations: 287.7 kB / 0.5363 GB, free: 31.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02322/1.418, allocations: 9.673 MB / 0.5457 GB, free: 21.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/1.45, allocations: 13.16 MB / 0.5586 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/1.451, allocations: 71.44 kB / 0.5587 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00209/1.453, allocations: 28 kB / 0.5587 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004173/1.457, allocations: 1.113 MB / 0.5598 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1177/1.575, allocations: 53.36 MB / 0.6119 GB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/1.591, allocations: 6.567 MB / 0.6183 GB, free: 8.434 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006845/1.598, allocations: 2.761 MB / 0.621 GB, free: 5.664 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4126/2.01, allocations: 6.432 MB / 0.6273 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/2.01, allocations: 50.02 kB / 0.6273 GB, free: 106.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 7.444e-06/2.01, allocations: 0.6562 kB / 0.6273 GB, free: 106.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.008113/2.019, allocations: 2.603 MB / 0.6299 GB, free: 106.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/2.019, allocations: 144.8 kB / 0.63 GB, free: 106.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/2.029, allocations: 3.718 MB / 0.6336 GB, free: 106.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004494/2.03, allocations: 25.7 kB / 0.6337 GB, free: 106.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003502/2.033, allocations: 3.559 MB / 0.6371 GB, free: 104.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001387/2.035, allocations: 0.7061 MB / 0.6378 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009188/2.036, allocations: 0 / 0.6378 GB, free: 104.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005993/2.036, allocations: 0.5997 MB / 0.6384 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/2.042, allocations: 2.071 MB / 0.6404 GB, free: 103.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/2.052, allocations: 6.41 MB / 0.6467 GB, free: 98.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008629/2.061, allocations: 3.622 MB / 0.6502 GB, free: 98.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002268/2.061, allocations: 49.06 kB / 0.6503 GB, free: 98.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02067/2.082, allocations: 7.463 MB / 0.6576 GB, free: 97.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/2.082, allocations: 68.72 kB / 0.6576 GB, free: 97.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/2.082, allocations: 160.6 kB / 0.6578 GB, free: 97.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/2.082, allocations: 229.8 kB / 0.658 GB, free: 97.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/2.093, allocations: 1.651 MB / 0.6596 GB, free: 97.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000298/2.093, allocations: 311.3 kB / 0.6599 GB, free: 97.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008188/2.101, allocations: 0.7687 MB / 0.6607 GB, free: 96.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/2.103, allocations: 454.1 kB / 0.6611 GB, free: 96.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 867 * 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.001761/2.105, allocations: 0.4935 MB / 0.6616 GB, free: 96.45 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006191/2.111, allocations: 2.592 MB / 0.6641 GB, free: 96.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/2.112, allocations: 370.4 kB / 0.6645 GB, free: 95.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/2.118, allocations: 2.383 MB / 0.6668 GB, free: 95.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/2.118, allocations: 24.62 kB / 0.6668 GB, free: 95.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/2.118, allocations: 3 kB / 0.6668 GB, free: 95.17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/2.118, allocations: 10.52 kB / 0.6668 GB, free: 95.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009101/2.128, allocations: 3.194 MB / 0.67 GB, free: 94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/2.128, allocations: 3.812 kB / 0.67 GB, free: 94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/2.132, allocations: 347.9 kB / 0.6703 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.313e-05/2.132, allocations: 13.78 kB / 0.6703 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003332/2.132, allocations: 12.72 kB / 0.6703 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/2.132, allocations: 9.531 kB / 0.6703 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/2.132, allocations: 0 / 0.6703 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009177/2.141, allocations: 4.711 MB / 0.6749 GB, free: 91.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/2.143, allocations: 460.9 kB / 0.6754 GB, free: 91.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/2.144, allocations: 7.156 kB / 0.6754 GB, free: 91.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/2.147, allocations: 39.64 kB / 0.6754 GB, free: 91.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005604/2.148, allocations: 95.39 kB / 0.6755 GB, free: 91.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/2.148, allocations: 50.23 kB / 0.6755 GB, free: 91.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006556/2.155, allocations: 2.489 MB / 0.678 GB, free: 90.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.155, allocations: 0 / 0.678 GB, free: 90.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008291/2.163, allocations: 1.223 MB / 0.6792 GB, free: 90.25 MB / 458.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 () * 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.009554/2.173, allocations: 5.486 MB / 0.6845 GB, free: 86.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/2.183, allocations: 4.662 MB / 0.6891 GB, free: 82.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/2.183, allocations: 4.062 kB / 0.6891 GB, free: 82.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/2.185, allocations: 1.218 MB / 0.6903 GB, free: 81.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/2.189, allocations: 386.4 kB / 0.6906 GB, free: 81.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/2.222, allocations: 10.58 MB / 0.701 GB, free: 72.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008108/2.23, allocations: 3.667 MB / 0.7046 GB, free: 69.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005636/2.236, allocations: 2.223 MB / 0.7067 GB, free: 67.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.893e-06/2.236, allocations: 0 / 0.7067 GB, free: 67.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.096/6.332, allocations: 90.02 MB / 0.7946 GB, free: 40 kB / 474.7 MB 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