Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.01011/0.01011, allocations: 176.1 kB / 15.12 MB, free: 5.984 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 1.922/1.922, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.00201/0.002009, allocations: 116.7 kB / 255.6 MB, free: 10.23 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.2544/0.2544, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004841, allocations: 15.56 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6436, allocations: 102.8 MB / 0.5507 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.6439, allocations: 82.88 kB / 0.5508 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4001/1.044, allocations: 97.16 MB / 0.6456 GB, free: 13.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.287e-06/1.044, allocations: 0 / 0.6456 GB, free: 13.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003432/1.044, allocations: 103.9 kB / 0.6457 GB, free: 13.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03364/1.078, allocations: 5.778 MB / 0.6514 GB, free: 7.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.078, allocations: 8.031 kB / 0.6514 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004612/1.083, allocations: 0.9271 MB / 0.6523 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01926/1.102, allocations: 2.321 MB / 0.6546 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02826/1.13, allocations: 4.987 MB / 0.6594 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000936/1.131, allocations: 390.2 kB / 0.6598 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004568/1.136, allocations: 0.5153 MB / 0.6603 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06797/1.204, allocations: 12.98 MB / 0.673 GB, free: 388 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005259/1.205, allocations: 63.41 kB / 0.673 GB, free: 324 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003688/1.208, allocations: 247.9 kB / 0.6733 GB, free: 76 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004939/1.213, allocations: 1.216 MB / 0.6745 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04589/1.259, allocations: 11.28 MB / 0.6855 GB, free: 3.551 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.473/1.732, allocations: 55.77 MB / 0.7399 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02887/1.761, allocations: 5.343 MB / 0.7452 GB, free: 70.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/1.764, allocations: 1.005 MB / 0.7461 GB, free: 69.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/1.764, allocations: 56.97 kB / 0.7462 GB, free: 69.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 6.462e-06/1.764, allocations: 0 / 0.7462 GB, free: 69.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.1114/1.875, allocations: 26.17 MB / 0.7718 GB, free: 65.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/1.875, allocations: 150.9 kB / 0.7719 GB, free: 65.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.886, allocations: 4.013 MB / 0.7758 GB, free: 65.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008063/1.887, allocations: 59.83 kB / 0.7759 GB, free: 65.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003366/1.89, allocations: 3.542 MB / 0.7793 GB, free: 63.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001722/1.892, allocations: 0.9516 MB / 0.7803 GB, free: 62.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/1.893, allocations: 139 kB / 0.7804 GB, free: 62.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004447/1.893, allocations: 0.5981 MB / 0.781 GB, free: 62.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007595/1.901, allocations: 3.047 MB / 0.784 GB, free: 62.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/1.912, allocations: 6.956 MB / 0.7907 GB, free: 57.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.923, allocations: 4.501 MB / 0.7951 GB, free: 57.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/1.923, allocations: 41.91 kB / 0.7952 GB, free: 57.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03144/1.954, allocations: 10.88 MB / 0.8058 GB, free: 54.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.954, allocations: 65.41 kB / 0.8059 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/1.955, allocations: 138.8 kB / 0.806 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/1.96, allocations: 1.128 MB / 0.8071 GB, free: 53.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/1.971, allocations: 1.702 MB / 0.8088 GB, free: 53.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.983, allocations: 6.035 MB / 0.8147 GB, free: 50.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/1.992, allocations: 425.2 kB / 0.8151 GB, free: 50.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/1.994, allocations: 424.6 kB / 0.8155 GB, free: 50.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[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): 848 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006934/2.001, allocations: 2.419 MB / 0.8178 GB, free: 49.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/2.002, allocations: 416.1 kB / 0.8182 GB, free: 49.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/2.019, allocations: 5.678 MB / 0.8238 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.192e-05/2.019, allocations: 25.84 kB / 0.8238 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/2.019, allocations: 5.938 kB / 0.8238 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/2.019, allocations: 10.73 kB / 0.8238 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03548/2.055, allocations: 12.36 MB / 0.8359 GB, free: 38.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/2.055, allocations: 4 kB / 0.8359 GB, free: 38.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00523/2.06, allocations: 0.5158 MB / 0.8364 GB, free: 37.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/2.064, allocations: 0.9438 MB / 0.8373 GB, free: 37.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000606/2.065, allocations: 51.8 kB / 0.8374 GB, free: 37.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/2.075, allocations: 5.755 MB / 0.843 GB, free: 32.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/2.075, allocations: 4 kB / 0.843 GB, free: 32.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/2.098, allocations: 9.993 MB / 0.8527 GB, free: 23.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/2.101, allocations: 0.9064 MB / 0.8536 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/2.102, allocations: 51.89 kB / 0.8537 GB, free: 22.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003874/2.106, allocations: 188.4 kB / 0.8539 GB, free: 22.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/2.107, allocations: 152.8 kB / 0.854 GB, free: 22.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/2.107, allocations: 69.58 kB / 0.8541 GB, free: 22.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006144/2.113, allocations: 2.814 MB / 0.8568 GB, free: 19.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.113, allocations: 0 / 0.8568 GB, free: 19.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008016/2.121, allocations: 1.263 MB / 0.8581 GB, free: 18.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02286/2.144, allocations: 11.35 MB / 0.8691 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01704/2.161, allocations: 7.298 MB / 0.8763 GB, free: 2.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.161, allocations: 0 / 0.8763 GB, free: 2.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007926/2.169, allocations: 2.828 MB / 0.879 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/2.174, allocations: 457.8 kB / 0.8795 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4925/2.667, allocations: 139.3 MB / 1.015 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008007/2.675, allocations: 3.902 MB / 1.019 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009914/2.685, allocations: 2.294 MB / 1.022 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006273/2.691, allocations: 2.322 MB / 1.024 GB, free: 39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/2.691, allocations: 0 / 1.024 GB, free: 39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.574/3.265, allocations: 96.09 MB / 1.118 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/3.265, allocations: 199.8 kB / 1.118 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.122/9.387, allocations: 0 / 1.118 GB, free: 115.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat