Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",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.01568/0.01568, allocations: 176.7 kB / 15.12 MB, free: 5.988 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.965/1.965, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.002089/0.002089, allocations: 112.7 kB / 255.6 MB, free: 10.24 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.2568/0.2568, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.000468, allocations: 11.69 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 54.88 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5281/0.6362, allocations: 102.5 MB / 0.5504 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.6365, allocations: 87.91 kB / 0.5505 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4627/1.099, allocations: 106.1 MB / 0.6541 GB, free: 4.992 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.099, allocations: 4 kB / 0.6541 GB, free: 4.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004396/1.1, allocations: 108 kB / 0.6542 GB, free: 4.883 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.02639/1.126, allocations: 5.712 MB / 0.6598 GB, free: 15.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/1.126, allocations: 12.03 kB / 0.6598 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005174/1.131, allocations: 0.9308 MB / 0.6607 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05505/1.187, allocations: 6.888 MB / 0.6675 GB, free: 7.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02914/1.216, allocations: 6.898 MB / 0.6742 GB, free: 280 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007986/1.217, allocations: 406.7 kB / 0.6746 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003601/1.22, allocations: 0.5309 MB / 0.6751 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04192/1.262, allocations: 12.4 MB / 0.6872 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004136/1.263, allocations: 71.34 kB / 0.6873 GB, free: 1.711 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002545/1.265, allocations: 255.9 kB / 0.6875 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003017/1.268, allocations: 1.125 MB / 0.6886 GB, free: 344 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03441/1.303, allocations: 9.995 MB / 0.6984 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4667/1.769, allocations: 56.63 MB / 0.7537 GB, free: 63.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.787, allocations: 4.171 MB / 0.7578 GB, free: 63.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02273/1.81, allocations: 9.498 MB / 0.767 GB, free: 61.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/1.81, allocations: 51.97 kB / 0.7671 GB, free: 61.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 5.721e-06/1.81, allocations: 0 / 0.7671 GB, free: 61.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.08019/1.89, allocations: 18.32 MB / 0.785 GB, free: 57.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/1.89, allocations: 199.3 kB / 0.7852 GB, free: 57.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.901, allocations: 4.222 MB / 0.7893 GB, free: 57.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005293/1.901, allocations: 62.03 kB / 0.7894 GB, free: 57.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003593/1.905, allocations: 3.763 MB / 0.793 GB, free: 55.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/1.906, allocations: 0.8101 MB / 0.7938 GB, free: 54.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008919/1.907, allocations: 130 kB / 0.7939 GB, free: 54.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004335/1.908, allocations: 0.5843 MB / 0.7945 GB, free: 54.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005875/1.914, allocations: 2.23 MB / 0.7967 GB, free: 54.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00871/1.922, allocations: 6.153 MB / 0.8027 GB, free: 49.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008561/1.931, allocations: 3.644 MB / 0.8063 GB, free: 49.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/1.931, allocations: 39.5 kB / 0.8063 GB, free: 49.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02507/1.956, allocations: 8.876 MB / 0.815 GB, free: 46.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/1.956, allocations: 64.28 kB / 0.815 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002692/1.957, allocations: 138.5 kB / 0.8152 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/1.961, allocations: 0.9296 MB / 0.8161 GB, free: 46.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009906/1.971, allocations: 1.492 MB / 0.8175 GB, free: 46.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/1.985, allocations: 7.419 MB / 0.8248 GB, free: 41.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007645/1.993, allocations: 354.3 kB / 0.8251 GB, free: 41.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.994, allocations: 393.2 kB / 0.8255 GB, free: 41.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (789): * Single equations (assignments): 784 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007179/2.001, allocations: 2.566 MB / 0.828 GB, free: 40.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/2.003, allocations: 430.8 kB / 0.8284 GB, free: 39.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/2.013, allocations: 3.526 MB / 0.8318 GB, free: 38.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-05/2.013, allocations: 23.66 kB / 0.8319 GB, free: 38.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/2.013, allocations: 7.938 kB / 0.8319 GB, free: 38.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/2.014, allocations: 10.11 kB / 0.8319 GB, free: 38.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/2.04, allocations: 9.129 MB / 0.8408 GB, free: 35.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/2.04, allocations: 3.938 kB / 0.8408 GB, free: 35.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003277/2.043, allocations: 334 kB / 0.8411 GB, free: 35.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003822/2.047, allocations: 0.6955 MB / 0.8418 GB, free: 34.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004065/2.048, allocations: 38.62 kB / 0.8418 GB, free: 34.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/2.06, allocations: 6.723 MB / 0.8484 GB, free: 30.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/2.06, allocations: 4 kB / 0.8484 GB, free: 30.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/2.075, allocations: 6.249 MB / 0.8545 GB, free: 24.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/2.078, allocations: 0.7267 MB / 0.8552 GB, free: 23.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/2.079, allocations: 39.61 kB / 0.8553 GB, free: 23.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/2.082, allocations: 107.2 kB / 0.8554 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006366/2.083, allocations: 134.5 kB / 0.8555 GB, free: 23.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/2.083, allocations: 55.14 kB / 0.8555 GB, free: 23.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007626/2.091, allocations: 2.994 MB / 0.8585 GB, free: 21.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.091, allocations: 0 / 0.8585 GB, free: 21.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008032/2.099, allocations: 1.176 MB / 0.8596 GB, free: 19.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (163): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01623/2.115, allocations: 7.053 MB / 0.8665 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01377/2.129, allocations: 5.676 MB / 0.872 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.129, allocations: 0 / 0.872 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004933/2.134, allocations: 1.966 MB / 0.874 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/2.138, allocations: 0.53 MB / 0.8745 GB, free: 6.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4699/2.608, allocations: 137.4 MB / 1.009 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008905/2.617, allocations: 4.102 MB / 1.013 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009354/2.627, allocations: 2.094 MB / 1.015 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005858/2.633, allocations: 2.454 MB / 1.017 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/2.633, allocations: 0 / 1.017 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.551/3.184, allocations: 91.74 MB / 1.107 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/3.184, allocations: 195.6 kB / 1.107 GB, free: 99.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.958/9.142, allocations: 0 / 1.107 GB, free: 99.17 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat