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.001936/0.001936, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002056/0.002056, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.031 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) [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.002037/0.002037, allocations: 67.89 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2463, allocations: 53.38 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01634/0.2626, allocations: 13.27 MB / 445.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.2733, allocations: 4.712 MB / 449.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.2757, allocations: 103.5 kB / 450 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008375/0.2841, allocations: 4.127 MB / 454.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.29, allocations: 2.097 MB / 456.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.2925, allocations: 0.8461 MB / 457.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008114/0.3006, allocations: 4.78 MB / 461.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006485/0.3071, allocations: 3.934 MB / 465.8 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.3112, allocations: 1.967 MB / 467.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005154/0.3164, allocations: 2.874 MB / 470.6 MB, free: 0 / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001788/0.3182, allocations: 456 kB / 471.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.322, allocations: 1.346 MB / 472.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003689/0.3257, allocations: 2.368 MB / 474.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005542/0.3312, allocations: 2.781 MB / 477.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.3459, allocations: 8.88 MB / 486.5 MB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3459, allocations: 4 kB / 486.5 MB, free: 120 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3459, allocations: 0 / 486.5 MB, free: 120 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003526/0.3462, allocations: 0 / 486.5 MB, free: 120 kB / 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.03193/0.3782, allocations: 7.181 MB / 493.6 MB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3782, allocations: 8.031 kB / 493.7 MB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002316/0.3805, allocations: 0.8389 MB / 494.5 MB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07865/0.4592, allocations: 7.195 MB / 0.4899 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009278/0.4685, allocations: 3.405 MB / 0.4933 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.4688, allocations: 303.8 kB / 0.4935 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/0.4707, allocations: 403.8 kB / 0.4939 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/0.5031, allocations: 13.26 MB / 0.5069 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000206/0.5033, allocations: 47.64 kB / 0.5069 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.5047, allocations: 191.8 kB / 0.5071 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005067/0.5098, allocations: 2.198 MB / 0.5092 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02949/0.5393, allocations: 12.68 MB / 0.5216 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2878/0.8271, allocations: 48.99 MB / 0.5695 GB, free: 65.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02219/0.8492, allocations: 5.786 MB / 0.5751 GB, free: 64.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004192/0.8534, allocations: 3.688 MB / 0.5787 GB, free: 62.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/0.8543, allocations: 199.8 kB / 0.5789 GB, free: 62.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.8543, allocations: 59.69 kB / 0.579 GB, free: 62.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 6.151e-06/0.8543, allocations: 0 / 0.579 GB, free: 62.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09864/0.953, allocations: 35.96 MB / 0.6141 GB, free: 27.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.953, allocations: 213.9 kB / 0.6143 GB, free: 27.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/0.9584, allocations: 4.445 MB / 0.6186 GB, free: 23.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000706/0.9591, allocations: 61.7 kB / 0.6187 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.9607, allocations: 3.611 MB / 0.6222 GB, free: 19.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.9618, allocations: 0.9929 MB / 0.6232 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002261/0.9641, allocations: 1.564 MB / 0.6247 GB, free: 17.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.9641, allocations: 305.1 kB / 0.625 GB, free: 17.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/0.9691, allocations: 4.276 MB / 0.6292 GB, free: 12.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006738/0.9759, allocations: 8.151 MB / 0.6371 GB, free: 2.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/0.994, allocations: 13.29 MB / 0.6501 GB, free: 3.531 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.9941, allocations: 40 kB / 0.6502 GB, free: 3.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.0316/1.026, allocations: 14.62 MB / 0.6644 GB, free: 4.855 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/1.026, allocations: 64 kB / 0.6645 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002565/1.026, allocations: 132 kB / 0.6646 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008027/1.034, allocations: 2.504 MB / 0.6671 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007449/1.042, allocations: 1.754 MB / 0.6688 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/1.068, allocations: 16.91 MB / 0.6853 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006976/1.075, allocations: 471.4 kB / 0.6858 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/1.077, allocations: 495.7 kB / 0.6862 GB, free: 14.21 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.005689/1.082, allocations: 2.388 MB / 0.6886 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.084, allocations: 417.2 kB / 0.689 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/1.104, allocations: 9.61 MB / 0.6983 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.642e-05/1.104, allocations: 28 kB / 0.6984 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/1.104, allocations: 12 kB / 0.6984 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-05/1.104, allocations: 11.95 kB / 0.6984 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03951/1.144, allocations: 18.12 MB / 0.7161 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-05/1.144, allocations: 4 kB / 0.7161 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003562/1.148, allocations: 0.5772 MB / 0.7167 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007516/1.155, allocations: 2.282 MB / 0.7189 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009683/1.156, allocations: 133.8 kB / 0.719 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02429/1.18, allocations: 15.34 MB / 0.734 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.18, allocations: 0 / 0.734 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.247/1.427, allocations: 15.14 MB / 0.7488 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.428, allocations: 408.3 kB / 0.7492 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.43, allocations: 39.06 kB / 0.7492 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003361/1.433, allocations: 226.9 kB / 0.7494 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009708/1.434, allocations: 244.7 kB / 0.7497 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004503/1.434, allocations: 147.5 kB / 0.7498 GB, free: 190.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004309/1.439, allocations: 2.806 MB / 0.7525 GB, free: 190.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.439, allocations: 3.5 kB / 0.7525 GB, free: 190.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006187/1.445, allocations: 1.405 MB / 0.7539 GB, free: 190.3 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.02201/1.467, allocations: 15.8 MB / 0.7693 GB, free: 184.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01468/1.482, allocations: 10.13 MB / 0.7792 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.482, allocations: 0 / 0.7792 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006649/1.488, allocations: 4.387 MB / 0.7835 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/1.493, allocations: 0.5055 MB / 0.784 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0924/1.585, allocations: 69.96 MB / 0.8523 GB, free: 99.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005527/1.591, allocations: 3.739 MB / 0.856 GB, free: 95.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006222/1.597, allocations: 2.387 MB / 0.8583 GB, free: 93.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004571/1.601, allocations: 2.506 MB / 0.8608 GB, free: 90.82 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/1.601, allocations: 0 / 0.8608 GB, free: 90.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3903/1.992, allocations: 122.1 MB / 0.98 GB, free: 173.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.38/22.37, allocations: 3.281 kB / 0.98 GB, free: 173.9 MB / 0.545 GB " [Timeout remaining time 637] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.949921129271388] 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.517150755040348 22.532476722 22.182864145 Calling exit ...