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.001488/0.001488, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.0014/0.0014, allocations: 211 kB / 24.53 MB, free: 4.07 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.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.001809/0.001809, allocations: 67.89 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2185, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01465/0.2332, allocations: 13.28 MB / 445.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008554/0.2417, allocations: 4.719 MB / 450 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.2431, allocations: 99.5 kB / 450.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007087/0.2502, allocations: 4.131 MB / 454.2 MB, free: 388 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.255, allocations: 2.093 MB / 456.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.2568, allocations: 0.85 MB / 457.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005892/0.2627, allocations: 4.768 MB / 461.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004836/0.2675, allocations: 3.934 MB / 465.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.2701, allocations: 1.963 MB / 467.8 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.2737, allocations: 2.878 MB / 470.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007447/0.2745, allocations: 452 kB / 471.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.2766, allocations: 1.354 MB / 472.5 MB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.2788, allocations: 2.365 MB / 474.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.2817, allocations: 2.766 MB / 477.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.2923, allocations: 8.893 MB / 486.5 MB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2923, allocations: 3.938 kB / 486.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2923, allocations: 0 / 486.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002613/0.2926, allocations: 4 kB / 486.5 MB, free: 15.91 MB / 398.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.02958/0.3221, allocations: 7.185 MB / 493.7 MB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3222, allocations: 8.031 kB / 493.7 MB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001241/0.3223, allocations: 128.1 kB / 493.8 MB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001134/0.3234, allocations: 0.835 MB / 494.7 MB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08405/0.4075, allocations: 7.195 MB / 0.4901 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007807/0.4153, allocations: 3.409 MB / 0.4934 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.4155, allocations: 299.8 kB / 0.4937 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.4166, allocations: 407.7 kB / 0.4941 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/0.4413, allocations: 13.26 MB / 0.5071 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.4414, allocations: 47.58 kB / 0.5071 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006262/0.442, allocations: 191.8 kB / 0.5073 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004446/0.4465, allocations: 2.194 MB / 0.5094 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02945/0.4759, allocations: 12.67 MB / 0.5218 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2684/0.7444, allocations: 48.99 MB / 0.5696 GB, free: 66.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02226/0.7666, allocations: 5.792 MB / 0.5753 GB, free: 65.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/0.7703, allocations: 3.694 MB / 0.5789 GB, free: 63.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/0.771, allocations: 193.6 kB / 0.5791 GB, free: 63.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.771, allocations: 59.12 kB / 0.5791 GB, free: 63.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.469e-06/0.771, allocations: 0 / 0.5791 GB, free: 63.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09056/0.8616, allocations: 35.97 MB / 0.6143 GB, free: 28.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.8616, allocations: 213.9 kB / 0.6145 GB, free: 28.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005146/0.8668, allocations: 4.449 MB / 0.6188 GB, free: 23.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006345/0.8674, allocations: 61.7 kB / 0.6189 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.8688, allocations: 3.61 MB / 0.6224 GB, free: 20.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.8699, allocations: 0.9835 MB / 0.6234 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002351/0.8722, allocations: 1.572 MB / 0.6249 GB, free: 17.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.521e-05/0.8723, allocations: 301.1 kB / 0.6252 GB, free: 17.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/0.8768, allocations: 4.272 MB / 0.6294 GB, free: 13.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00612/0.8829, allocations: 8.159 MB / 0.6373 GB, free: 3.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/0.9, allocations: 13.29 MB / 0.6503 GB, free: 3.844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/0.9001, allocations: 38.94 kB / 0.6503 GB, free: 3.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02995/0.93, allocations: 14.63 MB / 0.6646 GB, free: 5.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.9302, allocations: 64 kB / 0.6647 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000292/0.9305, allocations: 136.9 kB / 0.6648 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007603/0.9381, allocations: 2.5 MB / 0.6673 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006731/0.9448, allocations: 1.754 MB / 0.669 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/0.969, allocations: 16.91 MB / 0.6855 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006197/0.9752, allocations: 471.4 kB / 0.6859 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/0.9766, allocations: 0.4958 MB / 0.6864 GB, free: 14.51 MB / 0.4981 GB 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.004725/0.9813, allocations: 2.372 MB / 0.6887 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/0.9825, allocations: 429.2 kB / 0.6891 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/1, allocations: 9.606 MB / 0.6985 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/1.001, allocations: 28 kB / 0.6985 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/1.001, allocations: 12 kB / 0.6986 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-05/1.001, allocations: 11.95 kB / 0.6986 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.034, allocations: 18.1 MB / 0.7162 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/1.034, allocations: 0 / 0.7162 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/1.037, allocations: 0.5888 MB / 0.7168 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007065/1.045, allocations: 2.278 MB / 0.719 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000756/1.045, allocations: 127.7 kB / 0.7192 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/1.067, allocations: 15.36 MB / 0.7342 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.067, allocations: 4.188 kB / 0.7342 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2004/1.267, allocations: 15.13 MB / 0.7489 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/1.268, allocations: 411.7 kB / 0.7493 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008078/1.269, allocations: 39.16 kB / 0.7494 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.272, allocations: 222.5 kB / 0.7496 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007035/1.273, allocations: 247.4 kB / 0.7498 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003444/1.273, allocations: 147.2 kB / 0.75 GB, free: 191.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003408/1.276, allocations: 2.81 MB / 0.7527 GB, free: 191.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.276, allocations: 0 / 0.7527 GB, free: 191.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005153/1.282, allocations: 1.401 MB / 0.7541 GB, free: 191.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.01746/1.299, allocations: 15.81 MB / 0.7695 GB, free: 186.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.311, allocations: 10.11 MB / 0.7794 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.311, allocations: 4 kB / 0.7794 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/1.316, allocations: 4.401 MB / 0.7837 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.319, allocations: 0.5021 MB / 0.7842 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07626/1.395, allocations: 69.97 MB / 0.8525 GB, free: 100.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002919/1.398, allocations: 3.743 MB / 0.8562 GB, free: 97.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004488/1.402, allocations: 2.375 MB / 0.8585 GB, free: 94.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003296/1.406, allocations: 2.518 MB / 0.8609 GB, free: 92.14 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/1.406, allocations: 0 / 0.8609 GB, free: 92.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3541/1.76, allocations: 122.1 MB / 0.9802 GB, free: 177.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/22.37, allocations: 7.188 kB / 0.9802 GB, free: 177.1 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: 24.80117735802196] 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'] 22.589641558006406 22.598712437 22.304069921 Calling exit ...