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.001515/0.001515, allocations: 117.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 200.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.38 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.2491/0.2491, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002532/0.002532, allocations: 83.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3597, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01655/0.3763, allocations: 13.43 MB / 0.5437 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.387, allocations: 4.527 MB / 0.5481 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.3902, allocations: 93.28 kB / 0.5482 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008583/0.3989, allocations: 4.168 MB / 0.5523 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007939/0.4069, allocations: 2.128 MB / 0.5544 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.4098, allocations: 0.9282 MB / 0.5553 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.4202, allocations: 6.076 MB / 0.5612 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007212/0.4275, allocations: 5.172 MB / 0.5663 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.4317, allocations: 2.095 MB / 0.5683 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004839/0.4366, allocations: 2.812 MB / 0.5711 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.4382, allocations: 464 kB / 0.5715 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.4417, allocations: 1.338 MB / 0.5728 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003653/0.4454, allocations: 2.49 MB / 0.5752 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005583/0.4511, allocations: 2.89 MB / 0.5781 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4646, allocations: 9.176 MB / 0.587 GB, free: 7.707 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4647, allocations: 4 kB / 0.587 GB, free: 7.703 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4647, allocations: 0 / 0.587 GB, free: 7.703 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003068/0.465, allocations: 0 / 0.587 GB, free: 7.703 MB / 446.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.01788/0.4829, allocations: 6.406 MB / 0.5933 GB, free: 1.215 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.483, allocations: 12.03 kB / 0.5933 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00248/0.4855, allocations: 0.8304 MB / 0.5941 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04167/0.5272, allocations: 6.082 MB / 0.6 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.5386, allocations: 4.225 MB / 0.6042 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004708/0.5391, allocations: 300.1 kB / 0.6045 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/0.5414, allocations: 407.7 kB / 0.6048 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02387/0.5653, allocations: 11.14 MB / 0.6157 GB, free: 9.398 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/0.5655, allocations: 59.58 kB / 0.6158 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.5667, allocations: 183.9 kB / 0.616 GB, free: 9.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003928/0.5706, allocations: 2.026 MB / 0.6179 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/0.592, allocations: 9.272 MB / 0.627 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06324/0.6553, allocations: 44.43 MB / 0.6704 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.6664, allocations: 4.018 MB / 0.6743 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.6701, allocations: 2.226 MB / 0.6765 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/0.6867, allocations: 8.968 MB / 0.6852 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.6869, allocations: 55.56 kB / 0.6853 GB, free: 464 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.358e-06/0.6869, allocations: 0 / 0.6853 GB, free: 464 kB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.0546/0.7415, allocations: 18.15 MB / 0.703 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.7417, allocations: 205.2 kB / 0.7032 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008282/0.75, allocations: 4.706 MB / 0.7078 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004445/0.7504, allocations: 53.7 kB / 0.7079 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003839/0.7543, allocations: 3.724 MB / 0.7115 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/0.7557, allocations: 0.7753 MB / 0.7123 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002527/0.7582, allocations: 1.25 MB / 0.7135 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7584, allocations: 313 kB / 0.7138 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/0.7624, allocations: 2.159 MB / 0.7159 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2591/1.022, allocations: 5.961 MB / 0.7217 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009009/1.031, allocations: 8.825 MB / 0.7303 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/1.031, allocations: 37.72 kB / 0.7304 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01591/1.047, allocations: 8.702 MB / 0.7389 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.047, allocations: 63 kB / 0.7389 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/1.047, allocations: 136.4 kB / 0.739 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/1.05, allocations: 1.06 MB / 0.7401 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/1.055, allocations: 1.404 MB / 0.7415 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/1.064, allocations: 8.57 MB / 0.7498 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005315/1.069, allocations: 345.1 kB / 0.7502 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.07, allocations: 381.6 kB / 0.7505 GB, free: 141.8 MB / 0.5606 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.004266/1.074, allocations: 2.445 MB / 0.7529 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009416/1.075, allocations: 432.2 kB / 0.7533 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/1.081, allocations: 3.435 MB / 0.7567 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/1.081, allocations: 20 kB / 0.7567 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.081, allocations: 12 kB / 0.7567 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/1.081, allocations: 7.969 kB / 0.7567 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/1.095, allocations: 8.785 MB / 0.7653 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.095, allocations: 8.656 kB / 0.7653 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.096, allocations: 283.6 kB / 0.7656 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/1.099, allocations: 0.8554 MB / 0.7664 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.099, allocations: 36 kB / 0.7664 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/1.106, allocations: 7.93 MB / 0.7742 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.106, allocations: 4.031 kB / 0.7742 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007574/1.114, allocations: 5.983 MB / 0.78 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009499/1.115, allocations: 472.5 kB / 0.7805 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006517/1.116, allocations: 32 kB / 0.7805 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.117, allocations: 95.88 kB / 0.7806 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/1.118, allocations: 121.1 kB / 0.7807 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.118, allocations: 47.83 kB / 0.7808 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003884/1.122, allocations: 2.977 MB / 0.7837 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/1.122, allocations: 0 / 0.7837 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006075/1.128, allocations: 1.114 MB / 0.7848 GB, free: 107.3 MB / 0.5606 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.008176/1.136, allocations: 6.632 MB / 0.7912 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00786/1.144, allocations: 5.453 MB / 0.7966 GB, free: 95.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.144, allocations: 4.062 kB / 0.7966 GB, free: 95.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/1.147, allocations: 1.851 MB / 0.7984 GB, free: 93.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/1.15, allocations: 0.5737 MB / 0.7989 GB, free: 92.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07007/1.22, allocations: 50.76 MB / 0.8485 GB, free: 36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005299/1.226, allocations: 3.81 MB / 0.8522 GB, free: 32.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004307/1.23, allocations: 1.996 MB / 0.8542 GB, free: 30.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/1.233, allocations: 2.311 MB / 0.8564 GB, free: 27.83 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/1.233, allocations: 0 / 0.8564 GB, free: 27.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/1.383, allocations: 82.61 MB / 0.9371 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.27/27.66, allocations: 4.609 kB / 0.9371 GB, free: 9.648 MB / 0.6231 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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)