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.001072/0.001072, allocations: 102.2 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 198.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 45.9 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002476, allocations: 8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 63.47 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3358/0.4569, allocations: 59.54 MB / 0.5284 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03092/0.4879, allocations: 13.92 MB / 0.542 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01457/0.5025, allocations: 300.8 kB / 0.5423 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.5132, allocations: 2.995 MB / 0.5452 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03353/0.5468, allocations: 8.529 MB / 0.5535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004831/0.5517, allocations: 0.7973 MB / 0.5543 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0723/0.624, allocations: 48.55 MB / 0.6017 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.636, allocations: 6.468 MB / 0.608 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.639, allocations: 1.335 MB / 0.6093 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00288/0.6419, allocations: 1.756 MB / 0.611 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007321/0.6426, allocations: 180 kB / 0.6112 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.6451, allocations: 0.948 MB / 0.6121 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002563/0.6476, allocations: 2.018 MB / 0.6141 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.6491, allocations: 1.049 MB / 0.6151 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00827/0.6573, allocations: 7.217 MB / 0.6222 GB, free: 7.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6574, allocations: 0 / 0.6222 GB, free: 7.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6574, allocations: 0 / 0.6222 GB, free: 7.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002939/0.6577, allocations: 0 / 0.6222 GB, free: 7.203 MB / 462.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.01373/0.6714, allocations: 5.382 MB / 0.6274 GB, free: 1.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.6715, allocations: 16.02 kB / 0.6275 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002855/0.6744, allocations: 0.8427 MB / 0.6283 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04516/0.7195, allocations: 8.028 MB / 0.6361 GB, free: 8.836 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.7331, allocations: 3.869 MB / 0.6399 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.7335, allocations: 303.8 kB / 0.6402 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.7351, allocations: 407.7 kB / 0.6406 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/0.7669, allocations: 11.45 MB / 0.6518 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.7671, allocations: 59.48 kB / 0.6518 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006171/0.7677, allocations: 187.8 kB / 0.652 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003789/0.7715, allocations: 2.081 MB / 0.654 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/0.7915, allocations: 9.561 MB / 0.6634 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3015/1.093, allocations: 45.11 MB / 0.7074 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/1.104, allocations: 4.031 MB / 0.7114 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/1.12, allocations: 9.08 MB / 0.7202 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/1.12, allocations: 57.09 kB / 0.7203 GB, free: 172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.378e-06/1.12, allocations: 0 / 0.7203 GB, free: 172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.0435/1.164, allocations: 18.22 MB / 0.7381 GB, free: 165 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/1.164, allocations: 201.6 kB / 0.7383 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/1.169, allocations: 4.932 MB / 0.7431 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/1.17, allocations: 57.31 kB / 0.7431 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/1.171, allocations: 3.636 MB / 0.7467 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005131/1.172, allocations: 0.7344 MB / 0.7474 GB, free: 159 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/1.172, allocations: 126.9 kB / 0.7475 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002456/1.172, allocations: 0.5725 MB / 0.7481 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.175, allocations: 2.145 MB / 0.7502 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/1.179, allocations: 5.942 MB / 0.756 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/1.182, allocations: 3.507 MB / 0.7594 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.597e-05/1.182, allocations: 36 kB / 0.7594 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01257/1.195, allocations: 8.682 MB / 0.7679 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/1.195, allocations: 60 kB / 0.768 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.895e-05/1.195, allocations: 136 kB / 0.7681 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/1.198, allocations: 1.082 MB / 0.7692 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/1.202, allocations: 1.419 MB / 0.7706 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007841/1.209, allocations: 8.197 MB / 0.7786 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/1.215, allocations: 340.6 kB / 0.7789 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007385/1.215, allocations: 376 kB / 0.7792 GB, free: 126 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.003987/1.219, allocations: 2.488 MB / 0.7817 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007755/1.22, allocations: 410.7 kB / 0.7821 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005253/1.225, allocations: 3.436 MB / 0.7854 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/1.225, allocations: 20 kB / 0.7854 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.225, allocations: 8 kB / 0.7854 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.225, allocations: 7.969 kB / 0.7855 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.241, allocations: 8.905 MB / 0.7941 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/1.241, allocations: 0 / 0.7941 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.242, allocations: 291.5 kB / 0.7944 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/1.244, allocations: 0.8546 MB / 0.7953 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/1.245, allocations: 31.98 kB / 0.7953 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007568/1.252, allocations: 7.536 MB / 0.8027 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.252, allocations: 0 / 0.8027 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/1.26, allocations: 6.045 MB / 0.8086 GB, free: 95.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.261, allocations: 475.5 kB / 0.809 GB, free: 95.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/1.262, allocations: 32 kB / 0.809 GB, free: 95.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.263, allocations: 103.9 kB / 0.8091 GB, free: 94.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/1.263, allocations: 117.1 kB / 0.8092 GB, free: 94.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.264, allocations: 52.88 kB / 0.8093 GB, free: 94.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003991/1.268, allocations: 3.154 MB / 0.8124 GB, free: 91.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.268, allocations: 0 / 0.8124 GB, free: 91.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005164/1.273, allocations: 1.154 MB / 0.8135 GB, free: 90.5 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.007589/1.28, allocations: 6.866 MB / 0.8202 GB, free: 83.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00758/1.288, allocations: 5.432 MB / 0.8255 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.288, allocations: 0 / 0.8255 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.29, allocations: 1.845 MB / 0.8273 GB, free: 76.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.293, allocations: 0.5266 MB / 0.8278 GB, free: 75.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3553/1.649, allocations: 133.9 MB / 0.9586 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005356/1.654, allocations: 3.959 MB / 0.9624 GB, free: 151.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004653/1.659, allocations: 2.007 MB / 0.9644 GB, free: 151.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/1.661, allocations: 2.35 MB / 0.9667 GB, free: 149.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.041e-06/1.662, allocations: 0 / 0.9667 GB, free: 149.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/1.785, allocations: 90.33 MB / 1.055 GB, free: 65.36 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/1.785, allocations: 204.7 kB / 1.055 GB, free: 65.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/6.345, allocations: 7.938 kB / 1.055 GB, free: 65.11 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