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.001592/0.001592, allocations: 118.7 kB / 18.49 MB, free: 4.559 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.001583/0.001583, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.41/1.41, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.00183/0.00183, allocations: 59.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09782, allocations: 53.38 MB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.187/0.2848, allocations: 13.25 MB / 440.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008367/0.2932, allocations: 4.685 MB / 445 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.2953, allocations: 103.2 kB / 445.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007115/0.3024, allocations: 4.121 MB / 449.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.308, allocations: 2.081 MB / 451.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.3101, allocations: 0.8287 MB / 452.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006994/0.3171, allocations: 4.775 MB / 456.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005379/0.3225, allocations: 4.266 MB / 461.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.3262, allocations: 1.961 MB / 463.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005049/0.3313, allocations: 2.879 MB / 466 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.333, allocations: 453.2 kB / 466.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.3366, allocations: 1.351 MB / 467.8 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003439/0.3401, allocations: 2.362 MB / 470.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005126/0.3452, allocations: 2.777 MB / 472.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.358, allocations: 8.889 MB / 481.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.358, allocations: 0 / 481.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.358, allocations: 0 / 481.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002971/0.3583, allocations: 4 kB / 481.8 MB, free: 9.605 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.03172/0.3901, allocations: 7.249 MB / 489.1 MB, free: 2.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3901, allocations: 12.03 kB / 489.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001642/0.3903, allocations: 124.1 kB / 489.2 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001774/0.392, allocations: 0.8428 MB / 490.1 MB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0902/0.4822, allocations: 7.195 MB / 497.3 MB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008557/0.4908, allocations: 3.485 MB / 0.489 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.4911, allocations: 307.8 kB / 0.4893 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.4925, allocations: 407.8 kB / 0.4897 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/0.5199, allocations: 13.25 MB / 0.5026 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.5201, allocations: 51.62 kB / 0.5027 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006923/0.5207, allocations: 183.9 kB / 0.5029 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004656/0.5254, allocations: 2.206 MB / 0.505 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/0.5538, allocations: 12.67 MB / 0.5174 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07369/0.6275, allocations: 49.15 MB / 0.5654 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02631/0.6538, allocations: 6.254 MB / 0.5715 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005678/0.6595, allocations: 3.666 MB / 0.5751 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.6605, allocations: 424.5 kB / 0.5755 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.271e-05/0.6606, allocations: 55.86 kB / 0.5755 GB, free: 11.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=214): time 5.1e-06/0.6606, allocations: 0 / 0.5755 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=252): time 0.1136/0.7742, allocations: 36.32 MB / 0.611 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.7743, allocations: 209.9 kB / 0.6112 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007858/0.7822, allocations: 4.445 MB / 0.6155 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009029/0.7831, allocations: 61.7 kB / 0.6156 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.1837/0.9668, allocations: 3.599 MB / 0.6191 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/0.9682, allocations: 0.9931 MB / 0.6201 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00352/0.9717, allocations: 1.567 MB / 0.6216 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.9717, allocations: 306.6 kB / 0.6219 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007011/0.9787, allocations: 4.274 MB / 0.6261 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009184/0.9879, allocations: 8.163 MB / 0.634 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/1.004, allocations: 13.29 MB / 0.647 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001971/1.004, allocations: 39.53 kB / 0.6471 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02599/1.03, allocations: 14.62 MB / 0.6613 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/1.03, allocations: 64 kB / 0.6614 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/1.031, allocations: 133.3 kB / 0.6615 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00642/1.037, allocations: 2.498 MB / 0.664 GB, free: 140 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.043, allocations: 1.748 MB / 0.6657 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.06, allocations: 17.22 MB / 0.6825 GB, free: 122.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/1.067, allocations: 473.5 kB / 0.6829 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.068, allocations: 499.7 kB / 0.6834 GB, free: 121.9 MB / 0.5137 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.003858/1.072, allocations: 2.377 MB / 0.6857 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.073, allocations: 418.2 kB / 0.6861 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.087, allocations: 9.611 MB / 0.6955 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.222e-05/1.087, allocations: 28 kB / 0.6955 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/1.088, allocations: 9.969 kB / 0.6956 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/1.088, allocations: 14.45 kB / 0.6956 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.112, allocations: 18.16 MB / 0.7133 GB, free: 91.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.112, allocations: 7.984 kB / 0.7133 GB, free: 91.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/1.115, allocations: 0.581 MB / 0.7139 GB, free: 90.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005982/1.121, allocations: 2.269 MB / 0.7161 GB, free: 88.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004598/1.122, allocations: 131.7 kB / 0.7162 GB, free: 88.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/1.137, allocations: 15.66 MB / 0.7315 GB, free: 72.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.137, allocations: 9.359 kB / 0.7315 GB, free: 72.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/1.156, allocations: 15.12 MB / 0.7463 GB, free: 57.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/1.157, allocations: 489 kB / 0.7468 GB, free: 56.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000763/1.157, allocations: 40 kB / 0.7468 GB, free: 56.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/1.16, allocations: 219.7 kB / 0.747 GB, free: 56.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008237/1.161, allocations: 242 kB / 0.7472 GB, free: 56.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003596/1.161, allocations: 155.7 kB / 0.7474 GB, free: 55.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003785/1.165, allocations: 2.804 MB / 0.7501 GB, free: 53.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/1.165, allocations: 3.938 kB / 0.7501 GB, free: 53.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006471/1.172, allocations: 1.401 MB / 0.7515 GB, free: 51.75 MB / 0.5137 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.01962/1.191, allocations: 15.8 MB / 0.7669 GB, free: 35.87 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.205, allocations: 10.12 MB / 0.7768 GB, free: 25.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.205, allocations: 8 kB / 0.7768 GB, free: 25.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/1.211, allocations: 4.385 MB / 0.7811 GB, free: 21.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.215, allocations: 0.5028 MB / 0.7816 GB, free: 20.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2976/1.513, allocations: 69.86 MB / 0.8498 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004511/1.518, allocations: 3.742 MB / 0.8535 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005358/1.523, allocations: 2.39 MB / 0.8558 GB, free: 166 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004086/1.527, allocations: 2.51 MB / 0.8582 GB, free: 164.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/1.527, allocations: 0 / 0.8582 GB, free: 164.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/1.692, allocations: 116.2 MB / 0.9717 GB, free: 60.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.01/21.7, allocations: 15.14 kB / 0.9718 GB, free: 60.06 MB / 0.545 GB " [Timeout remaining time 638] (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.14270388201112] 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'] 21.896672728005797 21.905057308 21.544744848 Calling exit ...