Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.226/0.226, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") [Timeout 660] "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.002292/0.002292, allocations: 83.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3354, allocations: 65.99 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01974/0.3552, allocations: 16.79 MB / 0.5776 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.3674, allocations: 5.381 MB / 0.5829 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.3705, allocations: 119.6 kB / 0.583 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009999/0.3805, allocations: 5.331 MB / 0.5882 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007159/0.3876, allocations: 2.618 MB / 0.5907 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.3907, allocations: 1.221 MB / 0.5919 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.4028, allocations: 8.271 MB / 0.6 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006964/0.4097, allocations: 4.788 MB / 0.6047 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005145/0.4149, allocations: 2.722 MB / 0.6073 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006671/0.4215, allocations: 3.852 MB / 0.6111 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.4233, allocations: 0.5859 MB / 0.6117 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.4267, allocations: 1.502 MB / 0.6131 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003874/0.4306, allocations: 3.265 MB / 0.6163 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005311/0.4359, allocations: 3.59 MB / 0.6198 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.4498, allocations: 11.17 MB / 0.6307 GB, free: 13.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4498, allocations: 0 / 0.6307 GB, free: 13.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4498, allocations: 0 / 0.6307 GB, free: 13.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003323/0.4501, allocations: 4 kB / 0.6308 GB, free: 13.48 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2120 * Number of variables: 2120 Notification: Performance of Generate backend data structure: time 0.02098/0.4711, allocations: 8.116 MB / 0.6387 GB, free: 5.273 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.4712, allocations: 8.031 kB / 0.6387 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0385/0.5097, allocations: 4.182 MB / 0.6428 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/0.5241, allocations: 4.976 MB / 0.6476 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.5245, allocations: 366 kB / 0.648 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002334/0.5268, allocations: 0.5154 MB / 0.6485 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/0.5577, allocations: 15.15 MB / 0.6633 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.5579, allocations: 71.45 kB / 0.6633 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009049/0.5588, allocations: 231.8 kB / 0.6636 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005368/0.5642, allocations: 2.727 MB / 0.6662 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0281/0.5923, allocations: 13.7 MB / 0.6796 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3683/0.9605, allocations: 60.72 MB / 0.7389 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01589/0.9764, allocations: 6.773 MB / 0.7455 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005014/0.9814, allocations: 5.013 MB / 0.7504 GB, free: 138 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02442/1.006, allocations: 17.79 MB / 0.7678 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/1.006, allocations: 58.41 kB / 0.7678 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 7.013e-06/1.006, allocations: 2.594 kB / 0.7678 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.1518/1.158, allocations: 60.41 MB / 0.8268 GB, free: 70.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.158, allocations: 325.3 kB / 0.8271 GB, free: 70.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008965/1.167, allocations: 5.768 MB / 0.8328 GB, free: 64.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001541/1.168, allocations: 81.7 kB / 0.8329 GB, free: 64.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.171, allocations: 4.331 MB / 0.8371 GB, free: 60.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001906/1.173, allocations: 1.466 MB / 0.8385 GB, free: 58.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/1.175, allocations: 1.801 MB / 0.8403 GB, free: 57.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/1.175, allocations: 305.1 kB / 0.8406 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005754/1.181, allocations: 5.201 MB / 0.8457 GB, free: 51.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007579/1.189, allocations: 9.535 MB / 0.855 GB, free: 40.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/1.205, allocations: 15.64 MB / 0.8702 GB, free: 22.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.205, allocations: 40 kB / 0.8703 GB, free: 22.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1120) (initialization): time 0.03617/1.241, allocations: 19.49 MB / 0.8893 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/1.241, allocations: 68 kB / 0.8894 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/1.241, allocations: 148 kB / 0.8895 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/1.257, allocations: 5.442 MB / 0.8948 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008164/1.265, allocations: 2.012 MB / 0.8968 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04783/1.313, allocations: 29.22 MB / 0.9253 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008865/1.321, allocations: 0.6125 MB / 0.9259 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/1.324, allocations: 495.7 kB / 0.9264 GB, free: 12.44 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 670 * Number of states: 0 () * Number of discrete variables: 59 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1017): * Single equations (assignments): 1011 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (14,41,43.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007834/1.331, allocations: 3.062 MB / 0.9294 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002321/1.334, allocations: 0.5549 MB / 0.9299 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03643/1.37, allocations: 14 MB / 0.9436 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001386/1.37, allocations: 19.92 kB / 0.9436 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/1.37, allocations: 11.92 kB / 0.9436 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003045/1.373, allocations: 0.626 MB / 0.9442 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002938/1.376, allocations: 64 kB / 0.9443 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007428/1.384, allocations: 363.4 kB / 0.9447 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00185/1.386, allocations: 302.2 kB / 0.9449 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04153/1.427, allocations: 13.52 MB / 0.9581 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02516/1.452, allocations: 15.99 MB / 0.9738 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2873/1.74, allocations: 4.196 MB / 0.9779 GB, free: 226.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005248/1.745, allocations: 3.686 MB / 0.9815 GB, free: 226.4 MB / 0.6544 GB Notification: Performance of Backend: time 7.91e-07/1.745, allocations: 0 / 0.9815 GB, free: 226.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01792/1.763, allocations: 8.967 MB / 0.9902 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of SimCode: time 0.02141/1.784, allocations: 15.05 MB / 1.005 GB, free: 217 MB / 0.6544 GB Notification: Performance of Templates: time 0.1388/1.923, allocations: 110.7 MB / 1.113 GB, free: 114.8 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.98545892816037] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 1.9315827139653265 1.939963364 1.487721764 Calling exit ...