Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01032/0.01032, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.646/1.646, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001973/0.001973, allocations: 106 kB / 226.2 MB, free: 10.1 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.4302/0.4302, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007125/0.0007126, allocations: 8 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1369, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.6364, allocations: 95.96 MB / 0.4958 GB, free: 8.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.6368, allocations: 86.33 kB / 0.4958 GB, free: 8.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7205/1.357, allocations: 97.15 MB / 0.5907 GB, free: 71.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.497e-06/1.357, allocations: 1.219 kB / 0.5907 GB, free: 71.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003579/1.358, allocations: 97.92 kB / 0.5908 GB, free: 71.72 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.03458/1.392, allocations: 5.783 MB / 0.5964 GB, free: 69.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.392, allocations: 10.66 kB / 0.5965 GB, free: 69.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004579/1.397, allocations: 0.9283 MB / 0.5974 GB, free: 69.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01884/1.416, allocations: 2.315 MB / 0.5996 GB, free: 69.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.436, allocations: 4.984 MB / 0.6045 GB, free: 68.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005532/1.437, allocations: 394.2 kB / 0.6049 GB, free: 68.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003242/1.44, allocations: 0.5113 MB / 0.6054 GB, free: 68.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04242/1.482, allocations: 12.98 MB / 0.618 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004355/1.483, allocations: 63.75 kB / 0.6181 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002933/1.486, allocations: 255.4 kB / 0.6183 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003609/1.49, allocations: 1.206 MB / 0.6195 GB, free: 65.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03871/1.528, allocations: 11.28 MB / 0.6305 GB, free: 65.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09523/1.624, allocations: 55.76 MB / 0.685 GB, free: 28.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02783/1.652, allocations: 5.335 MB / 0.6902 GB, free: 26.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002413/1.654, allocations: 1.014 MB / 0.6912 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.377e-05/1.654, allocations: 56.84 kB / 0.6913 GB, free: 25.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.462e-06/1.654, allocations: 0 / 0.6913 GB, free: 25.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.1257/1.78, allocations: 26.18 MB / 0.7168 GB, free: 15.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/1.78, allocations: 162.5 kB / 0.717 GB, free: 15.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/1.791, allocations: 4.011 MB / 0.7209 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009572/1.792, allocations: 68.52 kB / 0.721 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00353/1.796, allocations: 3.532 MB / 0.7244 GB, free: 8.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.798, allocations: 0.9578 MB / 0.7253 GB, free: 7.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/1.799, allocations: 136 kB / 0.7255 GB, free: 7.578 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006722/1.8, allocations: 0.5914 MB / 0.726 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008208/1.808, allocations: 3.05 MB / 0.729 GB, free: 4.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01198/1.82, allocations: 6.952 MB / 0.7358 GB, free: 12.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.833, allocations: 4.511 MB / 0.7402 GB, free: 8.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/1.833, allocations: 40 kB / 0.7403 GB, free: 8.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.3708/2.204, allocations: 10.87 MB / 0.7509 GB, free: 74.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/2.204, allocations: 66.36 kB / 0.7509 GB, free: 74.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003134/2.205, allocations: 138.9 kB / 0.7511 GB, free: 74.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005798/2.21, allocations: 1.132 MB / 0.7522 GB, free: 74.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01264/2.223, allocations: 1.705 MB / 0.7538 GB, free: 74.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/2.236, allocations: 6.032 MB / 0.7597 GB, free: 72.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009127/2.245, allocations: 428.7 kB / 0.7601 GB, free: 72.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002313/2.248, allocations: 422.4 kB / 0.7605 GB, free: 72.85 MB / 442.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.008525/2.256, allocations: 2.421 MB / 0.7629 GB, free: 72.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/2.258, allocations: 415.4 kB / 0.7633 GB, free: 72.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/2.277, allocations: 5.671 MB / 0.7688 GB, free: 72.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.364e-05/2.277, allocations: 27.06 kB / 0.7689 GB, free: 72.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/2.277, allocations: 3.219 kB / 0.7689 GB, free: 72.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-05/2.277, allocations: 18.84 kB / 0.7689 GB, free: 72.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04042/2.318, allocations: 12.36 MB / 0.781 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/2.318, allocations: 2.281 kB / 0.781 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005776/2.323, allocations: 0.514 MB / 0.7815 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/2.329, allocations: 0.9324 MB / 0.7824 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000846/2.33, allocations: 51.03 kB / 0.7824 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/2.342, allocations: 5.774 MB / 0.7881 GB, free: 70.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/2.342, allocations: 4.531 kB / 0.7881 GB, free: 70.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02656/2.369, allocations: 9.988 MB / 0.7978 GB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003763/2.373, allocations: 0.914 MB / 0.7987 GB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/2.375, allocations: 50.52 kB / 0.7988 GB, free: 67.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005143/2.38, allocations: 189.5 kB / 0.7989 GB, free: 67.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/2.381, allocations: 153.2 kB / 0.7991 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005762/2.382, allocations: 73.81 kB / 0.7992 GB, free: 67.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008014/2.39, allocations: 2.823 MB / 0.8019 GB, free: 66.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.39, allocations: 0 / 0.8019 GB, free: 66.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009695/2.4, allocations: 1.259 MB / 0.8031 GB, free: 66.23 MB / 442.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.02643/2.426, allocations: 11.34 MB / 0.8142 GB, free: 60.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01891/2.445, allocations: 7.299 MB / 0.8213 GB, free: 58.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/2.445, allocations: 0 / 0.8213 GB, free: 58.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007847/2.453, allocations: 2.781 MB / 0.8241 GB, free: 57.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/2.458, allocations: 453.4 kB / 0.8245 GB, free: 57.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4722/2.93, allocations: 139.3 MB / 0.9605 GB, free: 91.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00825/2.939, allocations: 3.902 MB / 0.9644 GB, free: 90.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01103/2.95, allocations: 2.295 MB / 0.9666 GB, free: 90.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006994/2.957, allocations: 2.325 MB / 0.9689 GB, free: 90.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/2.957, allocations: 0 / 0.9689 GB, free: 90.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2134/3.17, allocations: 96.08 MB / 1.063 GB, free: 45.72 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/3.17, allocations: 204 kB / 1.063 GB, free: 45.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.071/9.242, allocations: 7.938 kB / 1.063 GB, free: 45.46 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat