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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001031, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001972/0.0001972, allocations: 8 kB / 306.7 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08396/0.08417, allocations: 51.49 MB / 358.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.1962/0.2804, allocations: 56.3 MB / 414.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02997/0.3104, allocations: 13.31 MB / 427.8 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/0.3223, allocations: 279.3 kB / 428.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008322/0.3306, allocations: 2.819 MB / 430.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02599/0.3566, allocations: 8.053 MB / 439 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3609, allocations: 0.7183 MB / 439.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03368/0.3946, allocations: 25.29 MB / 465 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01263/0.4073, allocations: 6.306 MB / 471.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.41, allocations: 1.176 MB / 472.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.4133, allocations: 1.674 MB / 474.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009663/0.4143, allocations: 175.9 kB / 474.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.4168, allocations: 0.9286 MB / 475.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002707/0.4195, allocations: 1.827 MB / 477 MB, free: 4.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.4212, allocations: 0.9829 MB / 478 MB, free: 3.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008005/0.4292, allocations: 6.907 MB / 484.9 MB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4293, allocations: 4 kB / 484.9 MB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4293, allocations: 0 / 484.9 MB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002442/0.4296, allocations: 0 / 484.9 MB, free: 12.59 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.02513/0.4547, allocations: 6.17 MB / 491.1 MB, free: 6.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4548, allocations: 8.031 kB / 491.1 MB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002302/0.4571, allocations: 0.8465 MB / 492 MB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08078/0.5379, allocations: 8.412 MB / 0.4886 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007965/0.5459, allocations: 3.262 MB / 0.4918 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.5462, allocations: 303.8 kB / 0.4921 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.5477, allocations: 399.8 kB / 0.4925 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0272/0.5749, allocations: 13.32 MB / 0.5055 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.5751, allocations: 51.5 kB / 0.5056 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006239/0.5758, allocations: 183.9 kB / 0.5057 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004231/0.58, allocations: 2.194 MB / 0.5079 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02898/0.609, allocations: 12.77 MB / 0.5204 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.223/0.8321, allocations: 49.14 MB / 0.5683 GB, free: 114.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02224/0.8543, allocations: 6.576 MB / 0.5748 GB, free: 112.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009037/0.8553, allocations: 422.5 kB / 0.5752 GB, free: 112.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.8553, allocations: 59.19 kB / 0.5752 GB, free: 112.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 6.613e-06/0.8554, allocations: 3.984 kB / 0.5752 GB, free: 112.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09198/0.9473, allocations: 37.06 MB / 0.6114 GB, free: 81.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.9475, allocations: 201.9 kB / 0.6116 GB, free: 80.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/0.9533, allocations: 4.537 MB / 0.616 GB, free: 76.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/0.9544, allocations: 62.95 kB / 0.6161 GB, free: 76.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.9561, allocations: 3.47 MB / 0.6195 GB, free: 72.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/0.9576, allocations: 0.9494 MB / 0.6204 GB, free: 71.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004211/0.958, allocations: 131.5 kB / 0.6205 GB, free: 71.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002775/0.9583, allocations: 0.599 MB / 0.6211 GB, free: 71.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004623/0.963, allocations: 4.249 MB / 0.6253 GB, free: 66.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006535/0.9695, allocations: 8.112 MB / 0.6332 GB, free: 56.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00713/0.9767, allocations: 5.741 MB / 0.6388 GB, free: 51.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.923e-05/0.9768, allocations: 44 kB / 0.6388 GB, free: 50.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02322/1, allocations: 14.58 MB / 0.6531 GB, free: 36.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/1, allocations: 64 kB / 0.6531 GB, free: 36.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/1, allocations: 136 kB / 0.6533 GB, free: 36.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006121/1.006, allocations: 2.508 MB / 0.6557 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006429/1.013, allocations: 1.763 MB / 0.6574 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/1.031, allocations: 16.47 MB / 0.6735 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007022/1.038, allocations: 479.1 kB / 0.674 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/1.04, allocations: 0.4892 MB / 0.6745 GB, free: 14.08 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005531/1.046, allocations: 2.377 MB / 0.6768 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.047, allocations: 402.8 kB / 0.6772 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.061, allocations: 9.661 MB / 0.6866 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.061, allocations: 31.94 kB / 0.6866 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/1.061, allocations: 12 kB / 0.6866 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.763e-05/1.061, allocations: 11.95 kB / 0.6867 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2279/1.289, allocations: 18.1 MB / 0.7043 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/1.289, allocations: 3.078 kB / 0.7043 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.293, allocations: 0.5964 MB / 0.7049 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007094/1.3, allocations: 2.268 MB / 0.7071 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000939/1.301, allocations: 129.1 kB / 0.7073 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/1.32, allocations: 15 MB / 0.7219 GB, free: 138.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.32, allocations: 2.656 kB / 0.7219 GB, free: 138.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/1.34, allocations: 15.38 MB / 0.7369 GB, free: 133.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.341, allocations: 472.8 kB / 0.7374 GB, free: 133.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008873/1.342, allocations: 51.83 kB / 0.7374 GB, free: 133.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002902/1.345, allocations: 231.5 kB / 0.7377 GB, free: 133.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/1.346, allocations: 245 kB / 0.7379 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003349/1.346, allocations: 145.4 kB / 0.738 GB, free: 133.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003559/1.35, allocations: 2.878 MB / 0.7408 GB, free: 132.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.35, allocations: 1.719 kB / 0.7408 GB, free: 132.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006465/1.356, allocations: 1.43 MB / 0.7422 GB, free: 132 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (199): * Single equations (assignments): 193 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01781/1.374, allocations: 16.44 MB / 0.7583 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01262/1.387, allocations: 10.39 MB / 0.7684 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.387, allocations: 0 / 0.7684 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005369/1.392, allocations: 4.614 MB / 0.7729 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.395, allocations: 457.7 kB / 0.7734 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2977/1.692, allocations: 146.3 MB / 0.9163 GB, free: 115.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003781/1.696, allocations: 3.849 MB / 0.92 GB, free: 114.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006348/1.702, allocations: 2.385 MB / 0.9224 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004147/1.707, allocations: 2.528 MB / 0.9248 GB, free: 110.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/1.707, allocations: 0 / 0.9248 GB, free: 110.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3574/2.064, allocations: 122.6 MB / 1.045 GB, free: 135 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/2.064, allocations: 228.6 kB / 1.045 GB, free: 134.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.782/6.846, allocations: 0 / 1.045 GB, free: 134.8 MB / 478.1 MB (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/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat