Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0098/0.009804, allocations: 176.1 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.054/2.054, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002009/0.002009, allocations: 112.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.259/0.259, allocations: 40 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 13.94 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 54.86 MB / 461.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.5697, allocations: 87.78 MB / 0.536 GB, free: 28.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.57, allocations: 79.48 kB / 0.5361 GB, free: 28.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3387/0.9087, allocations: 89.68 MB / 0.6237 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.9088, allocations: 0 / 0.6237 GB, free: 6.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000385/0.9092, allocations: 100 kB / 0.6238 GB, free: 6.219 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.1231/1.032, allocations: 9.957 MB / 0.6335 GB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.032, allocations: 11.97 kB / 0.6335 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004885/1.037, allocations: 0.8453 MB / 0.6344 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/1.054, allocations: 2.076 MB / 0.6364 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/1.066, allocations: 3.406 MB / 0.6397 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005426/1.067, allocations: 345.1 kB / 0.64 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003937/1.071, allocations: 483.6 kB / 0.6405 GB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07328/1.144, allocations: 15.41 MB / 0.6555 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003592/1.144, allocations: 71.31 kB / 0.6556 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003047/1.147, allocations: 215.9 kB / 0.6558 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004778/1.152, allocations: 1.121 MB / 0.6569 GB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06977/1.222, allocations: 15.34 MB / 0.6719 GB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4895/1.712, allocations: 55.53 MB / 0.7261 GB, free: 68.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08973/1.801, allocations: 7.237 MB / 0.7332 GB, free: 67.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/1.815, allocations: 6.564 MB / 0.7396 GB, free: 64.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.815, allocations: 53.72 kB / 0.7396 GB, free: 64.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 5.23e-06/1.815, allocations: 0 / 0.7396 GB, free: 64.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.009568/1.825, allocations: 4.006 MB / 0.7436 GB, free: 63.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/1.825, allocations: 147.5 kB / 0.7437 GB, free: 63.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.836, allocations: 4.258 MB / 0.7479 GB, free: 63.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004014/1.837, allocations: 50.42 kB / 0.7479 GB, free: 63.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003431/1.84, allocations: 3.575 MB / 0.7514 GB, free: 61.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.842, allocations: 0.7207 MB / 0.7521 GB, free: 61.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008456/1.843, allocations: 135.2 kB / 0.7522 GB, free: 61.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004191/1.843, allocations: 0.5872 MB / 0.7528 GB, free: 60.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00542/1.848, allocations: 2.205 MB / 0.755 GB, free: 60.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008695/1.857, allocations: 6.438 MB / 0.7612 GB, free: 55.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008609/1.866, allocations: 3.704 MB / 0.7649 GB, free: 55.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/1.866, allocations: 44.78 kB / 0.7649 GB, free: 55.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.0229/1.889, allocations: 8.458 MB / 0.7732 GB, free: 54.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/1.889, allocations: 69.62 kB / 0.7732 GB, free: 54.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002762/1.889, allocations: 154 kB / 0.7734 GB, free: 54.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/1.89, allocations: 223.6 kB / 0.7736 GB, free: 54.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/1.9, allocations: 1.617 MB / 0.7752 GB, free: 54.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003175/1.9, allocations: 298.8 kB / 0.7755 GB, free: 54.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008847/1.909, allocations: 0.9186 MB / 0.7764 GB, free: 53.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/1.911, allocations: 440 kB / 0.7768 GB, free: 53.96 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.006489/1.918, allocations: 2.309 MB / 0.779 GB, free: 53.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.919, allocations: 397.2 kB / 0.7794 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006557/1.926, allocations: 2.542 MB / 0.7819 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.55e-05/1.926, allocations: 23.61 kB / 0.7819 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/1.926, allocations: 4 kB / 0.7819 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/1.926, allocations: 13.06 kB / 0.7819 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.938, allocations: 4.275 MB / 0.7861 GB, free: 52.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/1.938, allocations: 0 / 0.7861 GB, free: 52.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003832/1.942, allocations: 344.9 kB / 0.7864 GB, free: 52.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/1.942, allocations: 10.06 kB / 0.7864 GB, free: 52.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/1.942, allocations: 43.62 kB / 0.7865 GB, free: 52.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.942, allocations: 6.938 kB / 0.7865 GB, free: 52.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.942, allocations: 0 / 0.7865 GB, free: 52.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009425/1.951, allocations: 4.885 MB / 0.7913 GB, free: 49.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.953, allocations: 0.4915 MB / 0.7917 GB, free: 49.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.954, allocations: 28.03 kB / 0.7918 GB, free: 49.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/1.957, allocations: 67.23 kB / 0.7918 GB, free: 49.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/1.958, allocations: 102.3 kB / 0.7919 GB, free: 49.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.958, allocations: 49.5 kB / 0.792 GB, free: 49.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008048/1.966, allocations: 2.976 MB / 0.7949 GB, free: 48.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.966, allocations: 0 / 0.7949 GB, free: 48.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008256/1.974, allocations: 1.347 MB / 0.7962 GB, free: 47.99 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.01065/1.985, allocations: 5.697 MB / 0.8018 GB, free: 45.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0115/1.996, allocations: 4.989 MB / 0.8066 GB, free: 41.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.996, allocations: 4.062 kB / 0.8066 GB, free: 41.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/1.999, allocations: 1.267 MB / 0.8079 GB, free: 40.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/2.003, allocations: 496.5 kB / 0.8083 GB, free: 40.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5613/2.564, allocations: 143.4 MB / 0.9483 GB, free: 101 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007856/2.572, allocations: 3.673 MB / 0.9519 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009784/2.582, allocations: 2.046 MB / 0.9539 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006338/2.588, allocations: 2.203 MB / 0.9561 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/2.589, allocations: 3.688 kB / 0.9561 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/2.822, allocations: 87.74 MB / 1.042 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/2.823, allocations: 193.7 kB / 1.042 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.916/8.739, allocations: 0 / 1.042 GB, free: 44.92 MB / 0.5105 GB 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