Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001558/0.001558, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001701/0.001701, allocations: 206.9 kB / 24.51 MB, free: 3.945 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.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 59.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2232, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01478/0.238, allocations: 11.47 MB / 443.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.2476, allocations: 4.451 MB / 447.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.2497, allocations: 99.5 kB / 447.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008398/0.2581, allocations: 3.952 MB / 451.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005807/0.2639, allocations: 2.104 MB / 454 MB, free: 328 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2666, allocations: 0.8345 MB / 454.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007765/0.2743, allocations: 4.787 MB / 459.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006156/0.2805, allocations: 3.922 MB / 463.5 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.2839, allocations: 1.963 MB / 465.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.2884, allocations: 2.882 MB / 468.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.2897, allocations: 452 kB / 468.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.2925, allocations: 1.229 MB / 470 MB, free: 168 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003002/0.2955, allocations: 2.361 MB / 472.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003782/0.2993, allocations: 2.105 MB / 474.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.3107, allocations: 8.923 MB / 483.4 MB, free: 2.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3107, allocations: 0 / 483.4 MB, free: 2.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3107, allocations: 0 / 483.4 MB, free: 2.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002528/0.3109, allocations: 3.938 kB / 483.4 MB, free: 2.719 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.03228/0.3432, allocations: 7.173 MB / 490.6 MB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3433, allocations: 12.03 kB / 490.6 MB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001661/0.3434, allocations: 128.1 kB / 490.7 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002234/0.3457, allocations: 0.8428 MB / 491.6 MB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07964/0.4253, allocations: 7.191 MB / 498.8 MB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008815/0.4341, allocations: 3.432 MB / 0.4904 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/0.4345, allocations: 303.8 kB / 0.4907 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/0.4362, allocations: 399.8 kB / 0.4911 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03018/0.4664, allocations: 13.34 MB / 0.5041 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/0.4666, allocations: 51.58 kB / 0.5042 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001354/0.468, allocations: 187.8 kB / 0.5044 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004818/0.4728, allocations: 2.194 MB / 0.5065 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02911/0.5019, allocations: 12.67 MB / 0.5189 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2553/0.7572, allocations: 46.9 MB / 0.5647 GB, free: 68.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02232/0.7795, allocations: 5.792 MB / 0.5703 GB, free: 67.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/0.7834, allocations: 3.685 MB / 0.5739 GB, free: 65.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007763/0.7842, allocations: 182.3 kB / 0.5741 GB, free: 65.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.7842, allocations: 63.47 kB / 0.5742 GB, free: 65.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 6.703e-06/0.7842, allocations: 0 / 0.5742 GB, free: 65.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09342/0.8776, allocations: 36.02 MB / 0.6093 GB, free: 31.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.8777, allocations: 213.9 kB / 0.6096 GB, free: 31.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005542/0.8833, allocations: 4.451 MB / 0.6139 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006691/0.8839, allocations: 61.7 kB / 0.614 GB, free: 27.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.8855, allocations: 3.607 MB / 0.6175 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.8867, allocations: 0.9867 MB / 0.6184 GB, free: 23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002891/0.8896, allocations: 1.564 MB / 0.62 GB, free: 21.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.8897, allocations: 309.1 kB / 0.6203 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004679/0.8943, allocations: 4.276 MB / 0.6244 GB, free: 16.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/0.9004, allocations: 8.205 MB / 0.6325 GB, free: 6.715 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/0.9154, allocations: 13.29 MB / 0.6454 GB, free: 7.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/0.9155, allocations: 40 kB / 0.6455 GB, free: 7.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02972/0.9452, allocations: 14.62 MB / 0.6597 GB, free: 8.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.9454, allocations: 64 kB / 0.6598 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002402/0.9457, allocations: 136 kB / 0.6599 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007672/0.9533, allocations: 2.503 MB / 0.6624 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006937/0.9603, allocations: 1.758 MB / 0.6641 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02578/0.9861, allocations: 16.75 MB / 0.6804 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007011/0.9931, allocations: 467.4 kB / 0.6809 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/0.9949, allocations: 499.5 kB / 0.6814 GB, free: 2.355 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 (807): * Single equations (assignments): 801 * 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 {(3,15,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.005121/1, allocations: 2.39 MB / 0.6837 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.001, allocations: 421.2 kB / 0.6841 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/1.019, allocations: 9.61 MB / 0.6935 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/1.019, allocations: 32 kB / 0.6935 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/1.019, allocations: 8 kB / 0.6935 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/1.019, allocations: 15.95 kB / 0.6935 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03399/1.053, allocations: 17.38 MB / 0.7105 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.053, allocations: 0 / 0.7105 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00333/1.057, allocations: 0.5849 MB / 0.7111 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006937/1.064, allocations: 2.282 MB / 0.7133 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006982/1.064, allocations: 131.8 kB / 0.7134 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/1.086, allocations: 15.22 MB / 0.7283 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.086, allocations: 3.938 kB / 0.7283 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/1.112, allocations: 15.13 MB / 0.7431 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.113, allocations: 409 kB / 0.7435 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.114, allocations: 47.98 kB / 0.7435 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/1.118, allocations: 215.7 kB / 0.7437 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009477/1.119, allocations: 253.3 kB / 0.744 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004935/1.119, allocations: 147.8 kB / 0.7441 GB, free: 1.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.1923/1.311, allocations: 2.802 MB / 0.7468 GB, free: 193.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.311, allocations: 0 / 0.7468 GB, free: 193.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006616/1.318, allocations: 1.401 MB / 0.7482 GB, free: 193.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (195): * Single equations (assignments): 189 * 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 {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02017/1.338, allocations: 15.81 MB / 0.7637 GB, free: 189.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.35, allocations: 10.11 MB / 0.7735 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.35, allocations: 7.969 kB / 0.7735 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004941/1.355, allocations: 4.39 MB / 0.7778 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/1.358, allocations: 0.5058 MB / 0.7783 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07957/1.438, allocations: 69.94 MB / 0.8466 GB, free: 103.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004564/1.442, allocations: 3.215 MB / 0.8498 GB, free: 100.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005533/1.448, allocations: 2.387 MB / 0.8521 GB, free: 98.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004351/1.452, allocations: 2.506 MB / 0.8545 GB, free: 95.69 MB / 0.545 GB Notification: Performance of SimCode: time 2.294e-06/1.452, allocations: 0 / 0.8545 GB, free: 95.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3701/1.822, allocations: 121 MB / 0.9727 GB, free: 175.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.11/22.93, allocations: 8.969 kB / 0.9728 GB, free: 175.3 MB / 0.545 GB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.38885888189543] 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'] 23.153479225933552 23.162461708 22.849383425 Calling exit ...