Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001769/0.001769, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2246/0.2246, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 76.75 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1351, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01665/0.1518, allocations: 13.42 MB / 493.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.1659, allocations: 4.536 MB / 498.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004423/0.1704, allocations: 87.75 kB / 498.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008684/0.1792, allocations: 4.178 MB / 0.4907 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.1857, allocations: 2.128 MB / 0.4927 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.1882, allocations: 0.9242 MB / 0.4936 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01036/0.1986, allocations: 6.061 MB / 0.4996 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008816/0.2075, allocations: 5.168 MB / 0.5046 GB, free: 456 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2586/0.4661, allocations: 2.096 MB / 0.5067 GB, free: 16.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005846/0.472, allocations: 2.808 MB / 0.5094 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00227/0.4743, allocations: 466.1 kB / 0.5098 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.4783, allocations: 1.335 MB / 0.5111 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003376/0.4817, allocations: 2.486 MB / 0.5136 GB, free: 16.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004523/0.4862, allocations: 2.891 MB / 0.5164 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.4985, allocations: 8.912 MB / 0.5251 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4986, allocations: 0 / 0.5251 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4986, allocations: 1.625 kB / 0.5251 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003211/0.4989, allocations: 3.375 kB / 0.5251 GB, free: 13.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.01876/0.5177, allocations: 6.25 MB / 0.5312 GB, free: 9.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5177, allocations: 10.28 kB / 0.5312 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001987/0.5197, allocations: 0.8274 MB / 0.532 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03665/0.5564, allocations: 6.049 MB / 0.5379 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009236/0.5656, allocations: 4.129 MB / 0.542 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.5659, allocations: 297.9 kB / 0.5422 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/0.5675, allocations: 407.3 kB / 0.5426 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.5885, allocations: 11.15 MB / 0.5535 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002175/0.5888, allocations: 60.08 kB / 0.5536 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008134/0.5896, allocations: 189.8 kB / 0.5538 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003498/0.5931, allocations: 2.022 MB / 0.5557 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/0.6137, allocations: 9.276 MB / 0.5648 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07116/0.6849, allocations: 44.56 MB / 0.6083 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.6964, allocations: 4.011 MB / 0.6122 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/0.7001, allocations: 2.22 MB / 0.6144 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01737/0.7175, allocations: 8.96 MB / 0.6231 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.7176, allocations: 51.56 kB / 0.6232 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of pre-optimization done (n=169): time 4.839e-06/0.7176, allocations: 0 / 0.6232 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.05879/0.7764, allocations: 17.87 MB / 0.6406 GB, free: 14.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.7766, allocations: 204.6 kB / 0.6408 GB, free: 14.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/0.7869, allocations: 4.693 MB / 0.6454 GB, free: 9.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004567/0.7874, allocations: 53.7 kB / 0.6455 GB, free: 9.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003627/0.791, allocations: 3.605 MB / 0.649 GB, free: 6.086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/0.7923, allocations: 0.7369 MB / 0.6497 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003268/0.7956, allocations: 1.249 MB / 0.6509 GB, free: 4.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7958, allocations: 301.1 kB / 0.6512 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004027/0.7998, allocations: 2.155 MB / 0.6533 GB, free: 1.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007272/0.8071, allocations: 5.966 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/0.8196, allocations: 8.835 MB / 0.6678 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001844/0.8198, allocations: 44 kB / 0.6678 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.0184/0.8382, allocations: 8.674 MB / 0.6763 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.8384, allocations: 66.66 kB / 0.6764 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/0.8386, allocations: 132 kB / 0.6765 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00339/0.842, allocations: 1.073 MB / 0.6775 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005052/0.8471, allocations: 1.411 MB / 0.6789 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.8597, allocations: 8.571 MB / 0.6873 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005256/0.865, allocations: 335.5 kB / 0.6876 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/0.8663, allocations: 387.9 kB / 0.688 GB, free: 10.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (747): * Single equations (assignments): 742 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,33,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006168/0.8725, allocations: 2.45 MB / 0.6904 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/0.8738, allocations: 410.7 kB / 0.6908 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007942/0.8817, allocations: 3.428 MB / 0.6941 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.444e-05/0.8818, allocations: 28 kB / 0.6941 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.8818, allocations: 4 kB / 0.6941 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.8819, allocations: 11.97 kB / 0.6941 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/0.9037, allocations: 8.82 MB / 0.7028 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.9038, allocations: 0 / 0.7028 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.9053, allocations: 299.5 kB / 0.703 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002986/0.9083, allocations: 0.8456 MB / 0.7039 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.9086, allocations: 38.89 kB / 0.7039 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.9195, allocations: 7.929 MB / 0.7117 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9195, allocations: 0 / 0.7117 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2528/1.172, allocations: 5.945 MB / 0.7175 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.174, allocations: 446.7 kB / 0.7179 GB, free: 190.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/1.176, allocations: 29.91 kB / 0.7179 GB, free: 190.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/1.179, allocations: 103.2 kB / 0.718 GB, free: 190.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007439/1.179, allocations: 124.1 kB / 0.7181 GB, free: 190.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003393/1.18, allocations: 49.27 kB / 0.7182 GB, free: 190.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008773/1.189, allocations: 2.976 MB / 0.7211 GB, free: 189.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.11e-07/1.189, allocations: 0 / 0.7211 GB, free: 189.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00819/1.197, allocations: 1.116 MB / 0.7222 GB, free: 189.3 MB / 0.545 GB 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 (141): * Single equations (assignments): 136 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01277/1.21, allocations: 6.598 MB / 0.7286 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.221, allocations: 6.475 MB / 0.7349 GB, free: 184.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.221, allocations: 0 / 0.7349 GB, free: 184.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/1.223, allocations: 1.845 MB / 0.7367 GB, free: 183.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/1.229, allocations: 0.5688 MB / 0.7373 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08695/1.316, allocations: 58.96 MB / 0.7949 GB, free: 125.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006738/1.323, allocations: 3.811 MB / 0.7986 GB, free: 121.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005031/1.328, allocations: 1.993 MB / 0.8005 GB, free: 119.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003584/1.332, allocations: 2.315 MB / 0.8028 GB, free: 117.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.482e-06/1.332, allocations: 0 / 0.8028 GB, free: 117.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.471, allocations: 86.2 MB / 0.887 GB, free: 31.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.87, allocations: 20.28 kB / 0.887 GB, free: 31.61 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1)