Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.001836/0.001836, allocations: 114.5 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.002286/0.002286, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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(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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001986/0.001986, allocations: 63.84 kB / 378.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2153, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01556/0.2309, allocations: 13.29 MB / 445.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008608/0.2395, allocations: 4.7 MB / 450 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.2406, allocations: 83.75 kB / 450.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00746/0.2481, allocations: 4.139 MB / 454.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.2532, allocations: 2.081 MB / 456.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.2551, allocations: 0.8538 MB / 457.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006142/0.2612, allocations: 4.759 MB / 462 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.2656, allocations: 3.682 MB / 465.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.2679, allocations: 1.932 MB / 467.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003549/0.2714, allocations: 2.87 MB / 470.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006461/0.2721, allocations: 455.9 kB / 470.9 MB, free: 372 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.2742, allocations: 1.354 MB / 472.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002105/0.2763, allocations: 2.357 MB / 474.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002501/0.2788, allocations: 2.707 MB / 477.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008882/0.2877, allocations: 8.724 MB / 486 MB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2877, allocations: 0 / 486 MB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2877, allocations: 0 / 486 MB, free: 1.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.775e-05/0.2878, allocations: 3.938 kB / 486 MB, free: 1.16 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.02844/0.3162, allocations: 7.12 MB / 493.2 MB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3163, allocations: 12.03 kB / 493.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01732/0.3336, allocations: 2.595 MB / 495.8 MB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007744/0.3413, allocations: 3.133 MB / 498.9 MB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.3416, allocations: 299.8 kB / 499.2 MB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000844/0.3424, allocations: 411.7 kB / 499.6 MB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/0.3676, allocations: 13.25 MB / 0.5008 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.3677, allocations: 43.64 kB / 0.5009 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005908/0.3683, allocations: 187.9 kB / 0.501 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004573/0.3729, allocations: 2.206 MB / 0.5032 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02682/0.3997, allocations: 12.67 MB / 0.5156 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2354/0.6351, allocations: 49.14 MB / 0.5636 GB, free: 69.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02288/0.658, allocations: 6.244 MB / 0.5697 GB, free: 67.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.6613, allocations: 3.664 MB / 0.5732 GB, free: 66.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007337/0.662, allocations: 432.9 kB / 0.5736 GB, free: 65.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.662, allocations: 59.44 kB / 0.5737 GB, free: 65.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.248e-06/0.662, allocations: 0 / 0.5737 GB, free: 65.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08801/0.75, allocations: 36.3 MB / 0.6091 GB, free: 32.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.7501, allocations: 213.8 kB / 0.6094 GB, free: 32.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.7544, allocations: 4.418 MB / 0.6137 GB, free: 28.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.7547, allocations: 61.7 kB / 0.6137 GB, free: 28.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.756, allocations: 3.59 MB / 0.6172 GB, free: 24.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/0.7566, allocations: 0.9854 MB / 0.6182 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/0.7584, allocations: 1.603 MB / 0.6198 GB, free: 22.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.058e-05/0.7584, allocations: 305.1 kB / 0.62 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/0.7628, allocations: 4.323 MB / 0.6243 GB, free: 17.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005594/0.7684, allocations: 8.215 MB / 0.6323 GB, free: 7.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/0.7824, allocations: 13.36 MB / 0.6453 GB, free: 8.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-05/0.7824, allocations: 40 kB / 0.6454 GB, free: 8.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02637/0.8088, allocations: 14.75 MB / 0.6598 GB, free: 9.418 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.724e-05/0.8089, allocations: 64.97 kB / 0.6598 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/0.809, allocations: 136 kB / 0.66 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007084/0.8161, allocations: 2.451 MB / 0.6624 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00675/0.8229, allocations: 1.79 MB / 0.6641 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/0.8468, allocations: 17.03 MB / 0.6807 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/0.8529, allocations: 475.4 kB / 0.6812 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009917/0.8539, allocations: 0.4955 MB / 0.6817 GB, free: 2.578 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.004109/0.858, allocations: 2.368 MB / 0.684 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009998/0.859, allocations: 417.4 kB / 0.6844 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.8769, allocations: 9.606 MB / 0.6938 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/0.8769, allocations: 15.97 kB / 0.6938 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.8769, allocations: 7.984 kB / 0.6938 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.878, allocations: 489.5 kB / 0.6943 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000762/0.8787, allocations: 39.94 kB / 0.6943 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/0.8818, allocations: 219.7 kB / 0.6945 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006907/0.8825, allocations: 277.4 kB / 0.6948 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01943/0.9019, allocations: 9.829 MB / 0.7044 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01851/0.9204, allocations: 13.03 MB / 0.7171 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004785/0.9252, allocations: 3.366 MB / 0.7204 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00438/0.9296, allocations: 2.779 MB / 0.7231 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of Backend: time 3.1e-07/0.9296, allocations: 0 / 0.7231 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01336/0.943, allocations: 6.962 MB / 0.7299 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01786/0.9608, allocations: 11.47 MB / 0.7411 GB, free: 5.574 MB / 0.545 GB Notification: Performance of Templates: time 0.2933/1.254, allocations: 91.1 MB / 0.8301 GB, free: 127.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.670750178396702] 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.2617279314436018 1.270144338 0.980224838 Calling exit ...