Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01111/0.01111, allocations: 106.6 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001318/0.001318, allocations: 181.3 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.964/1.964, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2826/0.2826, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004977, allocations: 16 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 54.87 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.444/0.5623, allocations: 70.3 MB / 486.3 MB, free: 23.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05634/0.6187, allocations: 14.8 MB / 0.4894 GB, free: 13.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01799/0.6368, allocations: 336.3 kB / 0.4897 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.6493, allocations: 3.572 MB / 0.4932 GB, free: 12.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04914/0.6985, allocations: 9.676 MB / 0.5026 GB, free: 7.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005484/0.7041, allocations: 491.8 kB / 0.5031 GB, free: 7.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007175/0.7113, allocations: 2.398 MB / 0.5054 GB, free: 6.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.722, allocations: 4.493 MB / 0.5098 GB, free: 4.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.7253, allocations: 1.185 MB / 0.511 GB, free: 4.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005261/0.7306, allocations: 1.996 MB / 0.5129 GB, free: 3.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.7323, allocations: 187.7 kB / 0.5131 GB, free: 3.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.7355, allocations: 0.6071 MB / 0.5137 GB, free: 3.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003419/0.739, allocations: 1.738 MB / 0.5154 GB, free: 2.234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.7416, allocations: 0.9857 MB / 0.5164 GB, free: 1.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.7526, allocations: 6.739 MB / 0.523 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7526, allocations: 0 / 0.523 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.294e-06/0.7527, allocations: 3.984 kB / 0.523 GB, free: 12.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003386/0.753, allocations: 0 / 0.523 GB, free: 12.85 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.1891/0.9421, allocations: 13.83 MB / 0.5365 GB, free: 216 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.9422, allocations: 8.031 kB / 0.5365 GB, free: 208 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00463/0.9468, allocations: 0.818 MB / 0.5373 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/0.9642, allocations: 2.165 MB / 0.5394 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.9786, allocations: 2.882 MB / 0.5422 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.9791, allocations: 298.8 kB / 0.5425 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003265/0.9824, allocations: 411.6 kB / 0.5429 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06888/1.051, allocations: 15.09 MB / 0.5576 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002394/1.052, allocations: 43.5 kB / 0.5577 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002159/1.054, allocations: 183.8 kB / 0.5578 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007002/1.061, allocations: 1.799 MB / 0.5596 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07066/1.132, allocations: 15.26 MB / 0.5745 GB, free: 8.461 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1298/1.261, allocations: 47.6 MB / 0.621 GB, free: 7.523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1079/1.369, allocations: 7.197 MB / 0.628 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4033/1.773, allocations: 476.6 kB / 0.6285 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.813e-05/1.773, allocations: 53.3 kB / 0.6285 GB, free: 150.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=212): time 9.297e-06/1.773, allocations: 0 / 0.6285 GB, free: 150.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.2133/1.986, allocations: 14.19 MB / 0.6424 GB, free: 150.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/1.986, allocations: 150.8 kB / 0.6425 GB, free: 150 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01517/2.002, allocations: 4.64 MB / 0.647 GB, free: 149.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006571/2.002, allocations: 55.61 kB / 0.6471 GB, free: 149.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003881/2.006, allocations: 3.478 MB / 0.6505 GB, free: 146.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/2.008, allocations: 0.8363 MB / 0.6513 GB, free: 146.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007994/2.009, allocations: 131.1 kB / 0.6514 GB, free: 146 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004931/2.009, allocations: 0.5902 MB / 0.652 GB, free: 145.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00697/2.016, allocations: 2.224 MB / 0.6542 GB, free: 144.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01093/2.027, allocations: 6.479 MB / 0.6605 GB, free: 138.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/2.037, allocations: 3.725 MB / 0.6641 GB, free: 136.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002611/2.038, allocations: 44.75 kB / 0.6642 GB, free: 136.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02696/2.065, allocations: 8.514 MB / 0.6725 GB, free: 133.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/2.065, allocations: 73.11 kB / 0.6726 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003214/2.065, allocations: 152.4 kB / 0.6727 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/2.066, allocations: 223.1 kB / 0.6729 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/2.077, allocations: 1.623 MB / 0.6745 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000432/2.077, allocations: 297 kB / 0.6748 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008867/2.086, allocations: 0.9144 MB / 0.6757 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/2.088, allocations: 446.2 kB / 0.6761 GB, free: 132.7 MB / 490.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 (852): * Single equations (assignments): 849 * 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.006825/2.095, allocations: 2.309 MB / 0.6784 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/2.096, allocations: 396 kB / 0.6788 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/2.103, allocations: 2.726 MB / 0.6814 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.354e-05/2.103, allocations: 22.34 kB / 0.6814 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/2.103, allocations: 3.781 kB / 0.6814 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/2.103, allocations: 10.55 kB / 0.6814 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/2.124, allocations: 8.099 MB / 0.6894 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/2.124, allocations: 7.656 kB / 0.6894 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004227/2.128, allocations: 408.6 kB / 0.6898 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.388e-05/2.129, allocations: 15.53 kB / 0.6898 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003938/2.129, allocations: 51.12 kB / 0.6898 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.422e-05/2.129, allocations: 23.77 kB / 0.6898 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/2.129, allocations: 15.66 kB / 0.6899 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/2.14, allocations: 6.359 MB / 0.6961 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/2.142, allocations: 0.5094 MB / 0.6966 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001454/2.144, allocations: 51.75 kB / 0.6966 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/2.147, allocations: 71.09 kB / 0.6967 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006593/2.148, allocations: 149.2 kB / 0.6968 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/2.148, allocations: 71.7 kB / 0.6969 GB, free: 122.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006933/2.155, allocations: 2.904 MB / 0.6997 GB, free: 120 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.91e-07/2.155, allocations: 0 / 0.6997 GB, free: 120 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008252/2.163, allocations: 1.342 MB / 0.701 GB, free: 118.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (208): * Single equations (assignments): 205 * 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.01222/2.175, allocations: 8.725 MB / 0.7096 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/2.188, allocations: 5.128 MB / 0.7146 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/2.188, allocations: 4 kB / 0.7146 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003153/2.191, allocations: 1.423 MB / 0.716 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/2.195, allocations: 0.49 MB / 0.7164 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.479/2.674, allocations: 143.9 MB / 0.857 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007998/2.682, allocations: 3.688 MB / 0.8606 GB, free: 112.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01058/2.693, allocations: 2.117 MB / 0.8626 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005566/2.699, allocations: 2.212 MB / 0.8648 GB, free: 111.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/2.699, allocations: 0 / 0.8648 GB, free: 111.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2011/2.9, allocations: 88.08 MB / 0.9508 GB, free: 44.72 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/2.9, allocations: 185.2 kB / 0.951 GB, free: 44.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.029/8.929, allocations: 4 kB / 0.951 GB, free: 44.48 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat