Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2106, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01462/0.2252, allocations: 11.53 MB / 443.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008185/0.2334, allocations: 4.463 MB / 448.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.2342, allocations: 99.5 kB / 448.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007329/0.2416, allocations: 3.96 MB / 452.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.2455, allocations: 2.093 MB / 454.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.2471, allocations: 0.8461 MB / 455.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005349/0.2525, allocations: 4.775 MB / 460.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.2568, allocations: 3.929 MB / 464 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.259, allocations: 1.959 MB / 466 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.2625, allocations: 2.882 MB / 468.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007084/0.2632, allocations: 452 kB / 469.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.2653, allocations: 1.229 MB / 470.6 MB, free: 352 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.2675, allocations: 2.361 MB / 472.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.2695, allocations: 2.031 MB / 474.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008755/0.2783, allocations: 8.756 MB / 483.7 MB, free: 3.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2783, allocations: 4 kB / 483.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2783, allocations: 0 / 483.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.593e-05/0.2784, allocations: 3.938 kB / 483.7 MB, free: 3.137 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: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.02892/0.3073, allocations: 7.045 MB / 490.8 MB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3073, allocations: 8.031 kB / 490.8 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.3238, allocations: 2.603 MB / 493.4 MB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007487/0.3313, allocations: 3.057 MB / 496.4 MB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.3315, allocations: 299.8 kB / 496.7 MB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008731/0.3324, allocations: 419.7 kB / 497.1 MB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02502/0.3574, allocations: 13.32 MB / 0.4985 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.3575, allocations: 47.62 kB / 0.4985 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005908/0.3581, allocations: 195.8 kB / 0.4987 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004529/0.3627, allocations: 2.202 MB / 0.5009 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/0.3887, allocations: 12.63 MB / 0.5132 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2369/0.6256, allocations: 45.89 MB / 0.558 GB, free: 72.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02514/0.6507, allocations: 5.783 MB / 0.5637 GB, free: 70.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003591/0.6543, allocations: 3.689 MB / 0.5673 GB, free: 69.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007837/0.6551, allocations: 182.2 kB / 0.5674 GB, free: 69.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.6551, allocations: 63.17 kB / 0.5675 GB, free: 69.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 5.84e-06/0.6551, allocations: 3.281 kB / 0.5675 GB, free: 69.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09383/0.7489, allocations: 35.96 MB / 0.6026 GB, free: 37.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.749, allocations: 205.9 kB / 0.6028 GB, free: 37.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.7532, allocations: 4.188 MB / 0.6069 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.7535, allocations: 61.7 kB / 0.607 GB, free: 32.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.7548, allocations: 3.607 MB / 0.6105 GB, free: 29.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007287/0.7555, allocations: 0.991 MB / 0.6114 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.7575, allocations: 1.6 MB / 0.613 GB, free: 26.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.137e-05/0.7575, allocations: 301.1 kB / 0.6133 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/0.7622, allocations: 4.335 MB / 0.6175 GB, free: 21.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005828/0.768, allocations: 8.258 MB / 0.6256 GB, free: 11.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/0.7807, allocations: 13.37 MB / 0.6386 GB, free: 12.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.7808, allocations: 40 kB / 0.6387 GB, free: 12.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02606/0.8068, allocations: 14.71 MB / 0.653 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.362e-05/0.8069, allocations: 63.94 kB / 0.6531 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/0.8071, allocations: 139 kB / 0.6532 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007154/0.8142, allocations: 2.442 MB / 0.6556 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006678/0.8209, allocations: 1.789 MB / 0.6574 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/0.8443, allocations: 16.49 MB / 0.6735 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/0.8501, allocations: 470.5 kB / 0.6739 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/0.8511, allocations: 0.4957 MB / 0.6744 GB, free: 7.605 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.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],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.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 (826): * Single equations (assignments): 820 * 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%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004178/0.8553, allocations: 2.394 MB / 0.6767 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.8563, allocations: 377.5 kB / 0.6771 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01805/0.8744, allocations: 9.571 MB / 0.6865 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.8744, allocations: 15.89 kB / 0.6865 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.8744, allocations: 0 / 0.6865 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/0.8753, allocations: 357.3 kB / 0.6868 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007436/0.876, allocations: 44 kB / 0.6868 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/0.8791, allocations: 219.7 kB / 0.6871 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007635/0.8799, allocations: 281.4 kB / 0.6873 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01986/0.8997, allocations: 9.799 MB / 0.6969 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01853/0.9183, allocations: 12.99 MB / 0.7096 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004715/0.923, allocations: 3.375 MB / 0.7129 GB, free: 148 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004253/0.9272, allocations: 2.456 MB / 0.7153 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of Backend: time 3.61e-07/0.9272, allocations: 0 / 0.7153 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01392/0.9412, allocations: 6.96 MB / 0.7221 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01779/0.9589, allocations: 11.34 MB / 0.7331 GB, free: 11.37 MB / 0.545 GB Notification: Performance of Templates: time 0.2918/1.251, allocations: 95.9 MB / 0.8268 GB, free: 131.3 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.648375185999612] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia2.phi', 'inertia2.w', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 1.2581412900035502 1.266834318 0.986357266 Calling exit ...