Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009586/0.0009585, allocations: 95.69 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 196.7 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 63.48 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3479/0.4926, allocations: 63.08 MB / 0.532 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03271/0.5254, allocations: 13.31 MB / 0.545 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01821/0.5437, allocations: 306.8 kB / 0.5453 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.5558, allocations: 3.287 MB / 0.5485 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03203/0.5878, allocations: 9.648 MB / 0.5579 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.5935, allocations: 0.8004 MB / 0.5587 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07692/0.6705, allocations: 62.05 MB / 0.6193 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008745/0.6793, allocations: 6.513 MB / 0.6256 GB, free: 4.539 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.682, allocations: 1.662 MB / 0.6272 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.6852, allocations: 2.535 MB / 0.6297 GB, free: 336 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006928/0.6859, allocations: 184 kB / 0.6299 GB, free: 152 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.688, allocations: 0.9674 MB / 0.6308 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.69, allocations: 2.174 MB / 0.633 GB, free: 13 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.691, allocations: 1.053 MB / 0.634 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007087/0.6981, allocations: 7.225 MB / 0.641 GB, free: 4.695 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6981, allocations: 0 / 0.641 GB, free: 4.695 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6981, allocations: 0 / 0.641 GB, free: 4.695 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002937/0.6984, allocations: 0 / 0.641 GB, free: 4.695 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.012/0.7104, allocations: 5.276 MB / 0.6462 GB, free: 15.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.7105, allocations: 12.03 kB / 0.6462 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002935/0.7135, allocations: 0.8465 MB / 0.647 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03278/0.7462, allocations: 6.167 MB / 0.6531 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008861/0.7552, allocations: 4.071 MB / 0.657 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.7555, allocations: 303.8 kB / 0.6573 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.7568, allocations: 395.8 kB / 0.6577 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.7784, allocations: 11.33 MB / 0.6688 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/0.7787, allocations: 59.44 kB / 0.6688 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007403/0.7794, allocations: 187.8 kB / 0.669 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003399/0.7828, allocations: 2.085 MB / 0.671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/0.8034, allocations: 9.421 MB / 0.6802 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3388/1.142, allocations: 44.95 MB / 0.7241 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.153, allocations: 4.021 MB / 0.7281 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/1.156, allocations: 2.214 MB / 0.7302 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0141/1.17, allocations: 8.98 MB / 0.739 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.17, allocations: 53.94 kB / 0.739 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 5.04e-06/1.17, allocations: 0 / 0.739 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.04369/1.214, allocations: 17.93 MB / 0.7566 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/1.214, allocations: 198.5 kB / 0.7568 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005932/1.22, allocations: 4.701 MB / 0.7613 GB, free: 141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004687/1.22, allocations: 53.7 kB / 0.7614 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.222, allocations: 3.635 MB / 0.7649 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008505/1.223, allocations: 0.7359 MB / 0.7657 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/1.223, allocations: 127.6 kB / 0.7658 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002683/1.224, allocations: 0.5665 MB / 0.7663 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/1.226, allocations: 2.14 MB / 0.7684 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/1.23, allocations: 5.976 MB / 0.7743 GB, free: 126 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/1.234, allocations: 3.502 MB / 0.7777 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-05/1.234, allocations: 40 kB / 0.7777 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01295/1.247, allocations: 8.657 MB / 0.7862 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/1.247, allocations: 67.95 kB / 0.7862 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/1.247, allocations: 136 kB / 0.7864 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/1.25, allocations: 1.077 MB / 0.7874 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/1.254, allocations: 1.423 MB / 0.7888 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/1.262, allocations: 8.011 MB / 0.7966 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/1.267, allocations: 337.1 kB / 0.797 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007282/1.268, allocations: 380 kB / 0.7973 GB, free: 102.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 745 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00394/1.272, allocations: 2.477 MB / 0.7997 GB, free: 99.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007992/1.272, allocations: 414.6 kB / 0.8001 GB, free: 99.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/1.278, allocations: 3.435 MB / 0.8035 GB, free: 95.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/1.278, allocations: 23.95 kB / 0.8035 GB, free: 95.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.278, allocations: 8 kB / 0.8035 GB, free: 95.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.278, allocations: 11.91 kB / 0.8035 GB, free: 95.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.292, allocations: 8.885 MB / 0.8122 GB, free: 86.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.292, allocations: 0 / 0.8122 GB, free: 86.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.293, allocations: 292.5 kB / 0.8125 GB, free: 86.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/1.296, allocations: 0.8506 MB / 0.8133 GB, free: 85.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/1.296, allocations: 28 kB / 0.8133 GB, free: 85.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007722/1.304, allocations: 7.347 MB / 0.8205 GB, free: 78.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.304, allocations: 0 / 0.8205 GB, free: 78.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/1.312, allocations: 5.96 MB / 0.8263 GB, free: 72.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.313, allocations: 455.6 kB / 0.8268 GB, free: 71.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/1.314, allocations: 32.78 kB / 0.8268 GB, free: 71.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.315, allocations: 103.9 kB / 0.8269 GB, free: 71.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/1.315, allocations: 124.8 kB / 0.827 GB, free: 71.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.315, allocations: 44 kB / 0.8271 GB, free: 71.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003704/1.319, allocations: 2.962 MB / 0.83 GB, free: 68.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/1.319, allocations: 0 / 0.83 GB, free: 68.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005381/1.324, allocations: 1.132 MB / 0.8311 GB, free: 67.29 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (141): * Single equations (assignments): 136 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007714/1.332, allocations: 6.618 MB / 0.8375 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008456/1.341, allocations: 5.419 MB / 0.8428 GB, free: 55.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.341, allocations: 0 / 0.8428 GB, free: 55.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/1.343, allocations: 1.854 MB / 0.8446 GB, free: 53.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/1.347, allocations: 0.5475 MB / 0.8452 GB, free: 52.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06211/1.409, allocations: 40.95 MB / 0.8851 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003508/1.413, allocations: 3.861 MB / 0.8889 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004347/1.417, allocations: 1.996 MB / 0.8909 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/1.42, allocations: 2.351 MB / 0.8932 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 3.647e-06/1.42, allocations: 0 / 0.8932 GB, free: 15.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/1.824, allocations: 89.55 MB / 0.9806 GB, free: 133.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.825, allocations: 209.3 kB / 0.9808 GB, free: 133.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.602/6.427, allocations: 0 / 0.9808 GB, free: 133.3 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat