Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01015/0.01015, allocations: 164.9 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.672/1.672, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003085/0.003085, allocations: 99.34 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4406/0.4406, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004979, allocations: 11.98 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1166, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5415, allocations: 81.28 MB / 493 MB, free: 6.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5418, allocations: 72.47 kB / 493 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.438/0.9798, allocations: 89.67 MB / 0.5691 GB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.9799, allocations: 4 kB / 0.5691 GB, free: 1.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000425/0.9803, allocations: 96 kB / 0.5691 GB, free: 1.469 MB / 410.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.112, allocations: 9.963 MB / 0.5789 GB, free: 7.426 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001167/1.112, allocations: 8.031 kB / 0.5789 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006818/1.119, allocations: 0.8492 MB / 0.5797 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02746/1.146, allocations: 2.072 MB / 0.5817 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/1.162, allocations: 3.402 MB / 0.5851 GB, free: 1.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000538/1.162, allocations: 346.1 kB / 0.5854 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/1.166, allocations: 483.6 kB / 0.5859 GB, free: 208 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4125/1.578, allocations: 15.41 MB / 0.6009 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004611/1.579, allocations: 63.55 kB / 0.601 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003251/1.582, allocations: 216.6 kB / 0.6012 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00442/1.587, allocations: 1.114 MB / 0.6023 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07047/1.657, allocations: 15.35 MB / 0.6172 GB, free: 68.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1328/1.79, allocations: 55.53 MB / 0.6715 GB, free: 32.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1184/1.909, allocations: 7.239 MB / 0.6785 GB, free: 31.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01847/1.927, allocations: 6.569 MB / 0.685 GB, free: 26.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/1.927, allocations: 45.81 kB / 0.685 GB, free: 26.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 8.626e-06/1.927, allocations: 0 / 0.685 GB, free: 26.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.01463/1.942, allocations: 4.005 MB / 0.6889 GB, free: 25.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/1.942, allocations: 146.4 kB / 0.6891 GB, free: 24.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/1.956, allocations: 4.264 MB / 0.6932 GB, free: 23.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004774/1.957, allocations: 53.2 kB / 0.6933 GB, free: 23.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004672/1.961, allocations: 3.575 MB / 0.6968 GB, free: 20.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.963, allocations: 0.7234 MB / 0.6975 GB, free: 20.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/1.964, allocations: 133.3 kB / 0.6976 GB, free: 20.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000804/1.965, allocations: 0.5931 MB / 0.6982 GB, free: 19.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008698/1.974, allocations: 2.194 MB / 0.7003 GB, free: 19.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.985, allocations: 6.456 MB / 0.7066 GB, free: 12.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008586/1.994, allocations: 3.687 MB / 0.7102 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/1.994, allocations: 47.92 kB / 0.7103 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02269/2.017, allocations: 8.451 MB / 0.7185 GB, free: 7.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/2.017, allocations: 73.34 kB / 0.7186 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/2.017, allocations: 150.8 kB / 0.7187 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/2.017, allocations: 220.4 kB / 0.7189 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/2.028, allocations: 1.614 MB / 0.7205 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003602/2.029, allocations: 303.5 kB / 0.7208 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008697/2.037, allocations: 0.9276 MB / 0.7217 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/2.039, allocations: 436.5 kB / 0.7221 GB, free: 5.652 MB / 426.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.00665/2.046, allocations: 2.299 MB / 0.7244 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/2.047, allocations: 402.8 kB / 0.7248 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0069/2.054, allocations: 2.54 MB / 0.7272 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.548e-05/2.054, allocations: 20 kB / 0.7273 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/2.054, allocations: 3.938 kB / 0.7273 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/2.054, allocations: 10.7 kB / 0.7273 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/2.068, allocations: 4.334 MB / 0.7315 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/2.069, allocations: 0 / 0.7315 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004131/2.073, allocations: 346.5 kB / 0.7318 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.163e-05/2.073, allocations: 8 kB / 0.7318 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003305/2.073, allocations: 35.61 kB / 0.7319 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/2.073, allocations: 12 kB / 0.7319 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.073, allocations: 3.938 kB / 0.7319 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/2.084, allocations: 4.889 MB / 0.7367 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/2.086, allocations: 0.4897 MB / 0.7371 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/2.088, allocations: 32 kB / 0.7372 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/2.091, allocations: 61.91 kB / 0.7372 GB, free: 8.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005869/2.092, allocations: 102.8 kB / 0.7373 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/2.092, allocations: 47.05 kB / 0.7374 GB, free: 8.457 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008964/2.101, allocations: 2.976 MB / 0.7403 GB, free: 5.996 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.72e-07/2.101, allocations: 0 / 0.7403 GB, free: 5.996 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008582/2.109, allocations: 1.336 MB / 0.7416 GB, free: 4.66 MB / 442.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.345/2.454, allocations: 5.698 MB / 0.7472 GB, free: 77.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01913/2.474, allocations: 4.99 MB / 0.752 GB, free: 77.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/2.474, allocations: 0 / 0.752 GB, free: 77.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004945/2.479, allocations: 1.269 MB / 0.7533 GB, free: 77.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005719/2.485, allocations: 486.2 kB / 0.7537 GB, free: 77.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1385/2.623, allocations: 143.4 MB / 0.8938 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009084/2.632, allocations: 3.659 MB / 0.8973 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01065/2.643, allocations: 2.055 MB / 0.8993 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005862/2.649, allocations: 2.2 MB / 0.9015 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.813e-06/2.649, allocations: 0 / 0.9015 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5395/3.188, allocations: 87.75 MB / 0.9872 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/3.189, allocations: 191.1 kB / 0.9874 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.724/8.913, allocations: 0 / 0.9874 GB, free: 141.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat